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

9 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.