Understanding the C:\ProgramData\Microsoft\Windows\Containers Folder Size

ASGLT 5 Reputation points
2025-03-17T01:17:17.3066667+00:00

The C:\ProgramData\Microsoft\Windows\Containers folder is using 25 GB of space, which is concerning after previously extending a 50 GB system partition to 100 GB due to space issues. Despite clearing temp files and the WinSxS folder, the available space continues to decrease.

What is the purpose of this folder, and what are the potential risks associated with deleting it?

Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Marcin Policht 49,640 Reputation points MVP Volunteer Moderator
    2025-03-17T01:33:46.3+00:00

    The C:\ProgramData\Microsoft\Windows\Containers folder stores container-related data, including images, writable layer files, and logs for Windows Containers. It is primarily used by Docker or other container runtimes on Windows. Deleting this folder without properly stopping and removing containers can lead to system instability, broken containerized applications, or the need to reinstall container services. If space is a concern, consider using docker system prune -a to safely remove unused containers, images, and volumes instead of manually deleting files.

    I gather majority of space is used by cached images - these can be safely removed if any of the currently running/provisioned containers are not using them.

    More at https://stackoverflow.com/questions/43588935/docker-for-windows-cleanup


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin


  2. Anonymous
    2025-03-17T09:28:49.1233333+00:00

    Hello,

    Thank you for posting in Microsoft Q&A.

    Based on the description, I understand your question is related to C:\ProgramData\Microsoft\Windows\Containers Folder Size.

    The C:\ProgramData\Microsoft\Windows\Containers folder is primarily used for storing data related to Windows Containers and features like Windows Sandbox and Defender Application Guard. These features create isolated environments for running applications, which helps enhance security by preventing potentially harmful software from affecting the main system.

    Deleting the C:\ProgramData\Microsoft\Windows\Containers folder can lead to several issues:

    Any applications or features relying on Windows Containers, Sandbox, or Defender Application Guard may stop working correctly.

    Removing essential system files can cause instability or unexpected behavior in your operating system.

    Any data stored within these containers, such as isolated browsing sessions or application states, will be lost.

    Always back up important data before making significant changes to system files or folders.

    Have a nice day.

    Best Regards,

    Molly

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.