What is Error Code 0x800f0954 & How to Fix It

Skipping the WSUS server is a quick way to fix this

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • If you are getting the error code 0x800f0954 while trying to install .NET Framework, it might be because of a corrupt CBS log file.
  • You can solve this issue quickly and effectively by bypassing the WSUS server.
  • Clearing the CBS log file and restarting the installation process is another surefire fix.
0x800f0954

.NET Framework is one of the many important optional Windows features that users can decide to install or not. However, installing these features is not usually straightforward, with users reporting a frustrating error code 0x800f0954.

While this error can be due to various factors, it is not the most difficult to fix, as shown in this comprehensive guide.

What is error code 0x800f0954 installing .NET Framework 3.5 on Windows 11 or 10?

The error code 0x800f0954 shows up if your PC cannot get through to the Windows Update server while you are trying to install an optional update.

Below are some of the potential causes of this issue:

  • Wrong settings: In some cases, this issue can be due to the Download repair content and optional features directly from the Windows Update setting on the Group Policy editor. You need to ensure this feature is enabled to bypass this error code.
  • Corrupt CBS log: This problem can sometimes occur because of a corrupt log file on your PC. You need to clean these junk files and try the installation of the optional feature again.

How do I fix error 0x800f0954?

1. Bypass Windows Update server

  1. Press the Windows key + R, type regedit, and click OK.
    regedit 0x800f0954
  2. Navigate to the path below in the left pane: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AUpath
  3. Now, double-click the UseWUServer option in the right pane. If the WindowsUpdate option does not exist as in the path above, follow these steps to create it:
    •  Right-click the Windows key in the left pane, select New > Key, and name the newly created password WindowsUpdate
      new key
    • Now, right-click the just create WindowsUpdate key, choose New > Key, and name the newly created password AU
      au
    • Next, right-click on the space on the right pane with the AU key selected, select New > String Value, and name the just-created string UseWUServer. Now, double-click on UseWUServer
      new string 0x800f0954
  4. Set its Value data to 0 and click the OK button.
    value data
  5. Finally, restart your PC and check if you can install the optional updates.

That is how to fix the error code 0x800f0954 on Windows 10 or 11 using the registry. This solution will only help you bypass the Windows Update server.

2. Use PowerShell

  1. Press the Windows key + S, type powershell, and select Run as administrator under Windows PowerShell.
    powershell admin
  2. Copy and paste the command below and hit Enter to run it: Add-WindowsCapability โ€“Online -Name NetFx3~~~~ โ€“Source D:\sources\sxsadd compatibility
  3. Finally, restart your PC and try to install .NET Framework 3.5 again.

Sometimes, the error 0x800f0954 can be due to minor compatibility issues on your PC. The solution is to run the command above to clear these glitches.

3. Use the Group Policy editor to bypass WSUS

  1. Press the Windows key + R, type gpedit.msc, and click OK.
    gpedit msc 0x800f0954
  2. Navigate to the path below in the left pane: Computer Configuration\Administrative Templates\System
  3. Now, double-click Specify settings for optional component installation and component repair in the right pane.
    specify
  4. Next, tick the Enabled button.
  5. Check the box for Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS).
  6. Finally, click the Apply button, followed by OK.
    enabled 0x800f0954

Another effective solution to fix the 0x800f0954 error while trying to install optional features on your PC is to make changes to your Group Policy editor.

4. Use Windows ISO or DVD

  1. Get a Windows ISO using the Media Creation Tool.
  2. Now, double-click the ISO file to mount it. Note the drive letter of your drive or DVD.
  3. Press the Windows key, type cmd, and click Run as administrator under Command Prompt.
    cmd admin
  4. Next, copy and paste the command (replace X with your drive letter) below and hit Enter: dism /online /enable-feature /featurename:NetFX3 /Source:X:\sources\sxs /LimitAccessdism limit
  5. Finally, wait for the command to finish running and restart your PC.

If you are still getting the 0x800f0954 error while trying to install optional features on your PC, you can try to use a Windows ISO file to complete the task.

5. Clean the CBS log

  1. Press the Windows key + E to open File Explorer and navigate to the path below: C:\Windows\Logs\CBScbs logs 0x800f0954
  2. Double-click the CBS folder and delete its content.
  3. Press the Windows key + S, type cmd, and choose Run as administrator under Command Prompt.
    cmd admin
  4. Now, type the command below and hit Enter to run it: Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\dism enable
  5. Finally, wait for the command to finish running and try to install .NET Framework again.

If you got the 0x800f0954 error while using DISM restorehealth command, it might be because of a corrupt CBS log file. You need to clear this file to fix this issue.

We have reached the end of this detailed guide on the 0x800f0954 error. If you want to know how to repair a corrupt .NET Framework, check our detailed guide to do it effortlessly.

Feel free to let us know the solution that helped you fix this issue in the comments below.

More about the topics: .NET Framework