How to Install .NET Framework 3.5 on Windows Server and Windows 10?

Quite numerous functions on Windows Server and Windows 10 require .NET Framework 3.5 (regardless of .NET Framework four.6 is put in by default). For instance, I couldn’t set up and run SQL Server Management Studio with out .NET 3.5. Let’s contemplate how to set up .Net Framework 3.5 on Windows Server 2016/2019 and Windows 10.

Install .NET Framework 3.5 on Windows Server

If your Windows Server has direct Internet entry, you possibly can set up .NET Framework 3.5 in a number of methods:

  • Via Server Manager;
  • Using DISM command: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
  • Using PowerShell: Install-WindowsFeature NET-Framework-Core

In this case, all the required .NET 3.5 distribution recordsdata in your Windows Server model are downloaded from the Windows Update servers. For this set up technique to work, you want to make certain:

  1. Your server isn’t configured to obtain updates from the (verify the or straight within the servers’ registry);
  2. and firewall settings mustn’t prohibit entry to Windows Update servers.

If there isn’t any direct Internet entry from the server, then once you attempting to set up .NET 3.5 on Windows Server utilizing the Server Manager console (Add Roles and Features -> Features -> NET Framework 3.5 Features), the set up fails with the  error 0x800f081f (The supply recordsdata couldn’t be discovered) or 0x800F0950.

Although, .NET Framework 3.5 is included within the record of Windows Server 2016/2019 options, its binary recordsdata are lacking in Windows part retailer ( idea). This is completed to cut back the Windows dimension on the disk. You can set up the part utilizing the GUI or PowerShell. You can verify for the presence of the .NET Framework 3.5 on the native part retailer on Windows Server with the command:

Get-WindowsFeature *Framework*

As you possibly can see the standing of the NET-Framework-Core function is Removed.

In order to set up the NET-Framework-Core, you have to the Windows Server 2016/2019 distribution within the type of an ISO file, a DVD drive, or within the unpacked kind in a shared community folder. Mount the ISO file with the Windows Server set up picture as a digital drive (for instance, drive D:). Now, you possibly can set up the Windows options from the GUI or utilizing PowerShell.

Using Server Manager to Install .NET Framework 3.5 on

You can set up .NET 3.5 function utilizing Server Manager graphic console. To do it, choose the .Net Framework 3.5 function as earlier, however prior to clicking Install, click on a small hyperlink on the backside of the shape — Specify an alternate supply path.

In this window you might have to specify the trail to the part retailer (SxS folder) of your Windows Server 2016 set up picture. If you mounted the ISO picture as a digital disk, the trail might appear to be D:sourcessxs. It can be the community share, the place you copied the distribution recordsdata (for instance, fs1isows2016sourcessxs). Then click on OK.

Just run the set up.

How to Install .NET Framework 3.5 utilizing DISM or PowerShell?

It is far simpler to set up .NET Framework 3.5 function from the elevated command immediate or PowerShell console. Just run the command:

Dism.exe /on-line /enable-feature /featurename:NetFX3 /All /Source:D:sourcessxs /LimitAccess

Where D: is the drive with Windows Server 2016 supply recordsdata.

The LimitAccess parameter prevents DISM from connecting to Windows Update servers to obtain part binary recordsdata. Only supply recordsdata within the specified folder are used.

You can even set up it utilizing the Add-WindowsFeature PowerShell cmdlet:

Add-WindowsFeature NET-Framework-Core -Source d:sourcessxs

After the part set up is accomplished, a server restart isn’t required.

You can even manually copy 2 cab recordsdata microsoft-windows-netfx3... from the sourcessxs folder of your Windows Server set up picture. In this case, to set up .NET 3.5, simply run the command:

dism /on-line /Add-Package /PackagePath:C:distribnet35microsoft-windows-netfx3-ondemand-package~31bf3856advert364e35~amd64~~.cab.

Managing Optional Component Installation with GPO

Using the Group Policy setting Specify settings for non-obligatory part set up and part restore (positioned underneath GPO part Computer Configuration -> Administrative Templates -> System), you possibly can configure particular settings for putting in Windows parts from a neighborhood supply or Windows Update even when utilizing WSUS.

Here you possibly can specify that when putting in or , you must at all times obtain recordsdata from the Windows Update servers (Internet) as a substitute of the native WSUS server (the “Download restore content material and non-obligatory options straight from Windows Update as a substitute of Windows Server Update Services” choice). You can even specify the trail to the listing with the Windows Server parts (or wim file) that you really want to use throughout options set up (specified within the “Alternate supply file path” parameter).

How to Enable .NET Framework 3.5 on Windows 10?

On Windows 10, you possibly can set up the .NET Framework 3.5 from the Windows Feature window within the Control Panel.

  1. Run the command optionalfeatures.exe;
  2. In the record of parts, choose.NET Framework 3.5 (consists of .NET 2.zero and three.zero), click on Оk;
  3. If your laptop has direct Internet entry, within the subsequent window choose “Let Windows Update obtain the recordsdata for you” and the latest model of the .NET Framework 3.5 will probably be downloaded and put in from Microsoft servers.
The identical DISM and PowerShell instructions to obtain and on-line set up the .NET Framework 3.5:
DISM /on-line /Enable-Feature /FeatureName:"NetFx3"
and
Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"

If you don’t have Internet entry, you possibly can set up .NET 3.5 on Windows 10 utilizing:

  • If you might have an set up disk or ISO picture with Windows 10 (model and construct should match), join/mount it for instance, to drive D:. To set up .NET 3.5, use the DISM command (DISM /on-line /enable-feature /featurename:NetFX3 /All /Source:D:sourcessxs /LimitAccess) or PowerShell (Add-WindowsFunctionality -Online -Name NetFx3~~~~ -Source D:SourcesSxS)

To confirm that the .NET Framework is efficiently put in, run the command:

Get-WindowsFunctionality -Online -Name NetFx3~~~~

Name         : NetFX3~~~~
State        : Installed
ShowName  : .NET Framework 3.5 (consists of .NET 2.zero and three.zero)
DownloadMeasurement : 72702771
InstallMeasurement  : 247885750

You can even confirm that the .NET Framework 3.5 is put in on your laptop utilizing the command:

(Get-ItemProperty -Path "HKLM:SOFTWAREMicrosoftNET Framework SetupNDPv3.5").Version

Similarly, you possibly can verify .

 

Check Also

Configuring L2TP/IPSec VPN Connection Behind a NAT, VPN Error Code 809

Due to disabling PPTP VPN help in iOS, one in all my shoppers determined to …

Leave a Reply

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