Bug Notification: VS2008 SP1 Breaks WinSDK Configuration Tool

Installing Visual Studio 2008 SP1 breaks the Windows SDK Configuration tool in the Windows SDK for Windows Server 2008 and .NET Framework 3.5.  This tool is used to set the version of Windows SDK headers, libraries and tools you wish to build with in Visual Studio.  After installing VS 2008 SP1, the Configuration tool will crash with an unhandled exception on an X86 computer.  The tool’s UI will be displayed with a blank dialog box on an X64 computer.  This issue does not affect VS 2008 Express SKUs.

The Configuration tool depends on a registry key value that is overwritten with invalid content by the Service Pack patch.  After the SP1 patch is installed, the HKLM\Software\Microsoft\Microsoft SDKs\Windows\v6.0a subkey ProductVersion is set to “v6.0A”.  The tool expects this value to be a build number with the format 6.xxx.xxx.xxx.  On an X64 computer, an additional registry key is overwritten with the invalid value: HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v6.0A@ProductVersion. 

Repair Visual Studio 2008 to reset the ProductVersion value. 

1.  Open the Control Panel and select Products and Features (Add/Remove Programs on pre-Vista operating systems)
2.  Select Microsoft Visual Studio 2008 and click on Uninstall/Change. The Visual Studio 2008 setup wizard will launch.
3.  When prompted, choose to Repair/Reinstall Visual Studio 2008. (This will not remove the Service Pack.)

Alternatively, advanced users can update the registry key(s) manually to set a ProductVersion value of “6.0.6001.17011”.  Review the article, Windows registry information for advanced users before editing the registry. 

On an X86 computer:
· HKLM\Software\Microsoft\Microsoft SDKs\Windows\v6.0a@ProductVersion = 6.0.6001.17011

On an X64 computer:
· HKLM\Software\Microsoft\Microsoft SDKs\Windows\v6.0a@ProductVersion = 6.0.6001.17011
· HKLM\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v6.0A@ProductVersion = 6.0.6001.17011

Note: An additional workaround is necessary to use the SDK Configuration in GUI mode on VS 2008.  Refer to the Windows SDK Blog post, WinSDK bug notification: SDK Config Tool appears to work but fails.

The MSDN Windows SDK Developer Center is the place to find resources and links to Windows SDK products, release notes, technical articles, and more.

Comments (3)

  1. My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. The folks over at Mindscape have released a new (free) add-in for VS2008 called VS File Explorer . The add-in gives an explorer tool

  2. The Windows SDK Configuration Tool sets which version of Windows SDK headers, libraries and tools you

Skip to main content