hello,
I know a little about scripts but I think this is over my head.
I need to run three scheduled programs on 20 computers in our office without intervention in succession. I like to schedule it when no one is working around 3:00 AM. I was able to this with our 98 boxes but now all are XP's.
Disk Cleanup>cleanmgr.exe
Error-Checking>chkdisk.exe
Disk Defragmenter>defrag.exe
I used Scheduled Tasks to start Disk Cleanup but it needs someone to choose what drive to scan and then click OK and then click OK to delete the files. I need it to run all the way through on it's own.
I have XP machines so Error Checking can only be run after restart.
Defrag is the same as Disk Cleanup it needs someone to choose what's next to be done.
This is what I'm trying to do. First schedule Disk Cleanup to run then after it is finished restart the computer and run Error Checking after Error Checking I think it brings me back to the logon screen. So I think I will have to bypass logon so the final program Defrag can run then restart or log off to bring the system back to the logon/Welcome screen.
Now this is what I have done/tried. The script I did can get Disk Cleanup to start but I can't get past the OK button so the other OK button can be reached so the program can delete the files.
I did a script that will restart the computer. But I need checkdisk to know that it is next to run.
I got from this forum a vbscript that will run defrag completely.
I need to connect all these tasks to work in one fluid motion.
Any help would be appreciated.
spool
Don't argue with an idiot, he will bring you down to his level and beat you with his experience.
I know a little about scripts but I think this is over my head.
I need to run three scheduled programs on 20 computers in our office without intervention in succession. I like to schedule it when no one is working around 3:00 AM. I was able to this with our 98 boxes but now all are XP's.
Disk Cleanup>cleanmgr.exe
Error-Checking>chkdisk.exe
Disk Defragmenter>defrag.exe
I used Scheduled Tasks to start Disk Cleanup but it needs someone to choose what drive to scan and then click OK and then click OK to delete the files. I need it to run all the way through on it's own.
I have XP machines so Error Checking can only be run after restart.
Defrag is the same as Disk Cleanup it needs someone to choose what's next to be done.
This is what I'm trying to do. First schedule Disk Cleanup to run then after it is finished restart the computer and run Error Checking after Error Checking I think it brings me back to the logon screen. So I think I will have to bypass logon so the final program Defrag can run then restart or log off to bring the system back to the logon/Welcome screen.
Now this is what I have done/tried. The script I did can get Disk Cleanup to start but I can't get past the OK button so the other OK button can be reached so the program can delete the files.
I did a script that will restart the computer. But I need checkdisk to know that it is next to run.
I got from this forum a vbscript that will run defrag completely.
I need to connect all these tasks to work in one fluid motion.
Any help would be appreciated.
spool
Don't argue with an idiot, he will bring you down to his level and beat you with his experience.