Activating .Net Framework 3.5 features in windows 8 Offline

Guys, You may be facing problem in Windows 8 while installing some old Games or software’s that it is asking you to enable or activate dotnet 3.5 framework like I faced while going to play Call of Duty Modern Warefare 2 online on fourdeltaone servers. That is because by default Windows 8 comes with .Net Framework 4.5 and the .Net Framework 3.5 features are not installed. Like this there are several programs may ask you to install this. And you can’t install this from your PC. It will ask you to connect to the Internet or try to use Windows Update. But you can’t install it from a local installation media or offline because when you double click on the offline installer i.e. dotnetfx35.exe it will show you the same prompt because it is also developed in earlier version of .Net framework.
While you go on installing .Net 3.5 that you have previously downloaded you will see this prompt ..NetFramework 3.5 windows 8
So, what you can do is to resolve this is ..
  • Windows 8 installation DVD or setup files or iso of it.
1) Insert your Windows 8 DVD or Mount your iso file (Right on the iso and click Mount) in case you have the iso or copy your setup files to a directory. But remember the drive letter i.e. of the DVD or the  Mounted iso or the path of the files where you have previously copied the setup files.
2) Now, run a elevated Command prompt as (Click: Start > Type cmd > Now right click on Command Prompt and click on Run as Administrator from the submenu).
3) Now, copy the commands from below in the command prompt.

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

(Remember L: is the drive letter in my case of the Windows 8 iso, change it according to your DVD or the path as “C:\newfolder\sources\sxs”   (incase you have copied the setup files to C drive newfolder))