Windows 8: .NET Installation Issue

image I couldn’t believe it.  I had finally installed Windows 8, and I wasn’t able to blog about it.

I use Windows Live Writer as my blogging tool (most of the time).  One of the required pre-requisites is .NET Framework 3.5, and for whatever reason it would not install for me (see screenshot).

The error code in question was 0x800F0906.

Of course, I am sure eventually there will be a new, Metro-based version of Live Writer around General Availability, but until then I was not willing to let my blog fester, and I was not planning to go back to Windows 7.  Don’t get me wrong, Windows 7 was (and may still be) the best operating system Microsoft has ever released.  However Windows 8 looks pretty hot too, and I have loved it for most of the pre-release stages, and in order for me to do what I do I need to be running the latest and greatest.

However in order to do what I do, I also need to be able to blog… let alone print, and my printer’s software also seems to rely on .NET Framework 3.5.

I did some research, and it turns out that for whatever reason this bug has been around for a while and did not get fixed in the RTM code.  I would have to install the feature manually before proceeding.

  1. Insert the Windows 8 source media.
  2. Find out what drive letter the source media is at.  We’ll call it X:.
  3. Open a command prompt with elevated privileges.  To do that, from the start screen (formerly known as Metro) type cmd, and then right-click on the Command Prompt App, and then click Run as Administrator along the bottom of your screen.  (If it doesn’t appear make sure that your search context is Apps.
  4. Type the following command into the command prompt:

dism /online /enable-feature /featurename:NetFX3 /All /Source:X:\sources\sxs /LimitAccess

(Remember to replace X with your drive letter.

The Deployment Image Servicing and Management (DISM) tool will kick off, and you should see the progress bar start.  It won’t take too long and you should see the following output, with the line ‘The operation completed successfully.’

image

Once this is done your .NET Framework 3.5 is installed, and you should be able to install any programs that have it as a pre-requisite.

Enjoy!

Advertisement

6 responses to “Windows 8: .NET Installation Issue”

  1. In Windows 8, you could also use PowerShell to add the .NET Framework:
    Enable-WindowsOptionalFeature -Online -FeatureName ‘NetFx3’

    This cmdlet is part of the DISM PowerShell module in Windows 8.

    Mike F Robbins
    http://mikefrobbins.com
    @mikefrobbins

    1. Good point Mike. In truth you can do almost anything in PowerShell!

  2. I have never had a problem with installing the Net 3.5 but its a shame that MS haven’t sorted this out yet.

  3. I just installed a copy of windows 8 (legit). When I went to install Adobe Acrobat Professional, I got a warning that it could not install as it couldn’t access .net 2.0. After searching for a while, I came across your website. I followed Mitch’s instructions to the T (don’t know much about PowerShell). Once I ran the command with Windows 8 DVD in the computer, the progress bar moved fast until it got to 64% complete. It stayed there for about 10 minutes. Then it moved to 98% for a couple of minutes. And then it finally said .net 3.5 had been installed successfully. I went back to the Adobe install, and it worked perfectly. Thanks for sharing this info.

  4. And where I can get that fucking “sxs” folder? I upgraded to Windows 8 Pro and I don’t have a that ISO file!

    1. It should be on the install media that you used to update to Windows 8.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: