Reputation: 83254
Currently as it stands, I only have Windows 10 SDK 10.0.19041.0 installed, and this is after I uninstalled older versions of Windows 10 SDK.
One can check in the Visual Studio Installer that I really only have Windows 10 SDK 10.0.19041.0 installed
The problem is that as shown above, at C:\Program Files (x86)\Windows Kits\10\Lib
, I still have older Windows 10 SDK folders available. They use up quite a lot of spaces ( around 1.6 GB++) and I want to free them.
I tried to use Add/Remove Program to Remove the older versions of Windows 10 SDK, and it said "removed error" because those older versions are no longer there.
So can I just delete those unwanted folders in C:\Program Files (x86)\Windows Kits\10\Lib
, without affecting my ability to develop on VS 2022?
Upvotes: 3
Views: 1986
Reputation: 298
Archive and delete the folders from what you don't need. Just in case it breaks something, you can restore from archive.
If everything works fine for a longer period, delete the archive.
Upvotes: 1
Reputation: 2475
Try the following:
msiexec /X {product code}
Upvotes: 0