The most recent versions of Windows Server are pre-loaded with.NET Framework 4.6, even though.NET Framework 3.5 is also available and might not be installed on server.
The most recent versions of Windows Server are pre-loaded with.NET Framework 4.6, even though.NET Framework 3.5 is also available and might not be installed on server.
The following options are available if you want to install.NET Framework 3.5 in the new Windows Servers:
- To access the NET Framework 3.5 Features from the Server Manager, choose Add Roles and Features > Features > NET Framework 3.5 Features.
- Use the following DISM command to enable a feature: DISM /Online/Enable-Feature /FeatureName:NetFx3 /All
- To Install Using PowerShell: Add-WindowsFeature NET-Framework-Core -Source DriveName:\sources\sxs in PowerShell to enable the feature.
OR
If your Windows Server is connected to the internet, you can configure it to use Windows Update as a source without giving the Source path. For me, it was effective.
Although the server is configured not to use Windows Update, Windows Update has downloaded the.NET Framework 3.5 installation files in this case (common for managed servers). To install using Windows Update, check the box next to “Download repair content and optional features directly from Windows Update instead of WSUS” and enable the option.
Follow the steps below to approach from above:
- Press WIN+R and type gpedit.msc to launch the Group Policy Management Console or Local Group Policy Editor.
- Click on Expand Administrative Templates Folder, expand Computer Configuration Folder, and then choose System.
- Double-click to access the Group Policy setting, Specify options for optional component installation and component repair, and then click Enabled.
- Additionally, choose the checkbox for Enable for Contact Windows Update directly to download repair content instead of WSUS.
Go to the Add Roles and Features Wizard now, enable the.NET Framework 3.5 checkbox, and complete the installation process.