14Jul
Fix Problem Installing Windows SDK for Windows 7
Posted by admin as Microsoft, Technology, Windows
Windows SDK installation fails with following error
A problem occurred while installing selected Windows SDK components.
Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.
Which is not too helpful because there is no "Samples\Setup\HTML\ConfigDetails.htm" on disk yet. This problem occurs primarily because the Document Explorer 2008 installation failed and is currently in a weird state where it cannot access its components in registry. Here is how you fix this problem..
- Open Registry Editor (run RegEdit.Exe)
- Browse to the following key. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components
- Right Click on Components select permissions and then Click Advanced
- Select the "Owner" Tab. Select Administrators (Group) . Click Apply.
- Then Select Checkbox that says "Replace owner on sub containers and objects". Click apply.
- Browse back to the Permissions tab, select the Check box that says "Replace all child objects with inheritable permissions from this object". Click apply
- You might see some warnings after applying permissions and owner settings. This is normal. Some windows components are restricted to changing owner.
And now try to install Windows SDK again. Hope this helps some one struggling with this issue.
If the above instructions did not solve you Windows SDK installation issue, then most of the times there might be a problem where your %temp% environment variable is pointed to. This is because some of the packages included with the Windows SDK are are unable to resolve the %Temp% if it has either more than one path in its value or if it is pointing to the wrong directory.
To verify your %temp% location
- Open command prompt (Click Start, type cmd.exe and click enter)
- Type in SET
- From the resulting output, look at what Temp= is pointing to
Verify that “Temp=” has a value similar to C:\Users\[UserName]\AppData\Local\Temp (Assuming your System Drive is C and Replace [UserName] in above path with your username)
This “Temp=” value should only have one location pointing to your local temp. Any additional paths in the value or different locations will cause a problem. If you find that this “Temp” has some unexpected or additional paths in its value change it to point to the expected value. To change the value of your “temp” environment variable follow the below steps.
- Click Start and Right click on computer and Select Properties
- Click on Advanced System Settings
- Click on Environment Variables in the opened window
- Select Temp under User variable. Click edit and change it to C:\Users\[UserName]\AppData\Local\Temp (Assuming your system drive is C and Replace [UserName] in above path with your user name). Use only one path. Remove any additional paths or other paths.
- Do the same for TMP environment variable
Now try to reinstall the Windows SDK.
- Tags: Microsoft, MSI, Technology, Windows, Windows 7, Windows SDK

36 Responses to Fix Problem Installing Windows SDK for Windows 7
Steve Thresher
August 19th, 2009 at 1:55 pm
I had to use this fix and it worked after I rebooted.
Shared Frank
October 25th, 2009 at 12:29 pm
A fully explained article!
Well done, I found this blog on google and found very intresting.
Thanks and bookmarked
Mohamed Zohni
February 26th, 2010 at 1:06 pm
Insdtallation of the “Microsoft Windows SDK for Windows 7 Win32 Documentation” product has reported the following error: Signature of the file
WinSDKDocWin32_x86.msi could not be obtained. Possible unsigned file
CtrlF5
March 5th, 2010 at 11:59 am
Adrian, Loos like you have an issue with your %temp% variable. I have updated the blog post and added information related to how to detect and fix if %temp% variable is broke.
Hope this helps.
CtrlF5
March 5th, 2010 at 12:01 pm
Mohamed,
From your comment it looks like your download is corrupted.
Clear the contents of your %temp% directory (Usually C:\Users\[UserName]\AppData\Local\Temp) directory and retry download.
Hope this helps
Brian
March 11th, 2010 at 12:23 pm
Thanks for the clear and easy to follow instructions, It helped out a great deal.
Chris
April 16th, 2010 at 2:27 am
Thanks .. very helpfull indeed!
Andy
June 15th, 2010 at 1:18 am
I tried to install the Microsoft Windows Server 2008 & .NET 3.5 SDK from the ISO-File I downloaded from the offical Microsoft website.
The mentioned error occurred but your fix didn’t help me at all unfortunately.
The solution was to install Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 via webinstall instead. This worked well with the first try!
Cheers
Ted.
August 9th, 2010 at 8:02 am
wow, this is incredible, it worked very well, I had almost given up on this one XP machine until I found your registry permissions fix.
john
March 24th, 2011 at 8:42 pm
Now , what to do if the installer partially installs, ie it put the headers and libs on , and theres no remove for that portion in the add remove programs , and i finally got ahold of a valid iso.. but the installer wont let me install due to the headers and libs being installed..
charles
April 30th, 2011 at 7:28 pm
I have tried for several times acording this instruction, but it still failed with same reason. My OS is windows 7 Ultimate.
jonn2
May 26th, 2011 at 10:04 pm
comment1, is nexium a ppi, nhezo, lipitor atorvastatin minnesota, 614489, flomax hydrin, 9830, natural finasteride, bolo, doxycycline best foods with, gshgdk, propecia cautions, %-OOO, soma online, 8]], how to quit lexapro, :-((, find kamagra for sale on line, rwi, lorazepam roxane, ynlh, phentermine doctor knoxville, :DDD, can you snort provigil, =-], singulair allergy medicine warning, 19856, long term effects of taking lisinopril, 8752, theophylline with levaquin, 8-(, funny lunesta, zrc, levitra danger, %DD,
jonn3
June 5th, 2011 at 5:02 pm
comment3, abilify usage in pediatric population, :]]], valtrex 500mg capsule ingredients, 576661, synthroid hoarseness, >:(, ativan antihistimine, 8OO, soma puzzles, jqg, ativan withdrawal addiction, xxrlbc, singulair pills, 601679, long term effects ambien, tfnhcp, cheap $99 adipex online, 094609, compare prices synthroid, 105, effects nervous nexium system, =-OO, zithromax dosing for animals, %-))), is phentermine the same as adipex, ixaoto, typical dose alprazolam, xzlrwa, orange xanax football, >:OOO, treating add with provigil, iqhqh, ambie zolpidem, =-OO, side affects of singulair, dwaqxa,
Andreas
July 9th, 2011 at 9:22 am
If you are still having issues try to remove
either
Microsoft Visual C++ 2010 x64 Redistributable
or
Microsoft Visual C++ 2010 x86 Redistributable
depending on the Version of the SDK you are installing prior to SDK installation. SDK tries to install an older version but the VCRedist_xxx.exe installer fails because a newer version is already installed (typically some 10.0.4xxxx version).
Jeff Centimano [MSFT]
July 28th, 2011 at 10:15 pm
I ran into this today and the fix Andreas suggested worked for me. I tried the registry change first - but no luck. Thanks for this page… it was the second link in a Bing search for “A problem occurred while installing selected Windows SDK components.” –Jeff
Gabe
July 29th, 2011 at 1:21 pm
Andreas, your fix worked for me. Thanks!
bla
August 1st, 2011 at 6:58 am
Andreas, your fix worked for me too!! Thanks!
Andreas
August 4th, 2011 at 4:17 am
Good to hear
Hope this will get fixed in the next version’s setup.
Arthur
October 6th, 2011 at 1:34 pm
Andreas u my Hero thx man it solved the problem finaly =)
Qwerty
October 6th, 2011 at 11:11 pm
Doesn’t work at all. Tried twice Ugh all this to install a video driver for my new amd vid card. never gonna get amd again.
Qwerty
October 6th, 2011 at 11:16 pm
I tried to install Microsoft Visual C++ 2010 x86 Redistributable but it says i’m isiing sdk 7.1 and this issue occurs. Tried the registry idera, and rebooted and failed twice. Did the temp file twice. Just straight up doesn’t work. very frustrating. Any other suggestions of what i should/need to do?
Xinlei QIU
October 9th, 2011 at 2:49 pm
I have applied that method but still with the same problem…
Installation of the “Microsoft Windows SDK for Windows 7″ product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Do I need to uninstall Document Explorer in the System? but actually I haven’t not such soft in my computer…..
Ramon BrĂ¼lisauer
October 27th, 2011 at 9:30 am
The SDK Setup worked like a charm after uninstalling both Visual C++ 2010 Runtimes (x86 and x64). The SDK reinstalls both packages when selecting the appropriate options in the setup.
Thanks to Andreas for the hint
HCG
November 1st, 2011 at 9:43 pm
qndpodusmg6, iHCG Pro Review, xFCkynv, [url=http://desktopfitness.net/]HCG[/url], hpHxbjN, http://desktopfitness.net/ iHCG, UwhWpqE.
Buy car insurance
November 1st, 2011 at 9:44 pm
cphljdusmg6, Car insurance providers, MUWWpnV, [url=http://insurancequotefinders.com/]Car insurance groups[/url], cAGkHjr, http://insurancequotefinders.com/ District of columbia car insurance, gIRWyRf.
Taylan
November 22nd, 2011 at 12:02 pm
I had uninstalled Visual C++ 2010 Redistributables , runtimes and design times for both versions (x86 and x64) and ISO installer worked.
Thank you all for the guidance.
Maybe only uninstalling redist.s could have been enough. I didnt try.
John B.
November 30th, 2011 at 1:00 pm
Hello folks.
Got the following problem:
My system is Windows 7 64 bit and I have to install dSPACE with Matlab support for my work (dSPACE -> Matlab SIMULINK). Well, installation worked and also Matlab 2010b with SIMULINK and Real Time Workshop did, dSPACE is successfully linked to SIMULINK. If I try to create C-code with RTW for a dSPACE processor board,
the matlab command line says: ERROR: No x86 compiler found. Possible reasons are:…….etc and aborts code generation.
Good news is: by now I know the reason: I run a 32bit Version of Matlab on a 64bit Windows 7 platform (dSPACE does not accept 64bit versions!), so some additional software components (-> Visual C++ 2010 Express and SDK 7.1) have to be installed.
Bad news is: Installation of Visual C++ 2010 Express worked without problems, but not SDK 7.1. It starts installation, but after a few seconds it aborts (at some action like: DCCcleanup.amd64 don’t know anymore exactly…) and says: an error occured[...] Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Tryed to uninstall the document explorer, didn’t help.
Tryed cmd.exe but there are no multiple path settings for my TEMP directory, the TMP respectively.
There are more redistibutables installed on my system (2005, 2008 and 2010), 2008 is needed by dSPACE I think. Installation guide says first to install Visual C++ 2010 Express, then SDK 7.1….
Well, what to do now? Uninstall all redistibutables or only both, 2010 x86 and 2010 x64 to try again? Does Matlab need to be installed on a C:\ directory to “find” the x86 compiler or do I have to set the work folder of Matlab onto a C:\directory? If nothing works, could the installation of Visual Studio help (unfortunatelly I only got VS 2005)?
Ok, too many questions, but I’d be glad if someone could help me.
Hank
December 1st, 2011 at 2:03 am
Thanks to Andreas!
After removing Microsoft Visual C++ 2010 x86 Redistributable the setup worked fine.
Brian J
December 2nd, 2011 at 10:15 pm
Thanks, Andreas! That fixed it. Seems like it doesn’t bode well for something so focused on debugging tools to have such poor error handling.
Poulmba
December 13th, 2011 at 8:36 am
Andreas — Thanks SO GD much… i’ve been in firce battle with this problem… saved my ass here….
THUMPS UP !
hfgsd
December 16th, 2011 at 4:37 pm
THX ANDREAS! great that the solution was so simple after all… Dont know why the official site didnt list that solution: http://blogs.msdn.com/b/windowssdk/archive/2009/09/16/windows-7-sdk-setup-common-installation-issues-and-fixes.aspx
some dude
December 19th, 2011 at 11:17 pm
Andreas you solved my problem. u r awesome.
gwwinn
January 6th, 2012 at 5:56 am
Thanks Andreas. Removed the x64 and x86 vs2010 redistributables and installation successful.
PyOpenCl on x64 system | Andrew Berezovskiy notes
January 11th, 2012 at 12:37 pm
[...] and be ready to give it 1.2Gb away. Nevertheless, first install fails with weird reason. Refer to
seventumbles
January 21st, 2012 at 11:35 pm
Once again, thanks Andreas. After trying all other suggested solutions, yours did the trick.
Brian
January 28th, 2012 at 6:36 pm
Hi Hank I was having the same problem and ended up here Andreas’s fix worked just took out all 2010 redist and sdk is installing fine. As for your compiler issue did you try running
’setup -mbuild’ in matlab so it can find your installed compilers?