How to Check and Install .NET framework 3.5 on your Server

We must Install .NET framework 3.5 as prerequisite to install SQL Server on Windows Operating System. We need to manually install it before starting SQL Server installation. You can also deploy it by using group policy. Earlier we used to download the .NET package and then run it to install. Now process has become easier and you don’t need to download its package for installation. I would recommend you to first check if .net 3.5 is installed or not on your server, if it’s already installed then you should not reinstall it again. You can see Validate section of this article to learn how to check if .net 3.5 is installed or not.

Related Articles:

.NET Framework 3.5 Installation

There are two ways to install .NET Framework 3.5 on windows server.

  • Using GUI
  • Using Powershell
GUI Method
  1. Login to Server and launch Server Manager, click on Manage and then select Add Roles and Features to start the Add Roles and Features Wizard.
  2. On the Select installation type screen, select Role-based or feature-based installation.
  3. Select the target server.
  4. On the Select features screen, click on checkbox next to .Net Framework 3.5 Features.
  5. On the Confirm installation selections screen, a warning will be displayed asking Do you need to specify an alternate source path?.  Here you can mount your Windows DVD ISO image. Or If your computer does not have access to Windows Update, click the Specify an alternate source path link to specify the path to the \sources\sxs folder on the installation media and then click OK. After you have specified the alternate source, or if the target computer has access to Windows Update, click the X next to the warning, and then click Install and it will be done.
Powershell Method

This is very simple method where you just need to run below powershell command with administrator right.

--Change the source location as per your source patch or location.
Install-WindowsFeature Net-Framework-Core -source c:\sxs

If your .NET framework 3.5 is already installed on your server then you will get below output by running above powershell command. It means .NET 3.5 is already installed on this machine. Read below section to learn how to check if .net 3.5 is installed on your machine.

install .Net framework 3.5

Validate

Now you can check whether .NET framework 3.5 is installed on your server or not. Run below command to check if .NET 3.5 is installed or not.

--Check if .NET framework 3.5 is installed or not on your server.
Get-WindowsFeature *framework*

check .net framework 3.5 is installed or not

You can see .NET framework 3.5 is showing as installed on this machine. I hope you like this article. Please follow us on our facebook page and on Twitter handle to get latest updates.

Follow me:

Manvendra Deo Singh

I am working as a Technical Architect in one of the top IT consulting firm. I have expertise on all versions of SQL Server since SQL Server 2000. I have lead multiple SQL Server projects like consolidation, upgrades, migrations, HA & DR. I love to share my knowledge. You can contact me on my social accounts for any consulting work.
Manvendra Deo Singh
Follow me:

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *