Hello all! First post here.
I am trying to setup CCleaner on all of my PC's in my domain. Around 150+. I want CCleaner to auto run once a week. Or month.
Question 1: Is there a MSI version of CCleaner? So I can auto deploy?
Question 2: I have created a batch file that runs a script on all pcs in my domain. Here is the script...
---------------------------------------------------------------------------------------------------------
schtasks.exe /delete /TN cleanme /F
schtasks.exe /create /SC WEEKLY /D Fri /TN cleanme /TR "\"c:\Program Files\CCleaner\CCleaner.exe\"/AUTO" /ST 12:05:00 /SD 02/22/2005 /RU System
---------------------------------------------------------------------------------------------------------
This script will first delete any tasks named cleanme, then create a task called cleanme.
This task will run once a week on Friday at 12:05. When I look at the properties of the task everything looks fine.
BUT when I right click it and run it. It will not clean anything. It just comes back with error code 0x2.
Any ideas?
--Daniel