First, uninstall your current Windows SDK installation
Download SDK:
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/
Modify the installation settings to target your D drive [
Reinstall the SDK to the new location Set it to D:\Windows Kits or another location on D:]
If you have already installed, then moving the Windows SDK to a different drive like D is not officially supported after installation. Moving it manually to D:
) will break paths, registry references, and environment variables.