Zoomed Image

Free Up Disk Space

Endpoint Management Guide

Fix a Computer

Free Up Disk Space

Free Up Disk Space removes superseded Windows component backups from the selected computers. The agent runs Dism.exe /Online /Cleanup-Image /StartComponentCleanup in the background. This is the clean-up Windows runs itself on a schedule. Free Up Disk Space runs it now.

Endpoints > Endpoint List > select one or more computers > Change > Repair > Free Up Disk Space.

There is no dialog. A confirmation asks "Clean up Windows component backups on the selected computers?". Below the question it says "Removed backups cannot be restored." Click Yes to send it.

Files removed

Each Windows update leaves the older versions of the files it replaced in the component store (C:\Windows\WinSxS). The clean-up removes older versions that a newer update has replaced. They are deleted at once, without the 30-day wait the scheduled Windows clean-up allows. It does not touch user files, temporary files, the recycle bin or downloads.

After you click Yes

The message reads "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Endpoints > Endpoints Dashboard > Activity. See Following a run.

The agent starts the clean-up and reports Applied at once. Applied means the clean-up has started. It can run for many minutes after that.

When the clean-up ends, the agent sends the final result for each computer:

  • Verified: the clean-up finished without an error.
  • Failed: Windows reported an error. The run shows the words Windows gave.
  • Timed out: the clean-up was still running after 2 hours.

Only one Windows clean-up or repair runs on a computer at a time. If one is still running, the computer refuses the new one and says when the first one started.

The result does not say how much space was freed. To see the free space, select the computers and click Show > Refresh Now. See Health Now.

Undo

Cannot be undone. Removed component backups cannot be restored.

Key points

  • Free Up Disk Space needs the agent.
  • Because the clean-up runs in the background, the agent is free for other actions while it runs.
  • Wait for Verified before you read the free space again.