Catégorie : Windows

0

Ménage programmé de votre Windows

Vous connaissez tous la fonction cleanmgr de Windows. Elle lance tout simplement le gestionnaire de nettoyage de Windows.

Mais ce que vous ne savez peut-être pas, c’est qu’en ligne de commande, il y a des options disponibles.
Syntax
CLEANMGR option

Options
/d driveletter: – Select the drive that you want Disk Cleanup to clean.

/sageset:n – Display the Disk Cleanup Settings dialog box and create
a registry key to store the settings you select.
The n value is stored in the registry and allows you to
specify different tasks for Disk Cleanup to run.
n can be any integer from 0 to 65535.
Specify the %systemroot% drive to see all the available options.

/sagerun:n – Run task 'n'
All drives in the computer will be enumerated, and the
selected profile will be run against each drive.
Vous pouvez donc choisir le disque, mais aussi de nombreuses options plus précises et complètes de nettoyage.

[…]