After trying to install .net 3.5 via the program and features (see below). I was getting unable to install error 800F0906
I am using windows 8.1.
I inserted windows 8.1 dvd and mounted to d drive then executed from powershell.
- Open admin command prompt
- Type powershell
- From ps prompt type
Enable-WindowsOptionalFeature -Online -FeatureName 'NetFx3' -Source 'd:\sources\sxs'
- It did take 5 minutes to run.
See http://yellowduckguy.wordpress.com/2012/10/19/windows-8-fix-enable-feature-net-3-5-error-0x800f0906/ for a detailed description.
Enter in cmd (run with administratoir rights):
dism /online /Enable-Feature /FeatureName:NetFX3 /All /Source:E:\Sources\SxS /LimitAccess
(e: is your DVD drive)
You probably have a GPO that blocks updates directly from Microsoft. Did not check the WSUS server to see if the required packages were present. Simply made these registry changes and the PC was able to pull down the updates. Note, no need to undo these as the GPO will do it for you.
----- Below this line is the actual content to create your own .REG file -----
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate]
"DisableWindowsUpdateAccess"=dword:00000000
"DisableWindowsUpdateAccessMode"=dword:00000000
Found link that identifies two Windows Updates as the problem if DISM and the offline installer do not work. Uninstall KB2966826 and KB2966828, then try installing 3.5 from programs and features. It worked for me.
I had to log in as a local admin account, rather than runas to get it to download the missing binaries.
I temporarily set User Account Control (UAC) to Never notify.
Start -> Control Panel
Search for uac and select Change User Account Control settings
http://windows.microsoft.com/en-us/windows/turn-user-account-control-on-off#1TC=windows-7
I ran into this issue today and it ended up being a problem with the WSUS server not having the necessary updates synced. To test this, I removed the PC from the policy that points the the WSUS server and adding the feature through the control panel is now working. I don't know if this will apply to everyone but I figured I would add my two cents.
I was facing same issue.
Cause: under gpeditor, MS update service location was set to some local WSUS.
Solution: copy that URL and set MS update service location disable or Not configured from gpeditor. now try steps from feature on/off Windows to install .Net Framework 3.5. after successfully completion revert WSUS update service URL.
[for MS update service location: under Run=> gpedit.msc navigate to Comp Conf->Admin Templates->Win Components->Win Update->"Specify internet MS update service location" ]
if MS update service location is not configured then check internet connection otherwise it's some other related issue.
Microsoft has some changes...
Try the full pack Microsoft .NET Framework 3.5 Service pack 1 (Full Package)
check your windows firewall. That must be turned on.
来源:https://stackoverflow.com/questions/25188234/windows-8-1-unable-to-install-net-framework-3-5-0800f0906