Windows

Fix 0x800F0954 error when installing .NET Framework in Windows 11/10

0x800F0954-error-when-installing-.NET-Framework-1

While installing .NET Framework 3.5 on the system, many users have reported coming across Error code 0x800F0954. The error message also occurs upon installing different Optional features in Windows 11/10.

Windows couldn’t complete the requested changes.
The changes couldn’t be completed. Please reboot your computer and try again.
Error code: 0x800F0954

0x800F0954 error when installing .NET Framework

What causes Error code 0x800F0954?

Before getting into solutions, it’s important to find out the reason behind the error message. The Error code 0x800F0954 occurs when you try to install .NET Framework 3.5 or any other optional features using the Windows Features functionality or DISM. Below are all the common culprits behind the problem.

  1. The message will occur if there’s an obstruction in the connection between Windows Server Update Services and Windows Optional Features Installer.
  2. The .NET Framework 3.5 is a comparatively older .NET Framework. Therefore, it’s common to face the mentioned error while installing it via Windows Features.
  3. Misconfigured optional component installation and component repair settings can be another significant reason behind the problem.

Now that you have prior knowledge of different reasons causing the error message let’s check out how to get rid of them.

Fix 0x800F0954 error when installing .NET Framework

Below is the list of all the effective solutions to try if you receive the error 0x800F0954 when installing .NET Framework in Windows 11/10:

  1. Temporarily bypass WSUS server
  2. Clear CBS logs
  3. Change Component Installation and Component Repair settings
  4. Install .NET Framework 3.5 via PowerShell

Now, let’s take a look at all the solutions in detail.

1] Temporarily bypass the WSUS server

The first thing you should try is to temporarily bypass the WSUS server with the help of the Windows Registry. You can do so by following the below steps.

Open the Run dialogue box by pressing the Windows + R shortcut key.

Type regedit and click on the OK option.

Click on Yes on the UAC that pops up.

Head towards the following registry key.

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU

In the right panel of the screen, locate UseWUServer.

Set the value of UseWUServer to 0.

That’s it. Close the Registry Editor and reboot your system. Check if the problem is fixed or not.

2] Clear CBS logs

CBS stands for Component Based Servicing, and it is a file that features logs related to both, installed and uninstalled Windows Update components. The error message was fixed by clearing CBS logs per many users. You can do the same and check if it resolves the problem for you as well. Here’s how it’s done.

Open the Run dialogue box, paste the below location and click on the OK option:

C:WindowsLogsCBS

Select everything inside the CBS folder.

Right-click on the selected files and choose the delete option.

Now, open Command Prompt in administrator mode.

Type the following command and press the enter key.

Dism.exe /online /enable-feature /featurename:NetFX3 /source:C:

Once the command is executed, the .NET Framework 3.5 will have been installed on your system without any error. But if the problem continues, try the following solutions.

3] Change Component Installation and Component Repair settings

The next thing to try is to make some changes to the Group Policy Editor. Here’s what you need to do.

Open the Run dialogue box, type gpedit and press the enter key.

Navigate to the below location.

Computer Configuration > Administrative Templates > System

Double click on Specify settings for optional component installation and component repair.

Select the Enabled option.

Checkmark Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS).

Click on Apply > OK to save the changes.

Reboot your system and check if the problem is fixed or not.

4] Install .NET Framework 3.5 via PowerShell

You can install the .NET Framework 3.5 via Windows PowerShell as well. The situation applies especially to users facing the mentioned issue while going through the installation process via DISM. Here’s how to get the work done.

To begin with, open Windows PowerShell in administrator mode.

In the PowerShell window, type the following command and press the enter key.

Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"

Wait until the command is executed. It will take around 10 to 15 minutes.

How do I check the installed .NET Framework version on Windows 11/10?

It’s very easy to check the installed .NET Framework version. In fact, there are multiple ways to do it. You can do it using Command Prompt, Registry Editor, PowerShell, and File Explorer. To check the version via File Explorer, follow these steps: open File Explorer and navigate to %windir%Microsoft.NETFramework. Here you’ll find all the installed versions.

How to fix error 0x800F080C when installing .NET Framework?

The error 0x800F080C when installing .NET Framework due to corrupted files or corrupted .NET Framework dependencies. You can try these solutions to solve the problem: Run the .NET repair tool, run SFC and DISM scan, and download .NET Framework offline installer. It’s very easy to troubleshoot this error.

Original Article