question

WinTechie-3187 avatar image
1 Vote"
WinTechie-3187 asked MarcSleigh-7083 commented

Installer and WinSxS folder huge size

Hi,

C: drive of my server is almost full, total capacity of is 60 GB.
Size of the "C:\windows\Installer" folder is around 17 GB, Would like to know the use this folder and if cleanup can be done to recover some free space considering it is physical server.

windows-serverwindows-server-2012
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@WinTechie-3187
Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to mark it as an answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·

I always delete the installers folder and I never had any problems. I have been working with computers for 22 years.

0 Votes 0 ·

I always delete the installers folder and I never had any problems. I have been working with computers for 22 years.

0 Votes 0 ·
LeonLaude avatar image
2 Votes"
LeonLaude answered

Hi @WinTechie-3187,

The C:\Windows\Installer folder contains Windows installer cache, it's used to store important files for applications installed using the Windows Installer technology and should not be deleted.

The installer cache is used to maintain (remove / update) the applications and patches installed on the computer. The installer files are a record of file versions and registry dependencies involved in a particular application or application update installation. The availability of this record in the cache helps to uninstall and update applications properly.

For more information, you can refer to the blog post over here:
https://docs.microsoft.com/en-us/archive/blogs/joscon/can-you-safely-delete-files-in-the-windirinstaller-directory


(If the reply was helpful please don't forget to upvote or accept as answer, thank you)


Best regards,
Leon

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyFeng-MSFT avatar image
1 Vote"
JennyFeng-MSFT answered JennyFeng-MSFT edited

@WinTechie-3187
Hi,

No, You can't just delete everything in the WinSxS folder.

Deleting files from the WinSxS folder or deleting the entire WinSxS folder may severely damage your system so that your PC might not boot and make it impossible to update.

You can, however, reduce the size of the WinSxS folder using tools built into Windows.

You could refer to the following official article as your reference:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder

You can use Disk Cleanup to reduce the number of unnecessary files on your drives, which can help your PC run faster. It can delete temporary files and system files, empty the Recycle Bin, and remove a variety of other items that you might no longer need.

Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LokeshSutaar-1055 avatar image
0 Votes"
LokeshSutaar-1055 answered MarcSleigh-7083 commented

You can simply use Disk Cleanup and clean up the unwanted files from WinSxS folder as well or you can remove the unwanted features directly from powershell

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Not so much on Windows Server.

0 Votes 0 ·

install the desktop experience from windows features.

0 Votes 0 ·