chkdsk

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Morning folks

Is there a way to cancel a scheduled 'chkdsk /f at startup' command issued
by system ?. This was triggered by a right click on c: properties/'tools/
error checking. I need to do a defrag now but w2k won't allow until after a
boot.

Thanks in advance
Martin
 
Morning folks

Is there a way to cancel a scheduled 'chkdsk /f at startup' command issued
by system ?. This was triggered by a right click on c: properties/'tools/
error checking. I need to do a defrag now but w2k won't allow until after a
boot.

Thanks in advance
Martin
See tip 8 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Jerold, David...
Did you check if this will actually helps OP? I'm asking because I did
(registry hack as well as "chkdsk /x <disk:>") and still have pop-up stating
that scheduled chkdsk is detected. Guess Disk Defragmenter is checking for
dirty bit is set on volume, not for registry entries.
Btw, your suggestions are much the same as chkntfs changes same registry
entries as in Jerold's tip.
I was almost ready to suggest fsutil as an extra fs management tool
available, just fired it for extra check. To find that first, it is
available on only XP+, and second, it can't clear dirty bit, only query for
status or set it. From the other hand, I can't say it's too disappointing
since thieres high possibility that something is wrong vith volume when
dirty bit is set. And I wouldn't defragment any volume until chkdsk did it's
job.

Martin,
Sorry don't have solution for you exept that you let the system reboot and
chkdsk run to clear dirty bit. AFAIK there's no other way for you fo clear
dirty bit on volume.

hth
Al.
 
Yes it works, if use both the registry entry and turn off the dirty bit check.




Jerold, David...
Did you check if this will actually helps OP? I'm asking because I did
(registry hack as well as "chkdsk /x <disk:>") and still have pop-up stating
that scheduled chkdsk is detected. Guess Disk Defragmenter is checking for
dirty bit is set on volume, not for registry entries.
Btw, your suggestions are much the same as chkntfs changes same registry
entries as in Jerold's tip.
I was almost ready to suggest fsutil as an extra fs management tool
available, just fired it for extra check. To find that first, it is
available on only XP+, and second, it can't clear dirty bit, only query for
status or set it. From the other hand, I can't say it's too disappointing
since thieres high possibility that something is wrong vith volume when
dirty bit is set. And I wouldn't defragment any volume until chkdsk did it's
job.

Martin,
Sorry don't have solution for you exept that you let the system reboot and
chkdsk run to clear dirty bit. AFAIK there's no other way for you fo clear
dirty bit on volume.

hth
Al.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Still can't make it work.
As I can see from my tests on VPC Win2000Pro, chkdisk scheduled at next
startup (by "chkdsk /x c:" or by "chkntfs /c c:", both commands change
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute value)
does NOT affect disk defragmenter's (dfrg.msc) ability to analyze or
defragment drive as long as dirty bit is not set. However, if I set dirty
bit by "fsutil dirty set c:" (copied fsutil from XP box), defragmenter can't
perform analyze/defrag with (I suppose partially misleading) message stating
that chkdsk is scheduled. I did not manage to work this around with chkntfs
and/or registry editing.
and turn off the dirty bit check
You mean at startup or by Defragmenter? If last then how??

Can you please elaborate a bit more?
Al
 
Doing what the person said they did does not set the dirty bit. I wouldn't give advice on how not to check it if the dirty bit is set. There is probably nothing stupider than defraging a dirty partition.
 
David Candy said:
Doing what the person said they did does not set the dirty bit. I wouldn't
give advice on how not to check it if the dirty bit is set. >There is
probably nothing stupider than defraging a dirty partition.

It's a little bit like housecleaning after a night out drinking... it all
makes PERFECT sense at the time, but the next morning... :)

Now where are my car keys?


--

Mike Brown
Asset Forwarding Corp.
EPA-compliant Electronics Recycling
DoD 5220.22-M Data Elimination
http://www.assetforwarding.com
 
Back
Top