Windows

cleanmgr

CautionDisk Cleanup

cleanmgr /d C:

Launches Disk Cleanup; /sageset + /sagerun store and replay selections for scheduled cleanups.

Examples

  • cleanmgr /sageset:1 && cleanmgr /sagerun:1Save a profile and run it

Syntax

cleanmgr [/d drive] [/sageset:n /sagerun:n]

Before you run it

Review what's selected for deletion.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store