Windows Update

Windows error 0x800F0818 - 0x20003 during upgrade to Windows 11

Error 0x800F0818 - 0x20003 can fail a Windows 10 to 11 feature update. Microsoft traces it to a legacy SetupConfig.ini file; delete it and one registry value.

By EpiFive Editorial TeamSources checked How we check our guides

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\Setup

4. 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.

Official sources

Questions people ask

What causes error 0x800F0818 - 0x20003?

Microsoft links it to a legacy SetupConfig.ini file with hard-coded paths to outdated language packs and scripts that are not compatible with Windows 11. The outdated references cause identity mismatches and the upgrade rolls back.

Which file do I delete?

Microsoft names C:\Users\Default\AppData\Local\Microsoft\Windows\WSUS\SetupConfig.ini as the typical path of the legacy file, and the UnattendFile entry under HKEY_LOCAL_MACHINE\SYSTEM\Setup.

Which log files show this error?

Microsoft lists setupact_rollback.log in the Rollback folder and setupact.log in the Panther folder under C:\$Windows.~BT\Sources. SetupDiag returns the same error code.

  • 0x800f081f (Windows Update)

    Error 0x800f081f means Windows could not find the source files it needed during an update, a DISM repair or a .NET Framework 3.5 install. The documented fixes.

  • 0xC1900101 (Windows Update)

    Error 0xC1900101 is a rollback code that usually means a driver stopped a Windows upgrade. Read the extended code, update or remove drivers, then try again.

  • 0x000000C1 (Windows Update)

    Error 0x000000C1 or 0x80092003 CRYPT_E_FILE_ERROR rolls back a Windows 10 to Windows 11 23H2 upgrade with the UEFI CA 2023 bootloader. Microsoft's fixes.

  • 0x80070002 (Windows Update)

    Windows Update error 0x80070002 means a file the update needs could not be found. Restart, run the troubleshooter, free space, then repair the update files.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.