run_cleanmgr_w_o_confirm_not_silently
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| run_cleanmgr_w_o_confirm_not_silently [2023/04/06 18:05] – created oso | run_cleanmgr_w_o_confirm_not_silently [2025/10/07 18:48] (current) – oso | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Usar los switches '' | Usar los switches '' | ||
| - | Se puede agregar como un GPO, para que corra al inicio o cierre de sesión. | + | '' |
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | Se puede agregar como un GPO, para que corra al inicio o cierre de sesión | ||
| + | </ | ||
| <code powershell> | <code powershell> | ||
| + | |||
| + | Usando gpedit se puede lograr que cada usuario ejecute cleanmgr y el vaciado de la papelera al iniciar sesión con el siguiente '' | ||
| + | |||
| + | <code batch> | ||
| + | @echo off | ||
| + | cleanmgr /sagerun:1 / | ||
| + | rd /s /q C: | ||
| + | exit /b 0 | ||
| + | </ | ||
| + | |||
| + | '' | ||
run_cleanmgr_w_o_confirm_not_silently.1680804304.txt.gz · Last modified: 2024/10/17 21:42 (external edit)
