Disk Cleanup works on one volume at a time in Windows 10 and 11, so cleaning several drives usually means repeating it with saved settings or a script. If you do not, you waste time clicking through each drive or miss space you could recover. This guide covers the built-in single-drive flow first, then the preset and command-line methods for faster repeat runs.

Using disk cleanup across drives

Disk Cleanup, also called cleanmgr.exe, works on one selected drive per run in the standard window, but manual clicking is not the only path. You can usually launch it from Search, Run, File Explorer, Command Prompt, PowerShell, or Task Manager, then point it at C:, D:, or another volume. For repeat work, cleanmgr /sageset and cleanmgr /sagerun are commonly used to reuse a saved cleanup profile across drives and, in some cases, across machines.

What you'll need

  • A Windows 10 or Windows 11 PC.
  • Administrator rights if you want system-file categories.
  • The drive letter for each volume you plan to clean.
  • Optional: a command prompt, PowerShell window, or Run box for cleanmgr commands.

How do you run Disk Cleanup on a second drive?

Open Disk Cleanup again and choose the next drive, or use cleanmgr /d to jump straight to that drive. For example, cleanmgr /d D targets the D: volume directly, which is faster than reopening the picker and moving through the list. The /d switch selects the drive you want Disk Cleanup to clean, and the same dialog appears regardless of how you launch it (per Microsoft support).

  1. Open the tool. Press Win and type Disk Cleanup, or press Win+R, type cleanmgr, and press Enter. You can also start cleanmgr.exe from Command Prompt or PowerShell.
  2. Pick the target drive. Select C:, D:, or the external volume you want to clean, then continue. Disk Cleanup calculates removable categories for that specific volume only.
  3. Repeat for the next drive. Launch it again for the next letter, or run cleanmgr /d D to open D: directly. That avoids a full UI walk-through each time.
  4. Use elevated mode when needed. Click Clean up system files on the first pass if you want deeper categories. That relaunches Disk Cleanup with administrator rights and rescans the same selected drive.

How can you clean several drives faster with presets?

Use cleanmgr /sageset once to choose the cleanup categories, then run cleanmgr /sagerun to apply that saved profile without picking every box again. Microsoft’s command-line workflow stores the choices in a registry key, and the selected profile is then run against each enumerated drive. The /d switch is not used with /sagerun:n (per Microsoft support).

  1. Build a preset. Open an elevated Command Prompt or PowerShell window and run cleanmgr /sageset:11. Pick the categories you want, then confirm the selection to store it.
  2. Run the preset. Later, run cleanmgr /sagerun:11 to apply that profile. All drives in the computer are enumerated, and the saved profile runs against each one.
  3. Use the same number. The n value can be any integer from 0 to 65535. Reuse the same number for a matching set and run pair so the profile stays consistent.
  4. Save the slower manual step. Keep the UI flow for one-off jobs, but use the preset for repeated cleanup on several volumes or on multiple PCs.

Disk Cleanup drive matrix

Windows 11 desktop with a Disk Cleanup dialog and large headline text
Elevated cleanup reveals deeper system categories beyond the standard disk cleanup list.

This matrix shows the practical difference between the standard UI, elevated cleanup, and the repeatable command-line path. The fastest order is usually C: first, then D:, then any external or secondary volume that is clearly disposable. If the system drive is tight on space, start there because the deeper categories on C: often free the most room (per Microsoft support).

Drive type How to launch Typical categories Admin mode changes the list? Fastest order
C: system drive Win search, Win+R cleanmgr, File Explorer Properties, Command Prompt, PowerShell, or Task Manager via Run new task Temporary files, Recycle Bin, and after elevation, Windows Update Cleanup and Previous Windows installations Yes. Clean up system files recalculates the drive and reveals larger system categories. First
D: data drive cleanmgr /d D or the standard picker Temporary files and Recycle Bin if present; fewer system-specific items than C: Sometimes. Elevation can add deeper categories if Windows files are present on that volume. Second
External or secondary volume cleanmgr /d X with the actual drive letter Common removable categories for that volume; often fewer than the system drive Yes for system-file categories tied to that drive’s contents Last

What changes on system files and data drives?

A Windows 11 desktop with a Disk Cleanup dialog and bold text
Windows Update Cleanup and Previous Windows installations appear only after selecting Clean up system files.

The visible list depends on what that volume contains. A system drive usually exposes the broadest set after elevation, while a data drive often shows a shorter list because many Windows-managed folders are not there. Windows Update Cleanup appears only after Clean up system files, and Previous Windows installations can also appear there; that entry often takes 15 GB to 25 GB (per Microsoft support).

Common large categories

  • Windows Update Cleanup. Expect several minutes, and on systems with long update histories it can run longer than an hour.
  • Previous Windows installations. This is the Windows.old entry when present, and it can be one of the biggest space savers.
  • Temporary files. Useful on both system and data volumes when apps have left behind short-lived files.
  • Recycle Bin. Good to check before assuming the drive needs a deeper cleanup.

Say your C: SSD is nearly full and your D: HDD holds old installers. Clean C: first with Clean up system files, then move to D: with cleanmgr /d D. That order gets the most urgent space back first, then clears secondary clutter without repeating the same clicks.

Suppose Windows Update Cleanup stays busy for 45 minutes on a laptop with years of updates. Leave it alone unless it stops responding entirely. The category can take several minutes and sometimes longer than an hour, so a long run is not unusual.

Common mistakes

The biggest mistake is assuming every drive needs a full manual walkthrough. The faster pattern is one normal pass, one system-file pass when needed, then either cleanmgr /d for a specific volume or cleanmgr /sageset plus /sagerun for repeat cleanup. A second mistake is expecting the same category list on a data drive that you see on C:.

  • Do not mix /d with /sagerun:n.
  • Do not expect Windows Update Cleanup on a standard, non-elevated pass.
  • Do not assume a data drive will show the same large categories as the system drive.
  • Do not wait for Task Manager unless you already need it for a scripted launch; it is possible, but not the best primary path here.

If that did not work, try this next: open Settings > System > Storage > Temporary files on Windows 11 or Settings > System > Storage on Windows 10 to verify what Windows also sees as removable. If you still need a repeatable path, go back to cleanmgr /sageset:11 and cleanmgr /sagerun:11 so the same profile can be reused.

Prevention

For recurring cleanup on several PCs, pick one /sageset number and keep it documented. That keeps the profile consistent, especially when you are cleaning C: plus a secondary data volume on a regular schedule.

Keep reading

Frequently asked questions

Can I run Disk Cleanup on more than one drive at the same time?

Not in separate UI windows for a faster result. The practical repeatable method is cleanmgr /sagerun:n, which runs the saved profile against each enumerated drive. For manual work, you still choose one drive at a time, then repeat or target the next letter with cleanmgr /d X. (Microsoft Learn)

How do I start Disk Cleanup on a second drive like D:?

Run cleanmgr /d D from Run, Command Prompt, or PowerShell. That opens Disk Cleanup directly on D:. If you want system-file categories for that drive, click Clean up system files after the first scan, then let it rescan the same volume.

Does Disk Cleanup need administrator rights for system files?

Yes. Clean up system files relaunches Disk Cleanup with administrator rights and unlocks deeper categories. If you do not use it, you usually see a shorter list and may miss entries such as Windows Update Cleanup and Previous Windows installations.

What command opens Disk Cleanup in Windows 10 and 11?

Use cleanmgr or cleanmgr.exe. Microsoft also documents launching it from Start > Programs > Accessories > System Tools > Disk Cleanup. The same dialog appears no matter how you start it, so the command line is mainly a faster entry point.

Why does Disk Cleanup only show limited options on a data drive?

Because the list depends on what is actually on that volume. A data drive often has fewer Windows-managed files than C:, so the removable categories are shorter. If the drive contains system files or older Windows components, using Clean up system files can reveal more.

How long does Windows Update Cleanup usually take?

Plan for several minutes, and sometimes longer than an hour on machines with long update histories. That category is normal to leave running while it works. If the scan is still progressing, waiting is usually better than restarting the tool mid-run.

Where is Disk Cleanup in Windows 11?

The safest path is Win search for Disk Cleanup, or Win+R and cleanmgr. Windows 11 builds vary in how they present system tools, so the direct command is more dependable than hunting through menus.

Can I use Task Scheduler or a script to clean multiple drives automatically?

Yes, by calling cleanmgr /sagerun:n from a scheduled task or script. That uses the saved preset and runs it across all enumerated drives. For unattended jobs, use a fixed /sageset number, then schedule the matching /sagerun command.