When you attempt to install .NET Framework 3.5 or any other optional feature using “Windows Features” (optionalfeatures.exe
) dialog or using DISM command-line, error 0x800F0954
may popup.
After enabling .NET Framework 3.5 and clicking OK, the following error may appear:
Windows couldn’t complete the requested changes. The changes couldn’t be completed. Please reboot your computer and try again. Error code: 0x800F0954
The same error may occur when attempting to install additional speech recognition or supplemental fonts using Optional features in the Settings page or using DISM command-line. For instance, you run the following command to install .NET Framework 3.5 from an elevated or administrator Command Prompt.
DISM /Online /Enable-Feature /FeatureName:NetFx3 /AllAfter pressing ENTER, here is the full error message you might see:
Deployment Image Servicing and Management tool Version: 10.0.16299.15 Image Version: 10.0.16299.192 Enabling feature(s) [==========================100.0%==========================] Error: 0x800f0954 DISM failed. No operation was performed. For more information, review the log file. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
If the error 0x800f0954 occurs installing optional Windows features, it may be because the system is unable to access the Windows Update server. This is especially true in case of domain-joined computers which is configured to downloads updates from a WSUS server. It could also be possible that your computer was once a part or a corporate or domain network and the group policy setting is still in place.
Step 1: Bypass WSUS to Install Features/Updates Directly from Windows Update
To fix the problem, temporarily bypass WSUS server using the following registry edit (requires administrator privileges).
Right-click Start, and click Run
Type regedit.exe and click OK
Go to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
In the right-pane, if the value named UseWUServer exists, set its data to 0
Exit the Registry Editor
Restart Windows.
See if you’re able to install .Net Framework 3.5 or any optional features now. In most cases, the above steps should fix the problem.
Last updated: 10 Aprile 2019 by Pierluigi Minati