Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Install .NET Framework 3.5 on Windows: All Versions Covered

April 13, 2026

How to Install .NET Framework 3.5 on Windows: All Versions Covered

Most modern Windows apps require the .NET Framework to be installed. For example, the latest Windows 25H2 build and Windows Server 2025 come with .NET Framework 4.8.1 pre-installed. However, some legacy applications require .NET Framework 3.5, 2.0, or 1.0 to be installed for compatibility reasons. In this article, we’ll walk you through how to install .NET Framework 3.5 on Windows 11/10 and Windows Server 2025/2022/2019/2016.

Contents:
  • Installing .NET Framework 3.5 on Windows 11 and 10
  • Offline Install of .NET Framework 3.5 on Windows via CMD
  • How to Install .NET Framework 3.5 on Windows Server
  • Configure .NET Framework 3.5 Offline Installation Options via GPO

Note that support for the .NET Framework 3.5 will end on 9 January 2029.

Installing .NET Framework 3.5 on Windows 11 and 10

  • Starting with Windows 11 build 26H1 (version 10.0.28000.1) and in future Windows 11 releases, the .NET Framework 3.5 can only be installed using the offline installer DotNet35Setup.exe (can be downloaded from the Microsoft website: https://go.microsoft.com/fwlink/?LinkID=2337635 ). In previous Windows versions, an error would appear when attempting to use the offline installer. DotNet35Setup offline installer for newest windows 11 builds
  • In Windows 11 25H2 and earlier versions, as well as in Windows 10, .NET Framework 3.5 is installed as a built-in Windows feature, as described below.

Check whether the .NET Framework 3.5 (includes .NET 2.0 and 3.0) is installed on your computer. Open a PowerShell console as an administrator and run the command:

Get-WindowsCapability -Online -Name NetFx3

Get-WindowsCapability NetFx3

In my case, .NET 3.5 is not installed (State=NotPresent).

To add the .NET Framework 3.5 feature on Windows 11 or 10, use the classic Control Panel ‘Turn Windows Features on or off‘ applet (this functionality has not been ported to the modern Settings app):

  1. Run the command optionalfeatures.exe
  2. In the list of components, select .NET Framework 3.5 (includes .NET 2.0 and 3.0), click OK.install .net 3.5 framework on windows 11 and 10 via control panel
  3. If your computer is connected to the internet, select Let Windows Update download the files for you in the next dialogue.install net framework 3.5 online
  4. Windows will download and install the latest .NET Framework 3.5 binary files from Microsoft Update servers.download .net framework source from windows update

You can also install .NET Framework 3.5 from the command line:

  • Using DISM: DISM /online /Enable-Feature /FeatureName:"NetFx3"
  • Or with PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName "NetFx3"

Offline Install of .NET Framework 3.5 on Windows via CMD

If the computer is not connected to the internet or is on an isolated network, installing .NET Framework 3.5 will fail with an error:

Windows couldn’t complete the requested changes.
The changes couldn’t be completed. Please reboot your computer and try again
Error code: 0x8024402C

error 0x8024402C when installing net 3.5 framework on windows 10

In this case, you can manually install the .NET Framework 3.5 components offline using your Windows installation image. To do this, you will need an installation USB flash drive or an ISO image file with your Windows build (how to check the version of Windows in an ISO image file).

Connect your media with the Windows installation image to a computer. Right-click the ISO image file and select Mount to assign it a virtual DVD drive letter (or use the PowerShell command: Mount-DiskImage -ImagePath "C:\ISO\Windows11-25h2.iso"

mount windows11 installation iso image

To install .NET Framework 3.5 offline from a Windows installation image, run the following DISM command:

DISM /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess

  • /Online – perform the installation against the running operating system (not an offline image).
  • /enable-feature /featurename:NetFX3 /All – install all components of the .NET Framework 3.5.
  • /Source:E:\sources\sxs – the path to the SXS directory on the Windows installation media (in my example, the Windows distribution ISO image was assigned the drive letter E:)
  • /LimitAccess – don’t try to connect to the Windows Update online servers to download installation files.

Here is a similar PowerShell command:
Add-WindowsCapability -Online -Name NetFx3~~~~ -Source E:\Sources\SxS
install net 3.5 framework with powershell offline

To make sure that the .NET Framework is successfully installed, run the command:

Get-WindowsCapability -Online -Name NetFx3~~~~

Name         : NetFX3~~~~
State        : Installed
DisplayName  : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
Description  : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
DownloadSize : 72822163
InstallSize  : 496836410

check if NET 3.5 framework is installed on Windows 11

 List the versions of the .NET Framework that are installed on your computer:

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)\p{L}’} | Select PSChildName, version

list installed net framework versions

How to Install .NET Framework 3.5 on Windows Server

On Windows Server 2025, 2022, 2019, 2016, and 2012 R2, you can install NET Framework 3.5 via the Server Manager GUI: Add roles and features -> Features -> .NET Framework 3.5 Features -> .NET Framework 3.5 (includes .NET 2.0 and 3.0).

Windows Server Manager: install net framework 3.5 feature

To install the .NET Framework 3.5 silently with a delayed reboot, use the following command:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /NoRestart /quiet

The .NET 3.5 source files for your version of Windows Server will be downloaded from Windows Update servers. For this installation method to work, make sure that:

  • Your Windows Server host must have direct internet access. The proxy and firewall settings should not restrict access to the Windows Update servers.
  • Your host is not configured to receive updates from the local Windows Update (WSUS) server. Check your current Windows Update settings using the Group Policy result report (rsop.msc) or directly in the registry.
    Use PowerShell to check the registry value of the UseWUServer parameter:
    Get-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" | select -ExpandProperty UseWUServer
    If the parameter value is set to 1, it means your host is configured to receive Windows updates from the local WSUS server. In this case, you will receive error 0x800F0954 when attempting to install .NET 3.5. Change the registry parameter to 0 or remove it to connect directly to the Microsoft Windows Update servers.  

If the server has no direct internet access, attempting to install .NET Framework 3.5 via Server Manager on Windows Server will result in error 0x800F081F (The source files could not be found), 0x800F0950, 0x8024402c, 0x800F0906, or 0x800F0907 (depending on the version of Windows Server).

Net Framework 3.5 installation error 0x800f081f (The source files could not be found).

Although the .NET Framework 3.5 is listed as a feature of Windows Server 2025/2022/2019/2016/2012R2, its binary files are missing from the Windows component store (Features on Demand concept). This is done to reduce the size of the operating system image on the disk. You can check if the .NET Framework 3.5 source files are available in the local component store of Windows Server by using the command:

Get-WindowsFeature *Framework*

NET-Framework-Core 3.5 removed feature on Windows Server

As you can see, the status of the NET-Framework-Core feature is Removed.

For offline installation of the .NET-Framework-Core 3.5 (without Internet access), obtain the matching Windows.  Mount the ISO image containing the Windows Server distribution to a virtual drive (for example, drive D:). You can now add the .NET Framework 3.5 feature via the Server Manager graphical console.

  1. As before, select the .NET Framework 3.5 feature, but before clicking Install, click the small link Specify an alternate source path at the bottom of the form.Specify an alternate source path.
  2. Specify the location of the Component Store (SXS) folder on your Windows Server distro image. If you mounted the ISO image as a virtual disk, the path may look like D:\sources\sxs. It can also be a path to a shared network folder,  where the distribution files have been copied (for example, \\fs1\iso\ws2022\sources\sxs). Then click OK.windows server2016 source sxs folder

It is much easier to perform an offline installation of the .NET Framework 3.5 features by running an elevated command prompt or PowerShell console and executing the command:

Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

Where D:\ is the drive containing the Windows Server source files. The LimitAccessparameter prevents DISM from connecting to Windows Update servers to receive feature binary files. Only the local source files in the specified folder are used.

Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess

To install the Windows Server feature using PowerShell, use the Add-WindowsFeature command:

Add-WindowsFeature NET-Framework-Core -Source d:\sources\sxs

After the component installation is completed, a server restart is not required.

You can also manually copy two CAB files named microsoft-windows-netfx3... from the \sources\sxs folder of your Windows Server installation image. In this case, to install .NET 3.5, just run the command:

dism /online /Add-Package /PackagePath:C:\distrib\net35\microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab.

Configure .NET Framework 3.5 Offline Installation Options via GPO

Even when using WSUS, you can use the ‘Specify settings for optional component installation and component repair’ Group Policy option (Computer Configuration -> Administrative Templates -> System) to configure specific settings for installing Windows components from a local source or Windows Update.

 On a standalone computer, you can enable this policy setting using the Local Group Policy Editor snap-in (gpedit.msc). In an Active Directory environment, you can create a GPO for all computers/servers using the GPMC console (gpmc.msc).

Here, you can specify that, during the installation or repair of Windows components, source files should always be downloaded from the Windows Update servers (Internet) rather than from the local WSUS server (the “Download repair content and optional features directly from Windows Update instead of Windows Server Update Services” option).

You can also specify the path to the shared folder with Windows Server components (or WIM file) to be used during the offline installation via the ‘Alternate source file path‘ option.

  • Specify the path to the shared network folder in the UNC format (\\fs01\distr\ws22\sxs) (here you can specify multiple UNC paths separated by semicolons: \\fs01\ws22\sxs;\\man02\ws22\sxs;\\fs03\sxs)
  • It is also possible to specify a WIM file as a source: WIM:\\fso1\distr\ws22\install.wim:2 (in this case, 2 is the index of your edition of Windows Server image in the WIM file. You can list the available Windows Server editions in a WIM file using a command: DISM /Get-WimInfo /WimFile:"\\server\distr\ws22\install.wim" )

Specify settings for optional component installation and component repair

Configure different SXS sources for different versions of Windows Server. If you are running multiple versions of Windows Server on your network, you will need to create separate GPOs with different UNC paths to SXS sources. You can use Group Policy WMI filters to apply a GPO only to hosts that are running specific versions of Windows Server.

Common .NET Framework 3.5 Installation Errors in Windows

Below are the most common .NET installation errors on Windows:

  • 0x800F0818 – indicates that the Windows installation ISO image you are using does not match the version (build) of Windows installed on a computer.
  • 0х80072F8F – the computer cannot access the Microsoft Update Servers to download the necessary components.
  • 0x80072EE6 – the computer’s local Windows Update settings are preventing access to Microsoft’s online update services (open the registry key HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate and check whether the WUServer value is configured or the DoNotConnectToWindowsUpdateInternetLocations registry entry is enabled).
  • 0x800F081F – the computer has Internet access, but is configured to receive updates from a local WSUS server.
 0x800F081F Error Fix: Install .NET 3.5 online from the Microsoft servers, ignoring the local WSUS:

  1. Export the current Windows Update settings from the HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate registry key to a REG file:
    reg export HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate c:\WindowsUpdateRegFile.reg
  2. Delete this key ( Remove-Item -Path HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate -Recurse ) and restart the WU service: net stop wuauserv & net start wuauserv
  3. Run the .NET 3.5 installation from the web: DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
  4. After the installation is complete, return the previous Windows Update settings: import the reg file (reg import c:\WindowsUpdateRegFile.reg ) and restart the Windows Update service again

23 comments
10
Facebook Twitter Google + Pinterest
Windows 10Windows 11Windows Server 2019Windows Server 2022
previous post
Copy Files and Folders to User Computers via GPO
next post
Using Active Directory User Photo as Account Logon Image on Windows

Related Reading

How to Repair EFI/GPT Bootloader on Windows 10...

March 16, 2024

How to Restore Deleted EFI System Partition in...

March 11, 2024

How to Allow Multiple RDP Sessions on Windows...

April 14, 2026

How to Run Program without Admin Privileges and...

June 8, 2023

How to Install RSAT (Remote Server Administration Tools)...

March 24, 2026

Wi-Fi (Internet) Disconnects After Sleep or Hibernation on...

March 15, 2024

How to Repair Windows Boot Manager, BCD and...

March 11, 2024

Managing Windows Firewall Rules with PowerShell

March 11, 2024

23 comments

Erik Nettekoven October 22, 2014 - 3:54 pm

If you encounter problems installing .NET 3.5 (source could not be found error), install this update:
https://support.microsoft.com/kb/3005628

Reply
Nial May 3, 2016 - 11:01 am

Thank you. 
It was very useful article. 

Reply
Hari June 16, 2016 - 11:01 am

thank you , it helped me 

Reply
Govindharaj June 30, 2016 - 12:23 pm

the request to add or remove features on the specified server failed installation on one or more roles, role services or features failed. error:0x800f0907
I was troubleshoot all the given process getting same issue
 

Reply
Govindharaj June 30, 2016 - 12:25 pm

Pls give me the solution asap

Reply
Artyom September 7, 2016 - 10:03 am

Thx for very useful article!
 

Reply
Gyandev September 8, 2016 - 11:00 pm

Thanks….Really it help me

Reply
A.Shokri September 22, 2016 - 9:03 am

Thanks….it helpfull

Reply
Pavan October 18, 2016 - 10:25 pm

The issue exists even after doing that. 
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
 
C:\Windows\system32>dism /online /enable-feature /featurename:NetFX3 /all /Sourc
e:C:\Windows\WinSxS /LimitAccess
 
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
 
Image Version: 6.3.9600.17031
 
Enabling feature(s)
[===========================66.2%======                    ]
 
Error: 0x800f081f
 
The source files could not be found.
Use the “Source” option to specify the location of the files that are required t
o restore the feature. For more information on specifying a source location, see
 http://go.microsoft.com/fwlink/?LinkId=243077.
 
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 
C:\Windows\system32>dism /online /enable-feature /featurename:NetFX3 /all /Sourc
e:C:\Windows\WinSxS /LimitAccess

Reply
Max October 19, 2016 - 9:02 am

You are use wrong Source parameter. Instead pointed on files in C:\Windows\WinSxS, you must specify path to winsx folder on USB/ ISO / mounted iso file with Windows 2012 distribution.
For example:
Dism.exe /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\SxS /LimitAccess

Reply
mondbala December 31, 2016 - 4:51 pm

thank you so much. it solved my problem

Reply
Kory April 21, 2017 - 4:37 pm

Thank you for this. Solved my problem. Cheers!

Reply
Sathish December 1, 2017 - 12:44 pm

Hi,

I would like to know, can we use any powershell or DISM commands to enable ‘Specify settings for optional component installation and component repair’ under Group policy editor in order to install NetFx3 from online.

Kindly assist me, I am looking for automate this process.

Reply
Mohammad Reza Gerami January 2, 2018 - 11:25 am

if you have a problem with install .NET 3.5:
follow these comands with powershell:

Get-WindowsFeature *Framework*
Install-WindowsFeature Net-Framework-Core -source d:\sources\sxs

Reply
Josh July 19, 2018 - 5:10 pm

In one of your screenshots above you note D:/Source but it should be D:/Sources

Reply
5g6t March 6, 2019 - 8:27 pm

I upgraded 5 servers to 2012r2 from 2008r2….production….
Could not get 3.5 to install.
Found a reference server that had same windows version but was in a different domain, and had 3.5 installed.
The windows update/group policy changes did not work for me.
so ran:
net use z: \\%IP%\c$ /user:%domain%\%username%

dism /online /enable-feature /featurename:netfx3 /all /LimitAccess /source:z:\windows\winsxs

Reply
Chris July 3, 2019 - 3:00 pm

Hello, I wrote a Powershell script for the above registry method Which seems to work best for me. see below:

https://github.com/ctejeda/PowerShell-Modules/blob/master/Force-Install.NET-Framework

Reply
TimeFreedom January 6, 2020 - 10:51 pm

Followed the steps and restarted Server 2016 in advanced troubleshoot mode (command prompt) and the following command worked for me:
dism /image:d:\ /enable-feature /featurename:netfx3 /source:e:\sources\sxs

d:\ = system drive – may be different on your system, verify first by changing to the drive letter and running dir
e:\sources\sxs = folder on Server 2016 installation ISO

Reply
Franky February 7, 2020 - 6:37 pm

Damn dude I wanna hug you for this, worked as a charm thanks

Reply
Fish June 4, 2020 - 9:39 pm

Very helpful. The DSIM CMD helped me on a box with no internet access. I pointed it to another 2012 R2 box that already had it and it worked like a charm.

Reply
Raj Harkare July 22, 2021 - 7:27 am

Thank you for your Valuable information which helped to resolve my issue too.

Reply
"소스 파일을 찾을 수 없습니다"라는 Windows 기능 설치 실패 요소 저장소가 손상되지 않았는지 확인하기 위해 CheckSUR을 - How IT August 10, 2021 - 8:10 pm

[…] 환경에서도 작업하고 있습니다. 여기에 설명 된 절차를 따랐습니다 […]

Reply
Sule Oebao July 18, 2023 - 1:23 am

Thank you so much. Useful article.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Find Computers with Pending Reboot Status Using PowerShell

    April 15, 2026
  • Mounting NFS Shares in Windows Using the Built-in Client

    March 26, 2026
  • Monitor Windows Log Files in Real Time with PowerShell

    March 17, 2026
  • Pin and Unpin Apps to Taskbar in Windows 11 via PowerShell

    March 10, 2026
  • Load and Initialize Network Drivers in Windows PE or Recovery Environment

    February 25, 2026
  • How to Set a Custom Drive Icon in Windows

    February 17, 2026
  • Managing Per-User Services in Windows

    February 11, 2026
  • Change Default OU for New Computers and Users in AD

    February 2, 2026
  • Where Windows Stores Certificates and Private Keys

    January 22, 2026
  • How to Extract Printer Drivers from Windows

    January 21, 2026

Follow us

  • Facebook
  • Twitter
  • Youtube
  • Telegram
Popular Posts
  • How to Allow Multiple RDP Sessions on Windows 11 and 10
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows
  • Install and Manage Windows Updates with PowerShell (PSWindowsUpdate)
Footer Logo

@2014 - 2026 - Windows OS Hub. All about operating systems for sysadmins


Back To Top