installer folder occupying space

Rising Flight 3,731 Reputation points
2021-04-01T20:26:28.92+00:00

Hi All

i have a server which has a installer folder under the path C:\Windows\Installer. This installer folder is occupying 40GB of disk space and now i am running out of disk space on primary partition and this server is a physical servers. Can this folder be deleted.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,453 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,370 questions
Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,528 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,113 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
513 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor
    2021-04-02T02:26:32.2+00:00

    Hi,

    Thanks for posting in Q&A platform.

    The size of the C:\Windows\Installer folder is by design and it is not supported to delete files from it. So, the question usually asked is: Can I safely remove the files in this directory? The answer is flatly: No.

    The proper way to alleviate space pressure in this directory is to uninstall any unneeded applications. Or some third party tools may help you resolve this issue, please refer to the following similar threads discussed before:

    Windows Server 2019 installer folder occupied 368GB !!

    How can I free up drive space from the Windows installer folder without killing Windows?

    Please Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.

    And for more details regarding why we don't recommend to delete file in the path C:\Windows\Installer, please refer to the following article:

    Can you safely delete files in the %windir%Installer directory?

    Best Regards,
    Sunny

    ----------

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-04-01T20:31:20.317+00:00

    No, don't delete it. Disk Cleanup should sort it.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments