My technical journal.

Maybe useful, maybe not.
posts - 103 , comments - 45 , trackbacks - 0

Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

I’d recently put Windows 8 on a test machine at work and started installing what software I needed. Pretty quickly I found I needed to install .Net Framework 3.5 which is now a ‘Feature’ instead of a separate download.

image

Switching this on prompted me to download files from Windows Update.

image

That seemed to go OK for a while.

image

Unfortunately, after a few minutes, it failed.

image

Error code 0x800F0906 leads you to troubleshooting articles such as:

.NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F0907

http://support2.microsoft.com/kb/2734782

“This error code occurs because the computer cannot download the required files from Windows Update.”

 

  1. First suggestion is to check Windows Update is actually accessible. Start with the easy ones Smile
  2. Getting a little bit trickier, second suggestion is to make sure there isn’t a Group Policy in place preventing the install process from contacting Windows Update.
  3. Then you get your hands dirty with DISM.EXE command line instructions.

Deployment Image Servicing and Management tool

Version: 6.2.9200.16384

 

Image Version: 6.2.9200.16384

 

Enabling feature(s)

[===========================65.9%======                    ]

 

Error: 0x800f081f

 

The source files could not be found.

Use the "Source" option to specify the location of the files that are required t

o restore the feature. For more information on specifying a source location, see

http://go.microsoft.com/fwlink/?LinkId=243077.

 

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

So now I have a new error code – 0x800F081F – to muddy the water with.

Checking the DISM.LOG file

2014-09-29 14:07:15, Info                  
DISM   DISM Package Manager: PID=2296 TID=1256  Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error

2014-09-29 14:07:15, Error                
DISM   DISM Package Manager: PID=2296 TID=4732 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)

2014-09-29 14:07:15, Error                
DISM   DISM Package Manager: PID=2296 TID=4732 The source files could not be found; their location must be specified using the /source option to restore the feature. – GetCbsErrorMsg

Not really helpful as it doesn’t explain what’s missing. Now I’m happy with my DISM command:

Dism /online /enable-feature /featurename:NetFx3 /All
/Source:C:\Drivers\Microsoft\Windows8\sources\sxs

/LimitAccess

so it must be that the files are missing from the install files, which seems unlikely.

Looking for help on the new error code, I found:

Windows Update error 0x800F081F
http://windows.microsoft.com/en-gb/windows-8/windows-update-error-0x800f081f

The recommended DISM.EXE commands to clean up the Component Store made no difference:

dism.exe /online /cleanup-image /scanhealth
dism.exe /online /cleanup-image /restorehealth

 

I then moved on to Joseph Conway’s Technet blog: 

How to troubleshoot error 0x800F081F when installing roles and features
http://blogs.technet.com/b/joscon/archive/2012/11/30/how-to-troubleshoot-error-0x800f081f-when-installing-roles-and-features.aspx

  1. Download the ISO again – couldn’t complete this one easily. Could fill a blog just on how difficult it is to get access to install software at work…
  2. Clean up the Component Store – already tried
  3. Disable any access to WSUS – also already tried
  4. Update your source media – this sounded promising…

How to update local source media to add roles and features
http://blogs.technet.com/b/joscon/archive/2012/11/14/how-to-update-local-source-media-to-add-roles-and-features.aspx

Sadly, I couldn’t get this to work and gave up trying after a while.

 

Going back to basics, my next stop was CBS.LOG as that’s where the “Component-Based Servicing” work is recorded.

2014-09-29 14:18:47, Info                 

CBS    Calling client to resolve source, cannot find file 'amd64_microsoft-windows-wpfcorecomp.resources_31bf3856ad364e35_6.2.9200.21161_en-us_0b79bec03324a82a\PresentationHostDLL.dll.mui'

2014-09-29 14:18:47, Info                 

CBS    Exec: Not able to pre-stage package: Microsoft-Windows-IIS-WebServer-AddOn-Package~31bf3856ad364e35~amd64~en-US~6.2.9200.16384, file: PresentationHostDLL.dll.mui, source: \\?\C:\Windows\Servicing\Packages\amd64_microsoft-windows-wpfcorecomp.resources_31bf3856ad364e35_6.2.9200.21161_en-us_0b79bec03324a82a\PresentationHostDLL.dll.mui

Looking in the \sources\sxs folder, I can only see sub-folders for

image

and so on but not for the missing folders.

Which is when I noticed that the folders have a build number of 6.2.9200.16384 but the missing folder has a build number of 6.2.9200.21161.

Searching online for the build number quickly found problems with a bunch of Windows Update fixes.

.NET Framework 3.5 0x800F0906 then 0x800f081f
http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_update/net-framework-35-0x800f0906-then-0x800f081f/cf62fb25-5ba1-4341-962e-881e7a2951a1

Just uninstall updates KB2966826 and KB2966828 and it will help you.

Looking in the list of installed updates, I found I had KB2966827 present:

MS14-046: Description of the security update for the .NET Framework 3.5 on Windows 8 and Windows Server 2012: August 12, 2014

http://support2.microsoft.com/kb/2966827

Now why do I have a .NET Framework 3.5 hotfix installed on a machine that hasn’t yet had .NET Framework 3.5 installed?!

The presence of the hotfix meant the installation was always expecting to find newer files than came with the Windows 8 source files.

As soon as I uninstalled the hotfix, I could add the .NET Framework 3.5 feature and start using my applications.

Print | posted on Monday, September 29, 2014 5:57 PM |

Feedback

Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

This was a lifesaver today, I figured it was an update that was preventing me from installing NET3.5 because I've installed it successfully about a dozen times on 2012 in the past but all of a sudden it stopped working...Thanks for tracking down the exact Update. You're good people.
9/29/2014 7:11 PM | Benjamin Neu
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Could you help me? I can not uninstall KB2966826. In the control panel, when I select KB2966826, disappears the uninstall button. If I try to uninstall KB2966826 from the command prompt as an administrator, the system responds by saying that the security updates can not be uninstalled.
10/8/2014 1:23 PM | Vins1970
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Which command line did you use?
Try with logging enabled:
WUSA /uninstall Windows8.1-KB2966826-x64.msu /Log:uninstall.txt

Is there anything in uninstall.txt?
10/10/2014 9:39 AM | John Breakwell
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Update for Microsoft .NET Framework 3.5 for x64-based Systems (KB3005628)

it install but revert back
10/14/2014 8:25 PM | somashekhar
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Thanks for the guide, I was getting both errors 0x800F0906 and 0x800F081F when trying to install .Net 3.5. I was trying to install the feature from an old Windows 8 USB stick I made a while ago, the same one I used to install on my machine. I couldn't find either of the updates mentioned installed on my machine. Thankfully I was able to get hold of the most recent build of the Windows 8.1 ISO via MAPS, the command line method of installing .Net 3.5 then finished successfully.
11/17/2014 11:27 AM | Alex
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Thanks, this solved the issue for me.
11/27/2014 7:30 AM | Stephan
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

i tried all bt then also this things comes

error:740
elevated permissions are required to run dism
use an elevated common promt
2/16/2015 10:25 AM | parmarpradhir
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Parmar, you need to do the following:

Start a Command Prompt as an Administrator
https://technet.microsoft.com/en-us/library/cc947813(v=ws.10).aspx
2/16/2015 11:19 AM | John Breakwell
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Hi,
What if I don't have any of the HotFixes you mention installed?
I still can't install .net 3.5...:(

Heeeelp!!!
5/19/2015 12:20 PM | Dana
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Solved!!!

For those of you who don't have any of the above mentioned 3 Hotfixes installed: see the following http://www.askvg.com/fix-cant-install-microsoft-net-framework-3-5-in-windows-8-and-later/

I had actually enabled the bloody "Specify settings for optional component installation and component repair" option, but I hadn't enabled "Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)" option.
I was able to install .net afterwards.


Good luck!
5/19/2015 1:15 PM | Dana
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Dana, that's good news :-)
5/19/2015 1:17 PM | John Breakwell
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Thanks, John! :)
5/19/2015 1:32 PM | Dana
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Thanks, I had removed one of the two .NET 3.5 hotfixes but didn't know about the second.

Why oh why didn't I find this issue on a Microsoft web site. Look like they don't want people to know Windows Update is such a cludge!
1/27/2016 11:53 AM | Mick
Gravatar

# re: Windows 8–can’t install .Net Framework 3.5 (0x800F0906, 0x800F081F)

Glad you got the problem fixed.

"Why oh why didn't I find this issue on a Microsoft web site?"

Not every problem gets a Knowledgebase article. Note that all the sites I used for troubleshooting are Microsoft ones.

"Looks like they don't want people to know Windows Update is such a cludge!"

I don't think a system that supports maybe a billion clients 24x7 can be called a cludge. People make config errors occasionally - it's disappointing - but Windows Update is a major feat of engineering.
1/27/2016 1:50 PM | John Breakwell
Gravatar

# solution on how to install .Net Framework 3.5 in Windows 8

download dotnet_win8 from this link www.mediafire.com/download/8q8sh7hlls1mlt8/dotnet_win8.zip
extract nd install file
click on "yes" when a small window pops out asking you whether or no to clear the temp folder
wait for some minutes
after the installation, shutdown your system nd start it all over (you may as well restart d system).
your .netframework 3.5 has bn successfully installed
3/13/2016 11:05 AM | mykel ifeanyi
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: