mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
cleanmgr: add page (#19014)
* cleanmgr: add page * Update pages/windows/cleanmgr.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Refactor cleanmgr command examples for clarity Updated command syntax for cleanmgr to use consistent formatting. --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# cleanmgr
|
||||
|
||||
> Clear unnecessary files from the computer's hard disk.
|
||||
> Deprecated in newer Windows versions and replaced by "Storage Sense".
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/cleanmgr>.
|
||||
|
||||
- Open Disk Cleanup for a specific drive:
|
||||
|
||||
`cleanmgr /d {{C}}`
|
||||
|
||||
- Open Disk Cleanup with all options selected by default:
|
||||
|
||||
`cleanmgr /d {{C}} /lowdisk`
|
||||
|
||||
- Clean up all files automatically without user prompts:
|
||||
|
||||
`cleanmgr /d {{C}} /verylowdisk`
|
||||
|
||||
- Configure which files to clean and save the settings to a specific profile:
|
||||
|
||||
`cleanmgr /sageset:{{profile_number}}`
|
||||
|
||||
- Run Disk Cleanup using a previously configured profile:
|
||||
|
||||
`cleanmgr /sagerun:{{profile_number}}`
|
||||
|
||||
- Clean up files left after a Windows upgrade:
|
||||
|
||||
`cleanmgr /autoclean`
|
||||
|
||||
- Clean up files from a previous Windows installation:
|
||||
|
||||
`cleanmgr /setup`
|
||||
|
||||
- Display help:
|
||||
|
||||
`cleanmgr /?`
|
||||
Reference in New Issue
Block a user