What the error means
Error 0x800F0818 - 0x20003 is documented by Microsoft as an error that occurs on some computers when they are upgraded from Windows 10 to Windows 11. It affects devices serviced with System Center Configuration Manager (SCCM), Windows Server Update Services (WSUS) or Windows Update for Business. A feature update from Windows 10 22H2 to Windows 11 23H2 or 24H2 fails in the Safe_OS phase and generates the error. After the failure, the update rolls back. A diagnostic tool such as SetupDiag returns the same error code.
The setup logs contain matching entries. The file setupact_rollback.log in C:$Windows.~BT\Sources\Rollback records a SetupResult of 0x800f0818 and an Extended value of 0x20003. The file setupact.log in C:$Windows.~BT\Sources\Panther contains multiple entries, including a CBS message that a language feature package does not match the current OS, reported as HRESULT 0x800f0818 - CBS_E_IDENTITY_MISMATCH.
Common causes
Microsoft says the issue affects devices with one of these histories:
- The device previously received a Windows 10 feature update that used a custom SetupConfig.ini file.
- Earlier updates or upgrades used language packs or post-upgrade scripts that were manually configured or deployed.
The upgrade fails because of a legacy SetupConfig.ini file that contains hard-coded paths to outdated language packs and scripts, which are not compatible with Windows 11. The path to the legacy file typically is C:\Users\Default\AppData\Local\Microsoft\Windows\WSUS\SetupConfig.ini. Its contents resemble entries such as InstallLangPacks, PostOOBE, PostRollback and DynamicUpdate=Disable. These outdated references cause identity mismatches during the upgrade, so the upgrade fails and rolls back.
How to fix it
1. Confirm the error in the logs
Open the rollback log and look for the 0x800f0818 and 0x20003 values, or run SetupDiag. If the log shows a different error, this article does not apply. As a general step, note the log excerpt before changing anything.
2. Delete the legacy SetupConfig.ini file
On the affected computer, open File Explorer and go to the folder below. If you cannot see the AppData folder, select View, then Show, then Hidden items. Delete the SetupConfig.ini file.
C:\Users\Default\AppData\Local\Microsoft\Windows\WSUS\3. Delete the UnattendFile registry entry
Microsoft warns that modifying the registry incorrectly can cause serious problems, so back up the registry first. Open Registry Editor, go to the subkey below and delete the UnattendFile registry entry.
HKEY_LOCAL_MACHINE\SYSTEM\Setup4. Run the feature update again
This is a general step. After both changes, retry the feature update through your usual servicing system and check the logs if it fails again.
If nothing works
If the same error returns, confirm the logs match Microsoft's description. Microsoft also points to SetupDiag, its guide to resolving Windows upgrade errors and its page on Windows upgrade log files for further analysis.
What we checked
One official Microsoft Learn page was read on 2026-11-25: the article on error 0x800F0818 - 0x20003 during the upgrade from Windows 10 to Windows 11. It gives the symptoms, the log excerpts, the cause and the two-part resolution. The error was not reproduced for this page.
Last checked: 2026-11-25.