How to fix Windows update error 0x800f0801?
Prefer to fix it yourself? The manual steps follow.
- 7methods
- 5 minutes to 2 hours
- Intermediate
Applies to Windows 11 and Windows 10: DISM commands, monthly and .NET updates, feature updates and version upgrades
7 methods in this guide
Windows failed to install the latest update with error code 0x800f0801. After this, the message says that important updates are missing. How can I fix this? I tried installing it again but to no avail.
Error 0x800f0801 means the Windows servicing stack could not start a session, so DISM or Windows Update stopped before doing anything. It is usually the second error: something else failed first. Restart the PC, run DISM again from an administrator window, and read CBS.log if it comes back.
0x800f0801 is CBS_E_NOT_INITIALIZED: the servicing session that installs updates did not start. Restart the PC with Restart, not Shut down, then run DISM or the update again from an administrator window (Fix 1). If it fails again, open C:\Windows\Logs\CBS\CBS.log and look for the other error next to 0x800f0801, because that one names the real cause (Fix 2).
| Error | Error: 0x800f0801 at the end of a DISM command, or an update in Update history that failed with 0x800f0801. |
|---|---|
| Where it appears | Command Prompt or Terminal after DISM /Online /Cleanup-Image, Settings > Windows Update, Windows 11 Setup and the Installation Assistant during a version upgrade. |
| Main cause | The Component Based Servicing (CBS) session was not initialized, usually because an earlier step failed: a pending operation, a broken package or a damaged component store. |
| Fastest fix | A full restart, then DISM again as administrator (Fix 1). Then read CBS.log for the first real error (Fix 2). |
| Also written as | 0x800F0801, 800f0801, CBS_E_NOT_INITIALIZED, hr:0x800f0801 in dism.log. |
| Affects | Windows 10 and Windows 11, all versions. Reported with feature updates (Windows 10 2004 and 20H2, Windows 11 23H2) and with DISM health scans. |
| Microsoft's status | Not a known issue of one update. Microsoft lists no fix for this code alone. It is a servicing stack status code that follows another failure. |
| Where the cause is written | C:\Windows\Logs\CBS\CBS.log and C:\Windows\Logs\DISM\dism.log. |
| Time to fix | 5 minutes for Fix 1, 15 to 40 minutes for Fix 2 to Fix 5, 1 to 2 hours for the repair reinstall in Fix 7. |
Facts checked on 15 October 2026. Steps written for Windows 11 (25H2 and 26H2) and Windows 10 22H2.
What error 0x800f0801 means in DISM and Windows Update
0x800f0801 belongs to Component Based Servicing (CBS), the part of Windows that installs, changes and removes updates and features. Its name is CBS_E_NOT_INITIALIZED. A program such as DISM or Windows Update asked CBS to work in a servicing session, and that session had never been set up.
That is why the code tells you little by itself. In the logs it almost always sits next to another error that stopped the session first. One CBS.log quoted on Microsoft Q&A shows the exact line: Cannot GetSessionID on a session that has not been initialized. [HRESULT = 0x800f0801 - CBS_E_NOT_INITIALIZED].
| What you see | Where | What it tells you |
|---|---|---|
| Error: 0x800f0801 | Command Prompt or Terminal after a DISM /Online /Cleanup-Image command | DISM could not open a servicing session on the running Windows. |
| Feature update to Windows 10, version 20H2 - Error 0x800f0801 | Settings > Windows Update and Update history | A version upgrade stopped while Windows checked its own health. |
| A cumulative or .NET update failed with 0x800f0801 | Update history | The update could not start servicing. Another error is in CBS.log. |
| CBS_E_NOT_INITIALIZED or hr:0x800f0801 | CBS.log and dism.log | The same code in log form. Read the lines around it. |

The Windows Update page in the picture says: There were problems installing some updates, but we'll try again later. Under it is the failed update with the code. The message is the same for many update errors, so the code is what you search for.
Many pages, our old one included, called 0x800f0801 CBS_E_NOT_APPLICABLE. That is a different code, 0x800f081e, which means an update does not fit your Windows. 0x800f0801 means the servicing session did not start.
Why error 0x800f0801 appears
The causes are ordered from the most likely to the least likely. Microsoft does not publish a list for this code, so the order comes from what the code means, from logs that users posted on Microsoft Q&A and from Microsoft's guide to update corruption.
| Cause | How often | How to tell | Fix |
|---|---|---|---|
| An update or repair is still pending, or another servicing task is running at the same time. | Most often | The PC has not been restarted since the last update, or Windows Update was installing while you ran DISM. | Fix 1 |
| Another package failed first, for example a language pack or optional feature. | Often | CBS.log shows a second error code, such as 0x800f0825, near 0x800f0801. | Fix 2 |
| The component store (the WinSxS folder) is damaged. | Sometimes | DISM ScanHealth says the store is repairable, or SFC finds files it cannot fix. | Fix 3 |
| A broken download in the Windows Update cache. | Sometimes | Only Windows Update fails, at the same point every time. | Fix 4, Fix 5 |
| Third-party software interferes during a version upgrade. | Less often | Only feature updates and Windows 11 Setup fail. Users report security suites and old firmware. | Fix 6 |
| Windows itself is too damaged for repairs in place. | Rarely | DISM cannot repair the store, every update fails. | Fix 7 |

In the Microsoft Q&A thread on a Windows 11 upgrade, the log showed 0x800f0801 when DISM checked the image health, and next to it a Spanish language feature package that failed with 0x800f0825 - CBS_E_CANNOT_UNINSTALL. The upgrade failed for months until that cause was dealt with.

How to fix error 0x800f0801
Fix 1 and Fix 2 are specific to this code and cost minutes. Fix 3 to Fix 5 are the general update repairs for a damaged store or cache. Fix 6 and Fix 7 are for version upgrades that keep failing. Use Restart, not Shut down, between fixes.
| What you see or have | Start with |
|---|---|
| DISM stops with Error: 0x800f0801 | Fix 1, then Fix 2 |
| A monthly or .NET update fails in Update history | Fix 1, Fix 3, then Fix 4 |
| One KB number keeps failing after the repairs | Fix 5 |
| A feature update or Windows 11 Setup fails | Fix 2, Fix 6, then Fix 7 |
| Every update fails and DISM cannot repair the store | Fix 7 |
| A work or school PC that gets updates from the organization | Ask the administrator, with the code and CBS.log |
Fix 1. Restart the PC fully and run DISM or the update again as administrator
5 minutesNo riskEveryone, first. Especially when the PC has not restarted since the last update or Windows Update was busy while you ran DISM.
CBS opens one servicing session at a time and finishes pending work at restart. A restart clears a half-done operation, so the next DISM run or update can open a fresh session instead of failing with CBS_E_NOT_INITIALIZED.
- Open Settings > Windows Update. If it says an update is installing or waiting for a restart, let it finish first.
- Open Start, select the power button and select Restart, not Shut down.
- After the restart, right-click Start and select Terminal (Admin). Select Yes when Windows asks for permission.
- Close any other window that runs DISM or SFC. Run only one servicing command at a time.
- Run the health check again:
DISM /Online /Cleanup-Image /ScanHealth - If you saw the code in Windows Update, select Check for updates again instead.
Run DISM from an administrator window only, and wait for one command to finish before you start the next. Two servicing tasks at once compete for the same CBS session.
It worked if: DISM shows a progress bar to 100% and ends with The operation completed successfully., or the update installs.
If not: Read the log to find the first failure, Fix 2.
Fix 2. Find the real error in CBS.log and dism.log
10 minutesNo riskFix 1 did not help. Always worth doing before a reinstall, because it tells you which fix to use.
0x800f0801 says only that the session did not start. Microsoft's guide to update corruption sends you to CBS.log for the details, and the line near 0x800f0801 names the package or file that broke the session.
- Press Win + R, type
%windir%\Logs\CBSand press Enter. - Copy
CBS.logto the Desktop and open the copy in Notepad. Windows keeps the original open, so do not edit it. - Press Ctrl + F and search for
0x800f0801. Note the time of the last hit. - Search for
Erroraround that time, above and below. Write down every other code and package name you find. - Do the same in
%windir%\Logs\DISM\dism.logif the error came from DISM.
| What you find near 0x800f0801 | What it means | What to do |
|---|---|---|
| 0x800f0825 CBS_E_CANNOT_UNINSTALL with a LanguageFeatures package | A language pack or its features cannot be changed | Remove the extra language in Settings > Time & language > Language & region, restart, try again. |
| 0x800f081f CBS_E_SOURCE_MISSING | DISM found no clean source files | Fix 3 with an ISO as the source. |
| 0x80073712 or 0x800f0831 CBS_E_STORE_CORRUPTION | The component store is damaged | Fix 3. |
| CSI Payload Corrupt or CBS MUM Missing | Single files or package manifests are missing | Fix 3, then Fix 7 if DISM cannot repair them. |
| Nothing else, only 0x800f0801 | The session failed with no other trace | Fix 3 and Fix 4. |
The codes in this table come from Microsoft's list of common corruption errors and from the log on Microsoft Q&A. Your log can show a different one. Search our site for that code, it is usually the better lead.
It worked if: You have a second error code or a package name that explains why the session failed.
If not: If the log shows store damage or nothing useful, go to Fix 3.
Fix 3. Repair the component store with DISM and SFC
15 to 40 minutesNo riskCBS.log or DISM points to a damaged component store, or you found nothing in the log.
Microsoft's first answer to update corruption is DISM with RestoreHealth, which downloads clean copies of damaged components from Windows Update, and then SFC. A repaired store lets CBS open its session again.
- Open an elevated command window. Right-click Start and select Terminal (Admin), or type cmd in the search box, right-click Command Prompt and select Run as administrator. Select Yes when Windows asks for permission.

Search for cmd and choose Run as administrator. Screenshot: Windows 11 26H2. - Run DISM first. Type the command below and press Enter. DISM downloads clean copies of damaged components from Windows Update, so it can take several minutes. Wait until it says The operation completed successfully.
DISM.exe /Online /Cleanup-Image /RestoreHealth
DISM /RestoreHealth running. Screenshot: Windows 11 26H2. - Run System File Checker. In the same window, type the command below and press Enter. Do not close the window until the verification reaches 100%.
sfc /scannow
sfc /scannow at 100%. Screenshot: Windows 11 26H2. - Read the result and restart. Compare the last message with the table below this guide, then restart the PC so that repaired files are loaded.

The result line tells you what SFC did. Screenshot: Windows 11 26H2.
These steps were written for Windows 11 24H2 and 25H2. The full page with the other versions and what each result means: Run DISM and SFC to repair Windows system files
If RestoreHealth fails because the PC cannot reach Windows Update, use a Windows ISO of the same version as the repair source. Microsoft gives the form DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:<path>\windows /LimitAccess, where the source must run the same Windows version.

It worked if: DISM ends with The restore operation completed successfully., SFC finds no integrity violations or repairs them, and the update installs after a restart.
If not: If only Windows Update still fails, go to Fix 4. If DISM cannot repair the store, go to Fix 7.
Fix 4. Reset the Windows Update components
10 minutesLow riskA monthly, .NET or feature update fails in Windows Update, and DISM itself now works.
A damaged download in the SoftwareDistribution folder is used again at every retry. Stopping the update services and renaming the cache folders makes Windows download and start the update from zero.
- Open Command Prompt as administrator. Type cmd in the search box, right-click Command Prompt and select Run as administrator. Select Yes when Windows asks for permission.
- Stop the update services. Type the commands below and press Enter after each one. If Windows says that other services depend on Cryptographic Services, it stops them too. A message that a service is not started is fine.
net stop wuauserv net stop bits net stop cryptsvc - Delete the download queue files. This clears the list of downloads that the Background Intelligent Transfer Service keeps. If Windows says it cannot find the files, continue.
del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat" - Rename the update cache folders. Renaming keeps a copy in case you need it; Windows creates new, empty folders when the services start again. If you get Access is denied, a service is still running: repeat the previous step.
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old ren %systemroot%\System32\catroot2 catroot2.old - Start the services again. Type the commands below and press Enter after each one. The requested service has already been started is fine: Windows started it on its own.
net start cryptsvc net start bits net start wuauserv - Restart and check for updates. Restart the PC. Then select Start > Settings > Windows Update > Check for updates. The first check can take longer than usual because everything is downloaded again.
These steps were written for Windows 11 and Windows 10 (the steps are the same). The full page with the other versions and what each result means: Reset Windows Update components

It worked if: Windows Update downloads the update again and installs it without 0x800f0801.
If not: Install the one failing update by hand, Fix 5.
Fix 5. Install the failing update manually from the Microsoft Update Catalog
15 to 30 minutesLow riskOne cumulative or .NET update keeps failing, while DISM reports a healthy store.
The standalone installer starts its own servicing session with a fresh copy of the package, outside the Windows Update download.
- Check your Windows version. Press Windows key + R, type winver and press Enter. Note the version (for example 25H2) and the OS build.
- Find the KB number. Open Settings > Windows Update. A failed or pending update is listed with its KB number; earlier ones are under Update history.
- Check the processor type. Open Settings > System > About and look at System type: an x64-based PC needs the x64 file, an ARM-based PC (for example Snapdragon) needs the arm64 file.
- Search the catalog. Open the Microsoft Update Catalog at catalog.update.microsoft.com in your browser, type the KB number (for example KB5124010) in the search box and press Enter.
- Pick the right row. Find the row whose title names your Windows version and your processor type (x64-based or arm64-based) and select Download on that row.
- Download every file listed. A window lists one or more .msu links. Download all of them into one empty folder, for example C:\packages. On Windows 11 24H2 and later the list can include earlier checkpoint updates that the new one needs.
- Install a single file. If there is only one file, double-click it and confirm the installation in the Windows Update Standalone Installer.
- Install several files with DISM. If there are several files, open an elevated Terminal or Command Prompt and run DISM with the newest file. DISM finds the other files in the same folder and installs them in the right order.
DISM /Online /Add-Package /PackagePath:C:\packages\<newest-file>.msu - Restart. Restart the PC when the installation finishes, then run winver again: the OS build should have changed.
These steps were written for Windows 11 24H2 and later; Windows 10 22H2. The full page with the other versions and what each result means: Install an update from the Microsoft Update Catalog

On Windows 11 24H2 and later a catalog update may also need its checkpoint file. If the installer then stops with 0x800f0838, read our guide to error 0x800f0838.
It worked if: The installer reports that the update was installed, and Update history lists it after a restart.
If not: If this is a version upgrade rather than a monthly update, go to Fix 6.
Fix 6. Upgrade from a clean boot
20 minutes plus the upgradeLow riskA feature update, Windows 11 Setup or the Installation Assistant fails with 0x800f0801, and monthly updates install fine.
A clean boot starts Windows with Microsoft services only. In the Microsoft Q&A thread, the advice that the asker accepted was a clean boot, removing a third-party security suite and updating the BIOS before the upgrade.
- Open System Configuration. Select Search on the taskbar, type msconfig and select System Configuration from the results.
- Hide Microsoft services. On the Services tab, select the Hide all Microsoft services check box. Only services from other companies stay in the list.
- Disable the remaining services. Select Disable all, then select Apply.
- Open Task Manager. On the Startup tab of System Configuration, select Open Task Manager.
- Disable the startup apps. On the Startup apps tab in Task Manager, select each item whose status is Enabled and select Disable. Write down or take a screenshot of the items you disable: you need the list to turn them back on.
- Confirm the changes. Close Task Manager. On the Startup tab of System Configuration, select OK.
- Restart and test. Restart the PC. Windows now starts in a clean boot environment: try again the thing that failed (run the app, install the update, uninstall the program).
These steps were written for Windows 11 25H2 and 26H2. The full page with the other versions and what each result means: How to perform a clean boot in Windows

If you use a third-party security suite, pause it for this one upgrade only and turn it back on afterwards: Turn off Microsoft Defender protection for a moment. Check your PC maker's support page for a newer BIOS or UEFI firmware, since users report that an old one blocked the upgrade.
It worked if: The feature update or Setup finishes and Windows starts in the new version.
If not: Undo the clean boot and use the repair reinstall in Fix 7.
Fix 7. Reinstall Windows over itself and keep your apps and files
1 to 2 hoursRead the warningEvery update fails, DISM cannot repair the store, or a version upgrade fails after Fix 6.
A repair reinstall replaces the system files and the component store with a clean copy, so CBS starts from a healthy base. Apps, files and settings stay.
- Open Recovery in Settings. Open Settings > System > Recovery. Next to Fix problems using Windows Update, select Reinstall now. This keeps your apps, files and settings.

Fix problems using Windows Update reinstalls the current version and keeps apps, files and settings. Screenshot: Windows 11 26H2. - Start the reinstall. Choose whether the PC may restart on its own 15 minutes after the installation, then select OK.
- Wait and restart. Windows Update downloads and installs a repair copy of your current Windows version. Keep the PC plugged in and online, and restart it when asked.
These steps were written for Windows 11 22H2 and later. The full page with the other versions and what each result means: Reinstall Windows without losing files
If Fix problems using Windows Update is missing, download the Windows 11 ISO from Microsoft, open it, run setup.exe and keep the choice Keep personal files and apps. On Windows 10 22H2 use the Windows 10 media, and plan the move to Windows 11, since Windows 10 left support on 14 October 2025.

Your files are meant to stay, but a failed reinstall can leave Windows unable to start. Back up what you cannot lose first: Back up your files (Windows Backup, File History, Time Machine). Keep a laptop plugged in for the whole process.
It worked if: The PC starts into the same desktop with your apps and files, and updates install without 0x800f0801.
If not: Read the next section: the last resort is Reset this PC with Keep my files.
If error 0x800f0801 is still there
Before you reset Windows, collect what a support agent or administrator needs. It saves a round of questions.
- The full code and where you saw it: DISM, Update history or Windows Setup.
- The KB number of the failed update, from Settings > Windows Update > Update history.
- Your version and build: press Win + R, type
winverand press Enter. - Copies of
C:\Windows\Logs\CBS\CBS.logandC:\Windows\Logs\DISM\dism.log.
| Situation | What to do |
|---|---|
| Work or school PC, updates from WSUS, Configuration Manager or Intune | Send the administrator the code, KB number, build and logs. Do not reset a managed PC yourself. |
| The repair reinstall is missing or fails | Use Reset this PC with Keep my files and Cloud download: Reinstall Windows without losing files. Apps are removed, your files stay. |
| The PC lost power or froze during an earlier update | Check the drive for errors: Check a disk for errors (chkdsk) |
| The log names another code, such as 0x800f0922 or 0x800f081f | Follow that code. It is the cause, 0x800f0801 is the result. |
Nothing in 0x800f0801 points to a hardware fault. The exception is a drive that reports errors in chkdsk, because a failing drive damages the component store again after every repair.
How to keep error 0x800f0801 from coming back
- Restart when Windows asks, so that a half-installed update does not block the next servicing session.
- Run one servicing command at a time, and let Windows Update finish before you run DISM.
- Free space on drive C before a version upgrade with Disk Cleanup or Storage Sense.
- Remove display languages you no longer use before a version upgrade.
- Do not delete files in
C:\Windows\WinSxSby hand to save space. Use Disk Cleanup or Storage Sense. - Do not close a DISM window or power off the PC while it runs.
- Do not download update files from sites other than catalog.update.microsoft.com.
- Do not leave security protection off after a test.
Frequently asked questions
What does error 0x800f0801 mean?
It means CBS_E_NOT_INITIALIZED: the Windows servicing stack was asked to work in a session that had never been set up. DISM, Windows Update and Windows Setup all use this stack, so all three can show the code. It is almost always the result of an earlier failure, such as a pending operation, a broken language pack or a damaged component store. Restart the PC first, then read CBS.log to find that earlier failure.
How do I fix DISM error 0x800f0801?
Restart the PC with Restart, not Shut down, and make sure Windows Update is not installing anything. Then open Terminal (Admin) and run DISM /Online /Cleanup-Image /ScanHealth again, with no other DISM or SFC window open. If DISM still stops with Error: 0x800f0801, open C:\Windows\Logs\DISM\dism.log and CBS.log and look for the other error near it. A store corruption code means DISM RestoreHealth with a matching Windows ISO as the source.
Is 0x800f0801 the same as CBS_E_NOT_APPLICABLE?
No. Several old pages, ours included, gave that name, but CBS_E_NOT_APPLICABLE is 0x800f081e, which means an update package does not fit your Windows edition, version or processor type. 0x800f0801 is CBS_E_NOT_INITIALIZED, as the HRESULT lines in CBS.log show. The difference matters: a not applicable update needs the right file, while 0x800f0801 needs the cause that stopped the servicing session.
Why does a Windows feature update fail with 0x800f0801?
During a version upgrade, Setup checks the health of the current Windows before it continues. If that check cannot open a servicing session, the upgrade stops with 0x800f0801. Reports on Microsoft Q&A tie it to language packs that cannot be changed, to third-party security suites and to old firmware. Read CBS.log first, then try the upgrade from a clean boot, and use the repair reinstall from an ISO if it still fails.
Will SFC /scannow fix 0x800f0801?
Only when the cause is a damaged system file. SFC repairs protected Windows files, while 0x800f0801 usually comes from the component store or from a package that failed. Run DISM RestoreHealth first, as Microsoft recommends for update corruption, and SFC after it. If both finish without errors and the update still fails, the cause is in the update cache or in a package named in CBS.log.
Can turning off my antivirus fix error 0x800f0801?
Not as a lasting fix. No Microsoft source ties this code to security software. Users report that removing a third-party suite helped one version upgrade, so pausing it for one upgrade attempt is a fair test. Turn it back on right after, whatever the result. Microsoft Defender does not need to be turned off for updates.
Do I lose files when I fix 0x800f0801?
No, with Fix 1 to Fix 6 nothing personal is touched. They restart services, repair system files or install updates. The repair reinstall in Fix 7 keeps apps, files and settings when you choose Keep personal files and apps, but any reinstall can fail, so back up first. Only Reset this PC removes installed apps, and with Keep my files your documents stay.
Is 0x800f0801 related to error 0x800f8011?
No, they are different codes that some searches mix up. 0x800f8011 is a separate Windows Update error with its own causes, and we explain it in our guide to error 0x800f8011. This page is about 0x800f0801, the servicing session that did not start. If you see both codes, fix the one in Update history first and read CBS.log for the other.
Does 0x800f0801 still appear on Windows 10?
Yes, the code exists on Windows 10 and Windows 11 and the fixes are the same. Windows 10 left support on 14 October 2025, so a Windows 10 22H2 PC receives security updates only through Extended Security Updates. If DISM or the update fails there, repair it with the same steps, then plan the move to Windows 11 if your PC supports it.
Sources
Did this fix work?
One click, no account. It tells the next reader which guides are worth their time.
Questions and experiences: fix Windows update error 0x800f0801
Still broken, or found a fix we did not cover? Ask here: members and our editors answer. Reading is open; writing needs a free account.
…