How To Install .NET Framework 3.5 Offline in Windows 10

You are currently viewing How To Install .NET Framework 3.5 Offline in Windows 10
  • Post author:
  • Post category:Guides
  • Reading time:2 mins read

Windows 10 is released and millions of people have already installed it on their devices. It’s fast and easy to use and comes preinstalled with many useful apps. However, you may need to install an older app that works on .NET Framework 3.5. You need to download and install the .NET Framework 3.5 to run these apps on Windows 10. In case, you don’t want to spend your precious data, you can follow this workaround. Just follow the steps below.

To install .NET Framework 3.5 Offline using DISM, follow the steps

  1. Mount the Windows 10 ISO by double clicking on it.
  2. Run command prompt with administrator privileges.
  3. Now paste this in it,

    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAcces

  4. Replace the D with the drive letter of the drive where you mounted the ISO and press Enter.
  5. Done. Enjoy!

If you are too lazy to perform the above steps, there’s another easy alternative for you. Just copy and paste the below text and save it as a batch file (.bat). After mounting the Windows 10 ISO, run this batch file. It automatically finds the correct drive and installs the .NET Framework 3.5 from it.

@echo off
Title .NET Framework 3.5 Offline Installer
for %%I in (D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist “%%I:\\sources\install.wim” set setupdrv=%%I
if defined setupdrv (
echo Found drive %setupdrv%
echo Installing .NET Framework 3.5…
Dism /online /enable-feature /featurename:NetFX3 /All /Source:%setupdrv%:\sources\sxs /LimitAccess
echo.
echo .NET Framework 3.5 should be installed
echo.
) else (
echo No installation media found!
echo Insert DVD or USB flash drive and run this file once again.
echo.
)
Pause

You may also be interested in: How to Fix KERNEL_SECURITY_CHECK_ERROR BSoD on Windows 10