Task Scheduling Disk Cleanup, Defrag and Checkdisk Utilities.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have set up overnight scheduling of the 3 utilities using XP Home Control
Panel Task Scheduler. They each start up on schedule but each one requires
user input and dialogue responses to run them, but naturally the PC is
unattended so the programs just sit waiting for the input/responses to come.
I guess there may be command parameters that can be attached to the start
command for each utility to replace the user input/reponses but am unable to
come up with them. Or perhaps I am way off the mark and it is something
altogether different that's missing. Could anyone assist please? Many Thanks.
Bob Deb
 
Bob said:
I have set up overnight scheduling of the 3 utilities using XP Home Control
Panel Task Scheduler. They each start up on schedule but each one requires
user input and dialogue responses to run them, but naturally the PC is
unattended so the programs just sit waiting for the input/responses to come.
I guess there may be command parameters that can be attached to the start
command for each utility to replace the user input/reponses but am unable to
come up with them. Or perhaps I am way off the mark and it is something
altogether different that's missing. Could anyone assist please? Many Thanks.
Bob Deb

This link might help
http://www.microsoft.com/athome/moredone/maintenance.mspx
 
How to Automate the Disk Cleanup Tool in Windows XP
http://support.microsoft.com/kb/315246
-----

Chkdsk requires a reboot to run correctly.

This should help with chkdsk, schedule Error Checking to run at reboot and
schedule a reboot.

Using Task Scheduler to schedule the computer to shut down and restart at a
specific time
http://www.winxptutor.com/schsd.htm
-----

How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;555098

There are two defrag tools in XP.

dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe is the command line tool that runs from the command prompt.

defrag.exe is the one that you can schedule.

Description of the New Command Line Defrag.exe Included with Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;283080

How To Schedule Tasks in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308569

How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314848

You can also download defrag_all2.vbs.

defrag_all2.vbs - Defrag All Hard Drives - Can be run as a scheduled task
Does not create an error log
© Doug Knox - rev 03/29/2002
http://www.dougknox.com/utility/scripts_desc/defrag_all.htm

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Many thanks - will pursue each reference given and advise results - please
leave this posted as it will be a day or two before I can attack it. Thanks
Again.
 
I have no control over what stays posted, Bob. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Have got Disk Cleanup and Defrag up and running but Checkdisk has got me
'stumped' (good old Aussie slang). Will start a new thread outlining my
problems with it. Many Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top