12

As many people know, Windows systems like to store many redundant files. Are the C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller folder and its 1.2GB contents, created by the Visual Studio 2015 installer, redundant too or are they needed for deinstallation/updates/anything else?

3 Answers3

3

The best way to check if this folder is necessary for operation of the software is to move it to another place and see what happens. If software runs normally even though the folder is no longer in previous place then it is not needed.
Probably those files are just temporary installer files, many developers have this annoying habit of unpacking files into obscure places and leaving them to take up unnecessary space.

2

Officially you should not remove this folder, as per the MSDN forum mentioned in Koenyn's answer.

However it seems to be "safe" (for some definition of safe) to free up some space by moving certain parts of it to another disk e.g. an external HDD.

It appears that these installers are placed for potential future use on-demand if you want to use certain features of Visual Studio - if you know you're never ever going to want to use certain features of Visual Studio in future, then you could move certain items elsewhere to free up space on your C: drive.

For example after installing Visual Studio 2015 I moved the following to a separate drive:

  • AndroidSDK*
  • Win10_Emulator_*
  • VSEmu_Android*

because I knew I wouldn't be doing any mobile dev for Android or Windows Phone.

This freed up 8GB out of the 16GB present in my VisualStudioSecondaryInstaller folder.

sparrowt
  • 2,711
0

VisualStudioSecondaryInstaller (10.1 GB) purpose?

I found this post on MSDN. Short answer is no, don't delete that folder.

According to the site

C:\ProgramData\Microsoft\VisualStudioSecondaryInstaller is created by default, it contains many important components (Such as Android SDK, JavaSDK, UWP components etc), it provides the compiler and different language templates and chche for your to run program normally.
[...]
It couldn't be deleted, if you delete the folder, it will cause the packages missing or corrupted, you may not run VS normally.." – Koenyn Jun 15 '17 at 13:00

Koenyn
  • 101