- Joined
- 5 Apr 2002
- Messages
- 13,314
Good morning.
I am in the process of automating the disk cleanup manager using scheduled tasks. I have set my DWORDS in the registry for sagerun to automatically delete the files I want.
cleanmgr /d C: /sagerun:0200
However, cleanmgr seems to only want to delete files for the profile it is being run under. So if the local administrator is the one running the task only its files will be deleted. Does anyone know of a way to make it scan all profiles on the workstation? My normal configuration for each workstation is:
local administrator
network administrator
network users added to the workstation
Thank you.
I am in the process of automating the disk cleanup manager using scheduled tasks. I have set my DWORDS in the registry for sagerun to automatically delete the files I want.
cleanmgr /d C: /sagerun:0200
However, cleanmgr seems to only want to delete files for the profile it is being run under. So if the local administrator is the one running the task only its files will be deleted. Does anyone know of a way to make it scan all profiles on the workstation? My normal configuration for each workstation is:
local administrator
network administrator
network users added to the workstation
Thank you.