Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change windows kit common installation path

Tags:

windows

sdk

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?enter image description here

???

like image 652
Shay Doron Avatar asked Jun 28 '17 11:06

Shay Doron


1 Answers

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

like image 155
A. David Ing Avatar answered Oct 31 '22 07:10

A. David Ing