Dot net Framework 3.5.1 Will not install from Adding Features?

%3CLINGO-SUB%20id%3D%22lingo-sub-2134252%22%20slang%3D%22en-US%22%3EDot%20net%20Framework%203.5.1%20Will%20not%20install%20from%20Adding%20Features%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134252%22%20slang%3D%22en-US%22%3E%3CP%3EI%20habve%20tried%20this%20on%20the%20other%20build%20also.%3C%2FP%3E%3CP%3EThe%20feature%20still%20does%20not%20install%20even%20when%20I%20direct%20it%20to%20the%20SXS%20folder.%20I%20have%20program%20that%20use%20the%204.8%20and%20the%203.51%20together.%20I%20need%20to%20test%20this%26nbsp%3B%20to%20get%20my%20companies%20programs%20to%20be%20certified.%20Anyone%20have%20any%20ideas.%20And%20Yes%20I%20have%20tried%20the%20DISM%20command%20line%20entry.%20Still%20no%20good.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2134252%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2141803%22%20slang%3D%22en-US%22%3ERe%3A%20Dot%20net%20Framework%203.5.1%20Will%20not%20install%20from%20Adding%20Features%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2141803%22%20slang%3D%22en-US%22%3EMicrosoft%20correct%20me%20if%20I'm%20wrong%2C%20but%20I%20believe%20.net%203.51%20is%20being%20retired%20now.%3CBR%20%2F%3ESuggest%20updating%20the%20code%20to%20the%20program%20accordingly.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2142324%22%20slang%3D%22en-US%22%3ERe%3A%20Dot%20net%20Framework%203.5.1%20Will%20not%20install%20from%20Adding%20Features%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2142324%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F966475%22%20target%3D%22_blank%22%3E%40Billmcseservises%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E.NET%20Framework%203%20is%20still%20available%2C%20but%20it%20is%20not%20present%20on%20the%20sources%20of%20the%20installed%20OS.%20For%20standard%20Windows%2010%2C%20it%20is%20download%20upon%20request%20by%20Windows.%20On%20Windows%20Server%202022%2C%20you%20need%20to%20get%20it%20from%20the%20installation%20iso%2FDVD.%3C%2FP%3E%3CP%3EThe%20install%20process%20in%20Windows%20Server%202019%20and%20Windows%20Server%202022%20goes%20like%20this%3A%3C%2FP%3E%3CP%3E1.%20In%20Server%20Manager%2C%20go%20to%20Add%20Roles%20and%20Features%20and%20click%20next%20until%20you%20reach%20the%20Select%20Features%20page.%3C%2FP%3E%3CP%3E2.%20In%20there%2C%20select%20the%20.NET%20Framework%203.5%20and%204.8%20(4.8%20can%20be%20skipped%2C%20but%20recommanded)%20and%20enable%20all%20the%20feature%20and%20the%20subfeatures.%20(For%20advanced%20users%2C%20some%20subfeatures%20can%20be%20skipped%2C%20if%20truly%20unneccesary)%20It%20is%20pretty%20recommended%20to%20check%20on%20the%20features%20page%20DirectPlay%2C%20(it%20contains%20legacy%20Direct%20X%2C%20from%20before%20Windows%2010%2C%20in%20a%20way%2C%20it%20is%20required%20by%20some%20components%20of%20.NET%20Framework.%20Also%2C%20there%20is%20Windows%2010%20Identity%20Foundation%203.5%2C%20since%20it%20is%20also%20a%20part%20of%20.NET%20Framework%203.%20You%20will%20get%20to%20a%20page%20with%20several%20components%20(I%20do%20not%20remember%20it%20what%20it%20says%20exactly%2C%20I%20rarely%20use%20it)%2C%20there%20you%20shall%20a%20group%20of%20options%20labeled%20Application%20Developement.%20I%20suggest%20you%20check%20all%20things%20in%20there%2C%20since%20they%20are%20all%20related%20to%20.NET%20Framework.%20Of%20course%2C%20if%20you%20are%20an%20advanced%20user%20and%20know%20exactly%20what%20each%20one%20does%20and%20some%20are%20unneccesary%2C%20some%20of%20those%20can%20be%20skipped.%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20When%20you%20get%20to%20Confirm%20Installation%20Selection%20you%20need%20to%20check%20Specify%20Alternate%20Source%20Path.%20You%20need%20to%20acces%20the%20WS%202022%20installation%20DVD%20or%20mounted%20or%20unzipped%20iso%20installation%20USB%20drive%20and%20go%20to%20the%20Sources%20and%20then%20Sxs%20in%20Sources.%20Get%20the%20adress%20in%20Windows%20Explorer%20and%20add%20it%20to%20Specify%20Alternate%20Source%20Path.%20This%20is%20the%20most%20important%20step.%3C%2FP%3E%3CP%3E4.%20Click%20install%20and%20wait%20for%20the%20installation%20to%20finish.%20A%20reboot%20may%20be%20required.%20That%20is%20suppose%20to%20be%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I habve tried this on the other build also.

The feature still does not install even when I direct it to the SXS folder. I have program that use the 4.8 and the 3.51 together. I need to test this  to get my companies programs to be certified. Anyone have any ideas. And Yes I have tried the DISM command line entry. Still no good.

4 Replies
Microsoft correct me if I'm wrong, but I believe .net 3.51 is being retired now.
Suggest updating the code to the program accordingly.

@Billmcseservises 

.NET Framework 3 is still available, but it is not present on the sources of the installed OS. For standard Windows 10, it is download upon request by Windows. On Windows Server 2022, you need to get it from the installation iso/DVD.

The install process in Windows Server 2019 and Windows Server 2022 goes like this:

1. In Server Manager, go to Add Roles and Features and click next until you reach the Select Features page.

2. In there, select the .NET Framework 3.5 and 4.8 (4.8 can be skipped, but recommanded) and enable all the feature and the subfeatures. (For advanced users, some subfeatures can be skipped, if truly unneccesary) It is pretty recommended to check on the features page DirectPlay, (it contains legacy Direct X, from before Windows 10, in a way, it is required by some components of .NET Framework. Also, there is Windows 10 Identity Foundation 3.5, since it is also a part of .NET Framework 3. You will get to a page with several components (I do not remember it what it says exactly, I rarely use it), there you shall a group of options labeled Application Developement. I suggest you check all things in there, since they are all related to .NET Framework. Of course, if you are an advanced user and know exactly what each one does and some are unneccesary, some of those can be skipped. 

3. When you get to Confirm Installation Selection you need to check Specify Alternate Source Path. You need to acces the WS 2022 installation DVD or mounted or unzipped iso installation USB drive and go to the Sources and then Sxs in Sources. Get the adress in Windows Explorer and add it to Specify Alternate Source Path. This is the most important step.

4. Click install and wait for the installation to finish. A reboot may be required. That is suppose to be it. 

 

@Radu Ilie is correct. In fact, nothing in this regards has changed since Windows 8 or Windows Server 2012.

 

If you want to automate this procedure, here's a very basic PowerShell script. This is just a sample, you can certainly adjust it to work better in your specific scenarios.

 

Couple of additional considerations.

 

  1. You only need to mount the ISO and explicitly specify the path during the preview period. When the OS is released, the installation sources are published to Windows Update. Hence, if you have Internet connectivity, you can skip this part and just run the command which adds the capability. It will transparently pull the sources from Windows Update.
  2. If you want to maintain your own repository for those installation sources, you can specify a local network path using Group policy. This article has some information on this option for beginners. Of course, you can do so even after the OS is released if you don't want every server to reach directly to Windows Update.

If you have tried these steps precisely and installation fails, please be more specific about your experience. Tell us what exactly you did (i.e. where you obtained the sources and how exactly you specified the path) and what was the outcome. If there was an error message, please copy it as is, preferably via text. (But a screenshot would also do.) Thank you for providing the feedback!