i'm trying to install Windows SDK and my main drive (C) is full. I want to change the path of the installation but it's gray , it's says that ot using the common installation path of Windows kit's path, is there anyway to change this path?
???
What worked for me is to first uninstall all instances of Visual Studio, all Windows Software Development Kits, and the Windows SDK AddOn. (Maybe uninstalling Visual Studio was unnecessary.)
Then I went into the registry and I changed some of the values under here:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots
On my Windows 10 Pro (v 1809) machine, I had 3 values to change. Here I am showing the default values, and I believe the trailing backslash is important.
KitsRoot C:\Program Files (x86)\Windows Kits\8.0\
KitsRoot10 C:\Program Files (x86)\Windows Kits\10\
KitsRoot81 C:\Program Files (x86)\Windows Kits\8.1\
After modifying these values, I could re-install a kit into the appropriate folder (matching the registry values that I had set).
This also fixes one of the unmodifiable paths for the Visual Studio Professional 2017 installation (presumably it relies on the same registry keys).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With