Unsolved

9 Legend

 • 

15K Posts

34

November 27th, 2025 00:48

Install .NET framework 3.5 offline (really offline) without internet access

some old apps need .NET 2.0 and 3.0

You can use DISM: Deployment Image Servicing and Management (DISM) to add .NET Framework 3.5 and provide access to the \sources\SxS folder on the installation media to an installation of Windows that is not connected to the Internet.

prerequisite:

  • Installation media
  • Administrator user rights.  
  1. Open a command prompt with administrator user rights (Run as Administrator).

  2. To install .NET Framework 3.5 from installation media located on the D: drive, use the following command:

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

9 Legend

 • 

15K Posts

November 27th, 2025 01:43

well I tried the above command line  but kept getting DISM does not recognize command line option of Source:d:\sources\sxs.

(I forgot to add a / in front of Source)

so try this: 

copy paste the microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab in the D:/sources/sxs folder to C:\ which is root path of C: drive

dism /online /enable-feature /featurename:netfx3 /all /source:c:\ /limitaccess

(edited)

9 Legend

 • 

15K Posts

November 27th, 2025 03:24

I verify the above works in Windows 10 22H2 and Windows 11 25H2.  after DISM reports success, the app installation does not ask for download/install .NET. 

(edited)

No Events found!

Top