crosspost Microsoft IT Pro Tech Community
crosspost r/sysadmin
Windows Server 2019 Cannot Install .NET 3.5
I am running Windows Server 2019 (Version 1809, Build 17763.4499) and I cannot install .NET Framework 3.5. Below is the current installation status of the feature on my machine:
PS > Get-WindowsFeature -Name NET-Framework-Features,NET-Framework-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ
Display Name Name Install State
------------ ---- -------------
[X] .NET Framework 3.5 Features NET-Framework-Features Installed
[ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0) NET-Framework-Core Removed
[ ] HTTP Activation NET-HTTP-Activation Removed
[ ] Non-HTTP Activation NET-Non-HTTP-Activ Removed
Through hours of searching online I have not been able to discover a resolution to the issue I am seeing. I followed the installation steps in How to Install .NET Framework 3.5 on Windows 11/10 and Windows Server (Windows OS Hub) as this was the most complete guide. None of the suggested installation methods worked.
- Via Server Manager: Add roles and features -> Features -> .NET
Framework 3.5 Features -> .NET Framework 3.5 (includes .NET 2.0 and
3.0 )
- Using DISM:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
- Using DISM:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\sources\sxs /LimitAccess
- With PowerShell:
Install-WindowsFeature -Name NET-Framework-Core
- With PowerShell:
Install-WindowsFeature -Name NET-Framework-Core -Source D:\Sources\SxS
- With DISM:
DISM /online /Add-Package /PackagePath:D:\Sources\SxS\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab
I also tried using the offline packages from my installation media without success. And when trying to use GPO to force installation from / prohibit installation from Windows Update (non-WSUS) I did not see any results.
Regardless which method I use, I end up getting the same 0x800f0800
error. I've only come across one other user who has received the same error code when trying to install a Windows feature, but their resolution was just rebuilding their server. This is not a viable option for my scenario. The full error from PowerShell is displayed below:
PS> Install-WindowsFeature -Name NET-Framework-Core -Source D:\Sources\SxS
Install-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed. Error: 0x800f0800
At line:1 char:1
+ Install-WindowsFeature -Name NET-Framework-Core -Source D:\Sources\SxS
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
Any help on this issue is greatly appreciated!