B
Bob Day
Right click on Local C Drive, Tools Tab, you have Error Checking - Check
Now, Deframentation and Back Up.
For an unattended Windows XP Pro system, I would like to run Error Checking
and Deframentation via control panel, Schedule Tasks on a regular basis.
Is the best was to do this to schedule to run the c:\windows\system32\chkdsk
and defrag DOS programs (with proper command line options)? Even in DOS
6.22 ScanDisk replaced chkdsk.
I have successfully created scheduled tasks that run both of these, but they
are clearly DOS and I am not sure they are the equivalent of what runs under
the Tools tab mentioned above (which runs as a windows GUI, not DOS).
Here are my questions:
1) Running c:\windows\system32\ChkDsk C: /F as a scheduled task at 12:01AM
does not really work, since it will come back say some file is in use, do
you want to schedule it for reboot Y/N? Since the machine is unattended,
nothing would happen.
On an NTFS drive, is it even a good idea to run chkdsk on a scheduled basis?
Doesn't NTFS (or maybe it is XP) force you to run chkdsk automatically at
reboot if it detects a problem that would warrant it being run? If it is
wise to run it regularly via schedule tasks, how would I do it to avoid any
questions that require user input?
2) c:\windows\system32\defrag C: as a scheduled task seems to run fine as a
DOS program, but does not look the same as what runs under the tools tab
above (a windows GUI). Is there a way to run it as a scheduled task with a
windows GUI?
3) What happens if two scheduled tasks overlap? Lets say task A starts at
10 and task B starts at 10:01. Is scheduled tasks smart enough to finish A
before it starts B, or will both run in a multitasking fashion (which would
not be good if task A was Defrag).
Thanks for your help
Bob Day
Now, Deframentation and Back Up.
For an unattended Windows XP Pro system, I would like to run Error Checking
and Deframentation via control panel, Schedule Tasks on a regular basis.
Is the best was to do this to schedule to run the c:\windows\system32\chkdsk
and defrag DOS programs (with proper command line options)? Even in DOS
6.22 ScanDisk replaced chkdsk.
I have successfully created scheduled tasks that run both of these, but they
are clearly DOS and I am not sure they are the equivalent of what runs under
the Tools tab mentioned above (which runs as a windows GUI, not DOS).
Here are my questions:
1) Running c:\windows\system32\ChkDsk C: /F as a scheduled task at 12:01AM
does not really work, since it will come back say some file is in use, do
you want to schedule it for reboot Y/N? Since the machine is unattended,
nothing would happen.
On an NTFS drive, is it even a good idea to run chkdsk on a scheduled basis?
Doesn't NTFS (or maybe it is XP) force you to run chkdsk automatically at
reboot if it detects a problem that would warrant it being run? If it is
wise to run it regularly via schedule tasks, how would I do it to avoid any
questions that require user input?
2) c:\windows\system32\defrag C: as a scheduled task seems to run fine as a
DOS program, but does not look the same as what runs under the tools tab
above (a windows GUI). Is there a way to run it as a scheduled task with a
windows GUI?
3) What happens if two scheduled tasks overlap? Lets say task A starts at
10 and task B starts at 10:01. Is scheduled tasks smart enough to finish A
before it starts B, or will both run in a multitasking fashion (which would
not be good if task A was Defrag).
Thanks for your help
Bob Day