- Task Scheduling Disk Cleanup, Defrag and Checkdisk Utilities.
- Posted by Bob Deb on April 2nd, 2006
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
- Posted by jkrs on April 2nd, 2006
Bob Deb wrote:
This link might help
http://www.microsoft.com/athome/more...intenance.mspx
- Posted by Wesley Vogel on April 2nd, 2006
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...b;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...b;en-us;283080
How To Schedule Tasks in Windows XP
http://support.microsoft.com/default...b;en-us;308569
How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/default...b;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/scri...defrag_all.htm
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:2B6EAF25-6EE3-49AE-80DB-D1E1DAF5908F@microsoft.com,
Bob Deb <BobDeb@discussions.microsoft.com> hunted and pecked:
- Posted by Bob Deb on April 3rd, 2006
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.
--
Bob Deb
"Wesley Vogel" wrote:
- Posted by Wesley Vogel on April 3rd, 2006
I have no control over what stays posted, Bob. ;-)
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In news:38522F8B-D01D-40A4-8E32-BC198D5573DF@microsoft.com,
Bob Deb <BobDeb@discussions.microsoft.com> hunted and pecked:
- Posted by Bob Deb on April 12th, 2006
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.
--
Bob Deb
"Wesley Vogel" wrote: