• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Scripting Scandisk/Defrag/anti-virus etc.

Steely

OSNN Addict
#1
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
 

GoNz0

NTFS Stoner
#3
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.
 

zyfos

Resurrected
#4
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.)
 

Steely

OSNN Addict
#5
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
 

zyfos

Resurrected
#6
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.
 
I

Indomidable

Guest
#8
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.
 
Z

ZipTriX

Guest
#9
You could use AutoIt. Script what you need. It remembers mouse movements and keystrokes. Might be your last resort. :huh:
 

Members online

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,240
Members
89,017
Latest member
keithgonzaal