Scripting Scandisk/Defrag/anti-virus etc.

Steely

OSNN Addict
Joined
5 Mar 2002
Messages
71
I want to setup the PC at home so that at say 1am - the PC is defragmented, 2am - scandisk + full surface scan, 3am - virus scan the PC, etc. It is possible to automate the whole process using a series of scripts?

Thanks





Dan
 
the pay version of diskeeper 7 does smart schedule and it can also do it in the background when the pc is idle, very good program.
 
Just use task scheduler. Just space em out far enough to make sure that one prog is completed before the next starts. (I think scan disk with full surface scan is gonna take more than an hour.)
 
Thanks for your help guys. The only problem is how do you automate the scandisk process? For example, how do I get Scandisk process to start and close down when it's finished, same applies to disk defragmenting (although that we will addressed when I get my hands on a copy of Diskkeeper), Virus Scanning and Ad-aware scanning.

I thought Task Scheduler just starts the application, but cannot choose for example, requests for information from dialog boxes, etc. Which is why I thought scripting might have been a way forward as having to close down apps, reply to dialog boxes, etc. kinda eliminates the point of the PC doin' it's business why I'm asleep.

Thanks again

Dan
 
Well, the Task Scheduler has the option to shutdown an app after so long. You might could also check the event log to see what dialogs the different progs come up with. If you know how to script all that tho, please let us know.
 
Task Scheduler

All you need is task sceduler.
You have to go into the program settings and set them up.
On my Win98SE system I had:
Disk Clean up (whatever it's called) Weekly
Scandisk setup for not showinging any messages close on complete/finish weekly.
Another running a full scan w/o messages, close on complete/finish monthly
Defrag all drives once a week 15% frag. also no messages, close on complete/finish

Try all the settings:
It allows running in background, pausing when system gets off idle, starting task from idle, etc.

Everything's there if you look.
 
You could use AutoIt. Script what you need. It remembers mouse movements and keystrokes. Might be your last resort. :huh:
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back