Enable/Install .Net3.5 on Win10 using cmd

Background:

About two three weeks ago that I get a request to install a software on one of the Win10 computers. The software require computer to run .net 3.5. and the .net 3.5 was pushed to the computer by SCCM, however it keep give me error message. I tried to install it manuly with GUI at first. but It also been blocked by our firewalls. I could not donwoad the reqiure file for .net 3.5 from MS. Therefore , I was trying to see if I could download the .net 3.5 file and install it offline..

How to offline install .NET 3.5 on Win10 computers?

after tried serval different ways inclduing download installation file from MS but still can’t install it due to blocked by firewalls and things. Howevere very lucky that I found I could donwload a CAB file “microsoft-windows-netfx3-ondemand-package.cab” and install from it offline.

Command:

simply copy the CAB file to one of the folder (in my case is C:\Utility\) then run CMD as Admin and run the following commned. It will then install and enable .Net3.5 for you

dism.exe /online /enable-feature /featurename:NetFX3 /source:C:\utility\ /LimitAccess