How to run Cleanmgr via Scheduled Task on Windows XP
Hi, I Would like to distribute a CleanMgr task for all my users that will run under Local System account. The Problem is that this task is not running on the Logged on user enviroemnt.instead it is running on the Local System Account. What Can i do to fix this problem ? 10x Tal.
July 25th, 2010 11:58am

Hello, create a scheduled task with your needed configuration settings according to: http://support.microsoft.com/kb/253597 with a .cmd file(maybe cleanmgr.cmd) containing: ;Create the scheduled task on remote workstation's to run dailey at 5 AM if not exist %systemroot%\tasks\at1.job at 05:00 /every:m,t,w,th,f,s,su (cleanmgr.exe with your choosen options from the article above or cleanmgr /? from the command prompt) as a STARTUP script with GPOs to the machines, that way the task run as system with all needed permissions. TEST IN A LAB BEFORE USING ON PRODUCTION!Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2010 2:38pm

Hello Talh, What operation system does domain controller install? If you are using Windows server 2008 or later, I suggest you could configure a Scheduled Task Item under User Configuration\Preferences\Control Panel Settings. Configure a Scheduled Task Item http://technet.microsoft.com/en-us/library/cc725745.aspx How to Automate the Disk Cleanup Tool in Windows XP http://support.microsoft.com/kb/315246 Brent Hu,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
July 28th, 2010 8:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics