You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Windows operating system issue
Installation failure of .NET Framework 3.5 on Windows instance
Copy page
Download PDF
Installation failure of .NET Framework 3.5 on Windows instance
Issue description​
When I install .NET Framework 3.5 on an instance running the Windows operating system, the following error occurs: "Installation of one or more roles, role services, or features failed. Error: 0x800f0954".​
Causes​
When you install features via Server Manager, the corresponding features are downloaded and installed from the WSUS server configured in the operating system. If the WSUS server configured in the system does not synchronize the .NET Framework 3.5 feature, Server Manager reports an error because it cannot obtain the required installation packages or update files.​
Solutions​
  1. Click the "Start" button, and select "Windows PowerShell > Windows PowerShell".​
  1. Execute the following command in PowerShell to disable the WSUS server you have configured and switch to the official Microsoft WSUS server.​
  • ​
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 0​
    ​
  1. Execute the following command to restart the WSUS service for the configuration to take effect.​
  • ​
    Restart-Service -Name wuauserv​
    ​
  1. Reinstall the .NET Framework 3.5 feature by using Server Manager.​
  • Installation steps​
    1. Click the "Start" button, and select "Server Manager".​
    1. In the upper right corner, select "Manage > Add Roles and Features".​
    1. In the "Add Roles and Features Wizard" dialog box, click the "Next" button.​
    1. Select "Role-based or feature-based installation" and click the "Next Page" button.​
    1. Select the server or virtual hard disk on which you want to install .NET Framework 3.5. In the example provided in this topic, "Select a server from the server pool" is selected. Click the "Next" button.​
    1. Select the roles to install on the selected server. In the example provided in this topic, the default settings are used. Click the "Next" button.​
    1. Select ".NET Framework 3.5 Features", and click the "Next" button.​
    1. Complete the optional installation configuration based on your needs. In the example provided in this topic, the default settings are used. Click the "Install" button.​
    1. After the installation is complete, click the "Close" button to close the installation wizard.​
    ​
  1. After the installation is complete, you can execute the following command in PowerShell to restore the original WSUS server configuration.​
  • ​
    Set-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -Name UseWUServer -Value 1​
    ​
  1. Execute the following command to restart the WSUS service for the configuration to take effect.​
  • ​
    Restart-Service -Name wuauserv​
    ​
​
Last updated: 2026.04.13 16:50:03