Here is how to install NetFramework 3.5 offline in windows 10 & Windows 8.1 / 8 .
- Open Start Menu and press cmd , Now press Ctrl+Shift+Enter , This opens administrative command prompt.
- Now copy the below code and replace The drive letter source for windows 10 setup files for example here is E:
Dism /online /enable-feature /featurename:NetFX3 /All /Source:E:sourcessxs /LimitAccessas
windows 10 supports copy paste in command prompt , So in command prompt windows just paste it by Ctrl+V , changing above mentioned source, press ENTER , This takes few minutes
- That’s Done
I Found a interesting script that automatically finds mounted Images and Installs Net-framework 3.5
@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:sourcesinstall.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%:sourcessxs /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
Copy and save this as .bat file and right click and run as administrator
Source of script- Winaero