I've created a stripped down version of the Computer Cleanup script.

The biggest difference between the two is that my version doesn't check the syware or antivirus definitions it only does a disk cleanup and a defrag.

However my script keeps failing. I get three notifications from any machine that fails this script.

First one is WDC Step 1 Failure.
Second one is Windows Disk Cleanup (WDC) Failure.
Third one is RMON Disk Clean up Failure.

I pretty sure it has to do with a problem executing the WDC Step 1 as that scripts neads the other two to run first.

Any ideas??



This is my script as copied from the exporter it calls on sample scipts so I wont bother to copy them as well.


******Script******

Script Name: RMON Computer Cleanup
Script Description: Cleanup for the RMON Offie machines

IF True
THEN
Execute Script
Parameter 1 : Windows Disk Cleanup (wdc) (NOTE: Script reference is NOT imported. Correct manually in script editor.
Parameter 2 :
Parameter 3 : 0
OS Type : 0
Execute Script
Parameter 1 : Analyze Defrag Step 1 (NOTE: Script reference is NOT imported. Correct manually in script editor.
Parameter 2 :
Parameter 3 : 0
OS Type : 0
Execute Script
Parameter 1 : Delete Temp Files (NOTE: Script reference is NOT imported. Correct manually in script editor.
Parameter 2 :
Parameter 3 : 0
OS Type : 0
Execute Script
Parameter 1 : Check All Virus Defs (NOTE: Script reference is NOT imported. Correct manually in script editor.
Parameter 2 :
Parameter 3 : 0
OS Type : 0
Write Script Log Entry
Parameter 1 : Computer Cleanup Finished Successfully
OS Type : 0
ELSE
Write Script Log Entry
Parameter 1 : Computer Cleanup Was Not Completed Successfully
OS Type : 0


******Script******

Legacy Forum Name: Wdc Failure,
Legacy Posted By Username: YLindsay