How To Activate the .NET Framework 3.5 on Windows 8 Without Internet Access

How To Activate the .NET Framework 3.5 on Windows 8 Without Internet Access

  • Comments 72
  • Likes

Summary:  Milad Aslaner, a Microsoft Premier Field Engineer (PFE) based in Germany, walks us through how you can activate the .NET Framework 3.5 on Windows 8 when you don’t have access to the Internet.  Enjoy!


Microsoft Windows LogoI had to install SQL Server 2012 on my lab computer today. For those of you who follow my blog posts, you might be a little bit surprised why a Desktop PFE is starting talking around SQL, but don’t worry,  this article is still about the Windows Desktop.

One of the prerequisites for a complete SQL Server 2012 installation is that the operating system has the .NET Framework 3.5 installed.  As you might know, Windows 8 has the .NET Framework 4.5 built-in and you can optionally activate .NET Framework 3.5 using the Windows Features panel (see the image below), but the problem is that once you activate the .NET Framework 3.5 the computer will want to access to Microsoft servers on the Internet to get the binaries.

Windows Features - Adding the .NET Framework 3.5

But what do you do if you have no Internet connection? The solution emerges with the Windows 8 ISO and DISM. Have a look below for a quick step-by-step guide on how to install and activate the .NET Framework 3.5 without Internet access:

  1. Create a folder on your system drive called NET35 (example: C:\NET35)
  2. Mount your Windows 8 ISO file or DVD
  3. Copy the folder sources\sxs\ from the Windows 8 ISO into the newly created NET35 folder. I recommend using XCOPY for it, for example: 
    xcopy G:\sources\sxs\*.* C:\NET35 /s
    [Ed: Note that this copies the contents of the SXS folder into C:\NET35, but not the folder itself]
  4. Once you copy all the files, you can now utilize DISM to enable the .NET Framework 3.5 feature by entering the following command in an elevated command prompt (Start, Type "CMD", press Ctrl+Shift+Enter or right-click the Command Prompt item and choose Run as Administrator): 
     DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35 /LimitAccess
    [Ed: Note the above is one line but may wrap in this blog depending on formatting - if in doubt, it should be typed as in the screenshot below.]

If everything runs smoothly you should now have the .NET Framework 3.5 installed without the computer needing access to the Internet.

clip_image003


Written by Milad Aslaner;  Posted by Frank Battiston, MSPFE Editor. Then mildly fiddled with by Tristan.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • i got an error

    You cannot service a running 64-bit operating system with a 32-bit version of DI

    SM.

    Please use the version of DISM that corresponds to your computer's architecture.

  • looks like you have used the 32Bit cmd.exe on a 64Bit Windows 8. Use the 64Bit cmd.exe and try again.

  • Many many Thanxzzzzzzzzzzzzzzzzzzzz............. :)

  • Error : 0x800f081f

    the source files could not be found.

    Help plz

  • i noticed it didnt work with this

    DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35 /LimitAccess

    i had to add the subfolder too

    DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35\sxs /LimitAccess

  • I haven't tried it yet.. i'm downloading the real deal from the net... but it sounds plausible

  • didnt work... error.. 87.. i'll just finish the online process

  • Thank you very much, it worked for me.

  • Is there any possibilities to play Windows 8 Xbox inbult games without internet connection...???? Like in Win7 inbuilt Games that we can play anytime without internet..

  • thanks a bunch, it works like magic..

  • thanksssss a lot

    :D

  • It did't work. I already did what you said above but it keeps on giving me  "ERROR: 0x800f081f"

  • www.4shared.com/.../dotNetFx35_W8_x86_x64.html

    this file will do it simply without much effort,just download and install and you're good to go...

  • 1. this doesn't work with win 8. it asks x64 dism command.

    2. will be grateful if you mention how to give elevated command thru dos.

  • plz help me

    after type it  DISM.exe /online /enable-feature /featurename:NetFX3 /All /Source:c:\net35 /LimitAccess

    to cmd

    i got this eror

    to find a version to your pc check with the software publisher