chkdsking again

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

Sorry about previous post, pasted the wrong thing

So, if I had a batch file called say check_all.bat

fsutil dirty set c:
fsutil dirty set d:
......

then autochk would pick up the dirty bit and check anything I'd tagged ?

Next question would be, if the system hangs / power fails etc is the dirty
bit left set? I'd hopr that it's only marked clean if the system is shutdown
properly.

Rob
 
Hi Rob,

One comment; a good way to run a command on system power up, is simply to
create it as a scheduled task using the GUI and set it to run "When my
computer starts". No logon required - very handy. I use it when my servers
reboot. (They email me info.)
Not sure about the rest. I'll leave that to Rock and Wesley.

CreateWindow
 
Looks like drives are clean unless flagged otherwise - all mine show as not
dirty, anyway.

I guess what I'm trying to do here is similar to the old Win98 behavior of
autochecking if the system isn't shut down properly, to save having to boot
windows just to tell it to check everything and restart.

Would there be any harm in flagging all drives as dirty when the system
starts, and then on (proper) shutdown flagging them clean again - ie if it
doesn't shut down properly everything is going to get checked?

Like I said, I can't seem to get a command console to install, so I'm
looking for alternatives

Rob
 
IF there is a problem caused by a "bad shutdown" Windows XP WILL check
the drive. The fact that it doesn't check the drive is due to the fact
that the system "handled" the "bad shutdown" without a problem. NTFS is
a fairly robust file system, and is not as prone to hiccups like FAT. So
not to worry about the "autocheck" that Win98 did.
 
Hi All,

This is not what happens every time. XP will not check with a chkdsk /r on
every abnormal shutdown.

Friend of mine had a power flick. His mouse stopped working. He tried lots
of stuff; re-detect hardware/re-install drivers/system restore etc.
Still mouse pointer visible but _not_ working....

I told him to do a chkdsk /r and have supper.

After his meal his PC was back and ready. Mouse working just fine!

On the other hand, Rob, unless you have unreliable hardware, setting dirty
every time is a bit over the top IMHO. Just keep a system drive image like a
ghost for disasters.

As I said just MHO.

Cheers,
CreateWindow
 
Back
Top