Where does windows store the info for... Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Disk Editing » Where does windows store the info for a bad shutdown? « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Jim Padgett
Posted on Sunday, Dec 23, 2001 - 20:44:   

If windows thinks you have shutdown improperly and a drive may have bad sectors, it runs scandisk with a full surface scan on the next startup.
Is this 'bad disk' information stored on a hard disk? If so where?
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous
Posted on Saturday, Jan 5, 2002 - 19:03:   

The following registry key shoud do it
[HKLM\System\CurrentControlSet\Control\FileSystem]
Name: DisableScandiskOnBoot
Type: REG_BINARY (Binary Value)
Value: 01

Set the value to 01 to bypass the scandisk.
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous
Posted on Saturday, Aug 21, 2004 - 18:07:   

That does not answer the question.
Top of pagePrevious messageNext messageBottom of page Link to this message

Mike Montgomery (Mikem22)
Posted on Saturday, Aug 21, 2004 - 20:34:   

The $VOLUME entry contains the volume name, serial number and the 'dirty' bit.

Mike
Top of pagePrevious messageNext messageBottom of page Link to this message

Philip Wehrman (Philw)
Posted on Saturday, Apr 8, 2006 - 4:10:   

What flag(s) does WinXP use to trigger CHKDSK on startup after a bad shutdown? Registry, HD or both?

I have XPPro-SP2 installed on 80GB FAT32 drive with one partition. System froze so had to reset. On reboot, XP wanted to run CHKDSK.

A prior thread mentioned $VOLUME but I don't think that applies to FAT32, or if so then don't know what it means.

I want to attempt disk cleanup myself and not just turn-off CHKDSK via the registry.

Any help or info would be appreciated.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Saturday, Apr 8, 2006 - 10:11:   

The "dirty" bit of FAT32 can be found at offset 7 within the file allocation table. Try setting the entire byte to $FF.
Top of pagePrevious messageNext messageBottom of page Link to this message

Philip Wehrman (Philw)
Posted on Sunday, Apr 9, 2006 - 8:53:   

Thank you very much for the reply.
I had another lockup this morning and saw that the second FAT entry was FF FF FF 7F where in the past it was FF FF FF FF.
Great product, thanks again.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.