- Microsoft IIS 10.0 Cookbook
- Ashraf Khan
- 340字
- 2025-04-04 19:06:24
How to do it...
- Open Server Manager on Windows Server 2016, and click on the highlighted Add roles and features option.

- Click on Next until you get the Select features wizard.

- Click on the Features tab and click on the checkbox for .NET Framework 3.5 Features. It will also install the supported 2.0 framework. Move to the next screen:

- There is a warning displayed before installation: Do you need to specify an alternate source path? One or more installation selection are missing sources files on the destinati... (it goes on for a bit; hover on it to read the full warning).
- We have to provide the installation media's sources\sxs folder path. Click on Specify an alternate source path. You'll get this screen:

- Here, I have the Windows Server 2016 media in the D: drive. This is the media path in my case, which I have downloaded, but in your case, it can be different or be an actual optical drive. There is a folder called sources and a subfolder, sxs. Inside this folder, the installation file is available:

- Now you know where the source folder is. Go to the confirmation screen and click on Install. The next screenshot shows the installation progress on WIN2016IIS:

- Click on Close when the installation is complete; you now have framework 3.5 available on your server.
- Now you have to verify that framework 3.5 has been installed. It should be available in the Features wizard.
- Open Server Manager and click on Add roles and features.
- Keep clicking on Next until you get the Select Features wizard. You will see the .NET framework 3.5 checkbox checked, and the box will be gray, meaning it's disabled:

- We've confirmed that .NET v3.5 has been installed on our server.
This can be installed through PowerShell. We can also install it directly from Windows Update, but you need Internet connectivity and the Windows Update service running on Window Server.