Re: Task Scheduling Disk Cleanup, Defrag and Checkdisk Utilities.



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:

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 news:2B6EAF25-6EE3-49AE-80DB-D1E1DAF5908F@xxxxxxxxxxxxx,
Bob Deb <BobDeb@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
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


.



Relevant Pages

  • RE: Scheduled Reboot
    ... I suggest you just schedule the ... C:\Windows\System32\shutdown -r command and check if it works. ... | Subject: RE: Scheduled Reboot ... |>Does it work when the user logs on to the Windows XP ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Task Scheduling Disk Cleanup, Defrag and Checkdisk Utilities.
    ... Bob Deb hunted and pecked: ... schedule Error Checking to run at reboot ... How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP ... defrag.exe is the command line tool that runs from the command prompt. ...
    (microsoft.public.windowsxp.general)
  • Re: SchTasks and AT
    ... You Cannot Schedule a Windows XP-Based Computer to Shut Down and Restart ... by Using the AT Command with Shutdown.exe ... |i have created a schtasks to run on application on fixed time and date, ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: SchTasks and AT
    ... You Cannot Schedule a Windows XP-Based Computer to Shut Down and Restart ... by Using the AT Command with Shutdown.exe ... | So, if anyone know, NEXT resemble command in Schtasks, would be | appreciate. ...
    (microsoft.public.windowsxp.general)
  • RE: Export data on scheduled basis when no user in database?
    ... runs when I am logged on to Windows. ... I've never used Klatuu's idea of Task Scheduler for Access. ... specify the command line option. ... Make or modify a macro named AUTOEXEC that opens frmTimer. ...
    (microsoft.public.access.externaldata)