Click here to Skip to main content
15,073,126 members
Articles / Feature Pack
Posted 17 May 2017


2 bookmarked

.NET 3.5 under Windows 10: If Everything Else Fails During the Feature Install

Rate me:
Please Sign up or sign in to vote.
4.60/5 (3 votes)
17 May 2017CPOL
Starting with Windows 8, .NET 3.5 comes more or less tightly coupled to the OS, as a Windows Feature.


Starting with Windows 8, .NET 3.5 comes more or less tightly coupled to the OS, as a Windows Feature. But there's a shortcoming: Even though one doesn't need to download an installation package, the Windows Feature dialog is supposed to download it via Windows Update. This can lead to serious troubles, if your computer is joined to a domain and the sysadmins did not add the .NET Framework 3.5 to the WSUS storage.

Why this Reference

I have found myself in a situation where Windows was unable to install .NET 3.5 even on newly setup machines over the UI. It was always a major PITA to go and grab the command line I needed from the depths of the internet.

The Command Line

Luckily enough, the .NET 3.5 CAB package is present on the Windows 10 installation media. To install the CAB file, open up an elevated command prompt and use the following command:

dism /online /enable-feature /featurename:NetFx3 /All Source:<<DRIVE>>\sources\sxs /LimitAccess

Replace <<DRIVE>> with the drive letter of your Windows 10 Installation image, e.g., if your image is inserted into drive D:, use:

dism /online /enable-feature /featurename:NetFx3 /All Source:D:\sources\sxs /LimitAccess


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Marco Bertschi
Software Developer
Switzerland Switzerland
I'm a young Software Engineer. Whilst I may accept a 'status quo' as given, it's my responsibility to improve it as soon as the opportunity arises.
Very familiar with the .Net framework since it has been the underlying foundation for most of my professional work so far. I'm that kind of guy who gets stuff done, while I may also improve the way things work whilst I'm at it. Generally can get along well with most people I meet as a professional.
Fervent volunteer firefigter, captain-ranked air force militia spec officer.
Great friend and generally nice to have me around - For a talk, a beer, or a bonfire (I might as well do all of those things combined). Oh, and I really love music - Rock & country that is, mostly.

Comments and Discussions

-- There are no messages in this forum --