Question Locked

Disk Cleanup Automation

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I know of sageset and sagerun use to automate cleanup using task scheduler. At one time, I could change the default file selection when cleanmgr is run manually through System Tools. But I don't remember what I did to accomplish that. Does anyone have an idea on it?

2 replies

by marvin165

in schedule taskes set all the parameters for the disk cleanup and modify the command to C:\WINDOWS\system32\cleanmgr.exe /sagerun: 1
this runs clean manager on all the drives on workstation with the settings chosen setting up the scheduled task.

This discussion is closed to new replies.