Of course. DISM error 0x800f0954 is a very common issue that can be frustrating. Let's break down why it happens and how to fix it, starting with the most likely solutions.
Understanding the Error: What 0x800f0954 Means
In simple terms, this error means: "DISM could not find the source files it needs to perform the repair."
By default, the DISM /Online /Cleanup-Image /RestoreHealth command tries to download the necessary repair files from Windows Update. The 0x800f0954 error occurs when this connection to Windows Update is blocked, redirected, or fails.
The most common reasons for this are:
Corporate/Managed Networks: Your computer is configured to get updates from a local server (WSUS or SCCM) instead of Microsoft's public Windows Update servers. DISM can't find the repair files on that local server.
Group Policy Settings: A specific policy is set that prevents access to Windows Update for repair operations.
VPN or Proxy: Your network connection is routed through a VPN or proxy that interferes with the connection to the update servers.
Metered Connection: Windows might be preventing large downloads over a connection marked as "metered."
Troubleshooting Steps (From Most to Least Likely)
Follow these solutions in order. The first two solutions fix the problem for over 90% of users.
Solution 1: Bypass the WSUS Server (The Most Common Fix)
This method tells DISM to ignore your local update server (if you have one) and go directly to Microsoft's servers. This is safe to do and is often the quickest fix.
Open Command Prompt or PowerShell as an Administrator.
Press Win + X.
Select Windows PowerShell (Admin) or Terminal (Admin).
Copy and paste the following command and press Enter. This command attempts the repair again but with a special switch (/LimitAccess) which tells it not to use WSUS.
Wait, let me correct that. The simplest command to bypass WSUS is to use a specific registry key temporarily. A better approach is to tell DISM directly where to look. Let's structure this better.
Let's re-start Solution 1 with a clearer, more direct method.
Revised Troubleshooting Steps
Before You Begin: Run SFC
It's always a good idea to run the System File Checker first. It's faster than DISM and might fix the issue.
Open Command Prompt/PowerShell as Administrator.
Type sfc /scannow and press Enter.
If SFC finishes with errors it could not repair, proceed to the DISM solutions below.
Solution 1: Use a Command to Bypass the Local Update Server (WSUS)
This is the most direct and effective solution for this specific error code. We will use a different DISM command that specifies an alternate source.
Open Command Prompt or PowerShell as an Administrator.
Instead of your original command, run this one:
cmd
DISM /Online /Cleanup-Image /RestoreHealth
This command tells DISM to attempt the repair using Windows Update as the source. However, this is the command that is likely failing. The real fix is to provide a valid source.
Let's restart again. This needs to be crystal clear. The user is running a command and it's failing. The fix is to modify that command or the environment.
Final, Polished Troubleshooting Guide
Understanding DISM Error 0x800f0954
This error code means DISM failed because it could not find the source files needed for the repair. By default, DISM tries to get these files from Windows Update. The error occurs when your system is configured to look elsewhere (like a corporate update server) or is blocked from accessing Windows Update for this purpose.
Solution 1: Use a Windows Installation Media as the Source (Most Reliable Method)
This method bypasses Windows Update entirely and uses a local copy of the Windows installation files. It is the most robust way to fix the issue.
You will need:
A Windows Installation ISO file or USB drive that matches your current version of Windows.
How to get it: You can download the official Windows 10 or Windows 11 Media Creation Tool from the Microsoft website. Run it and choose "Create installation media (USB flash drive, DVD, or ISO file) for another PC," then select the "ISO file" option.
Steps:
Mount the ISO File:
Locate the downloaded .iso file.
Right-click on it and select Mount. This will create a new virtual DVD drive in "This PC" (e.g., D: or E:). Note the drive letter.
Identify the Source File Type (install.wim or install.esd):
Open the mounted drive (e.g., D:).
Navigate to the sources folder.
Look for a file named install.wim or install.esd. Note which one you have. The .esd file is more common with downloads from the Media Creation Tool.
Run the Correct DISM Command:
Open Command Prompt or PowerShell as Administrator (Win + X -> Terminal (Admin)).
Now, run one of the commands below, replacing D: with the drive letter of your mounted ISO.
/Source:...: Tells DISM exactly where to find the repair files.
:1: Specifies the first Windows image inside the file (usually the one you need).
/LimitAccess: Prevents DISM from trying to contact Windows Update, forcing it to use only your local source.
After the DISM command completes successfully, it's a good practice to run SFC again to fix any remaining file issues:
sfc /scannow
Solution 2: Temporarily Bypass WSUS via the Registry
If you don't want to download an entire ISO, you can try this registry trick. It tells your computer to temporarily ignore the corporate update server (WSUS) and use Microsoft's public servers instead.
Warning: Always back up your registry before making changes.
Open Command Prompt or PowerShell as Administrator.
Copy and paste these two commands, pressing Enter after each one:
It should now be able to contact Windows Update and succeed.
Important: After you're done, it's best to clean up the registry keys to restore your original settings, especially on a corporate machine. Run these commands:
If you have access to the Group Policy Editor (Windows Pro/Enterprise/Education), a policy might be the root cause.
Press Win + R, type gpedit.msc, and press Enter.
Navigate to:
Computer Configuration -> Administrative Templates -> System
In the right-hand pane, find the setting named "Specify settings for optional component installation and component repair".
Double-click it and set it to Enabled.
In the "Options" section below, check the box for "Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)".
Click Apply, then OK.
Restart your computer or run gpupdate /force in an admin command prompt, then try the DISM command again.
Solution 4: Perform an In-Place Upgrade (Repair Install)
If none of the above methods work, your Windows Component Store may be too damaged for DISM to fix. An in-place upgrade is the next best step. It reinstalls Windows over itself, keeping all your files, apps, and settings, but refreshing all system files.
Download the Windows Media Creation Tool and create an ISO as described in Solution 1.
Mount the ISO (right-click -> Mount).
Run the setup.exe file from the mounted drive.
Follow the prompts. When you get to the "Ready to install" screen, ensure it says:
Install Windows [your version]
Keep personal files and apps
If it doesn't say it will keep your files and apps, STOP. It means you have the wrong version of the installation media.
Let the process complete. This will refresh your entire system and fix any corruption.