What is Error Code 0x800f0954 & How to Fix It (2024)

Readers help support Windows Report. We may get a commission if you buy through our links. What is Error Code 0x800f0954 & How to Fix It (1)

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

.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.
  2. Navigate to the path below in the left pane: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  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
    • Now, right-click the just create WindowsUpdate key, choose New > Key, and name the newly created password 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
  4. Set its Value data to 0 and click the OK button.
  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.
  2. Copy and paste the command below and hit Enter to run it: Add-WindowsCapability –Online -Name NetFx3~~~~ –Source D:\sources\sxs
  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.
  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.
  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.

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.

Read more about this topic
  • Services.msc Remembers Last Computer: How to Forget it
  • Caps Lock Exits Game: 7 Ways to Fix it

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.
  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 /LimitAccess
  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\CBS
  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.
  4. Now, type the command below and hit Enter to run it: Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\
  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.

Ola-Hassan BolajiWindows Hardware Expert

A Computer Engineering graduate, he has spent most of his life reading and writing about computers.He finds joy in simplifying complex topics into simple solutions for PC users. The quality of his work and providing step-wise tested and proven solutions to PC issues are all that matter to him.Away from computers, he is either reading or watching football!

What is Error Code 0x800f0954 & How to Fix It (2024)

References

Top Articles
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 6701

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.