Sign in to follow this  
Followers 0
Fredledingue

SCANDISK starts at every reboot -

26 posts in this topic

After several crashes with Audacity which forced me to pull off the power plug off the computer because it became completely frozen (extremely rare but it happens) I started experiencing the "not properly shut down" warning at every reboot.

Not only it wants to scan disc C, D and E, but also starts with surface scan. 500 Gb of surface scan, he must be kidding. I don't want to wait 3 days before he's done.

The first time the problem appeared I had a problem with WININET.dll (stack error). Why would WININET.dll make an error, I have no idea.

The computer was near to unusable because this error kept on appearing every 5 seconds or so and the computer was extremely busy all the time.

Fortunately I succeeded in fixed that by restarting in DOS mode and using the command "SCANREG /RESTORE". (I wrote this command with a marker on my monitor frame because it's so useful, just next the alt+0128 for the euro symbol.)

That was fixed but the SCANDISK continue to start at every reboot eventhought the computer works normaly and is shut down in the proper way.

I don't know how to tell him to stop that. I ran the normal dos scandisk and the windows scandisk both once and the problem is still there.

0

Share this post


Link to post
Share on other sites

The only thing that springs to mind is do a scandisk in DOS with a surface scan to eliminate the possibility of the disk in the throes of going "belly up"

Best of luck

Tony

0

Share this post


Link to post
Share on other sites

Try AutoScan=2, in MSDOS.SYS (more info at MDGx's).

0

Share this post


Link to post
Share on other sites

If Windows thinks that a Read/Write Error occurred on a Partition, it will set a flag in the Partition to run SCANDISK with Surface Scan. The flag is not cleared if only the basic scan is done. You will need to complete a Surface Scan to clear the flag.

0

Share this post


Link to post
Share on other sites

If you like to live dangerously you can manually hexedit the byte (which is in the FAT):

http://thestarman.narod.ru/DOS/DirtyShutdownFlag.html

AFAIK, this is not related to actual read/write error, but rather to "not clean" shutdown (which matches the "crashes" you report).

jaclaz

0

Share this post


Link to post
Share on other sites

Depending on the POV, a "not clean" shutdown *MAY* be due to Read/Write Errors... :P

0

Share this post


Link to post
Share on other sites

Depending on the POV, a "not clean" shutdown *MAY* be due to Read/Write Errors... :P

No difference in point of view:

read/write error -> (possibly) CRASH->(definitely) "not clean" shutdown->(definitely) Scandisk flag byte set

generally:

*whatever*-> "not clean" shutdown->(definitely) Scandisk flag byte set

jaclaz

0

Share this post


Link to post
Share on other sites

If you like to live dangerously you can manually hexedit the byte (which is in the FAT):

http://thestarman.narod.ru/DOS/DirtyShutdownFlag.html

AFAIK, this is not related to actual read/write error, but rather to "not clean" shutdown (which matches the "crashes" you report).

jaclaz

Perhaps checking "Disable scandisk after bad shutdown" in the advanced options of msconfig will do as well and is certainly safer than hexing the FAT.

0

Share this post


Link to post
Share on other sites

Perhaps checking "Disable scandisk after bad shutdown" in the advanced options of msconfig will do as well and is certainly safer than hexing the FAT.

I may be wrong, of course, but I seem to remember that that prevents the byte to be changed on *next* crash (as opposed to reset the byte already set) :unsure: or maybe it simply tells the system to ignore the byte, but the filesystem is not fully "sound" (i.e. when manually running scandisk or a similar utility the "wrongly set" byte may still create a problem/trigger a surface scan.

Anyway it is the same as the Edit in MSDOS.SYS:

http://support.microsoft.com/kb/152404/en-us

jaclaz

Edited by jaclaz
0

Share this post


Link to post
Share on other sites

Disabling Autoscan will disable all future Scans, leaving you at risk for future corruption. The safest bet is to run the Surface Scan once. Start it and go to bed.

If you are sure there are no Read/Write errors, you can hexedit to reset the flags (both FATs).

0

Share this post


Link to post
Share on other sites

HI, everybody.

So I ran the surface scan to the insistance of both the public audiance (here) and of my computer who would never let me in peace.

...And it happens that I had one bad sector on the C disk. Fortunately it didn't scan the entire physical drive of 500Gb, only the relatively small C partition.

On top of that the file affected was cookies.dat, something likely to be used often and generate errors.

Lesson learned: Believe what your computer is telling you. ;)

It's the first time I'v got the case due to a not-clean shut down.

The not-clean shut down may have been caused by a read/write error that crashed the computer but that's impossible to know. I don't know what's the risk of damaging a HDD doing so. Perhaps it's not null.

In my case not-clean shut down doesn't cause definetly a scan disk. Sometimes it reboots in Safe Mode, sometimes it does the disc scan (which I abort almost everytime), sometimes it even reboots normaly.

There are various reasons why I must do a not-clean shut down. Most of the time it's because the computer fails to shut down at some point. It often (but not always) fails to shut down when it shows the shut-down logo with the sky (in normal shut down I don't even see this sky).

Sometimes the computer fails to start, showing a black screen with an unanimated cursor, some bits of white should I say on the top left. Then Ctrl+Alt+Del may or may not work, it's up to good luck.

The reasons for these annoyances are completely unkown. I have not the slightliest idea of what can cause them but random computer imprecision.

My mohterboard, which should be called grand-mother-board LOL, is quiet old. I had it cleaned completely already once after a total start failure of the machine.

Looks terrible when you read that but I'm still very satisfied of the machine... most of the time it works perfectly, making such hic-up even more surprising.

0

Share this post


Link to post
Share on other sites

Huh!

If it were me I'd run CCleaner and let it delete the standard things, reboot, then run a Full Scan on every partition just for insurance. Hope you have all the necessary patches (including the unofficial ones) installed.

(--of course you aren't me, but hey, opinions are like...)

FWIW, sometimes Surface Scan finds things but then when you use the manufacturer's utility to "fully destructive check the disk" (which resets to Factory, clearing to zeros the MBR and all) then install all over again then Surface scan finds... NADA! (wierd!) Done that before (BTW, usually the ManuScan if finding a bad sector just reassigns the track to "elsewhere", a set of sectors reserved for just that purpose IF any are available.... AFAIK.)

Glad your back up (was looking scary for a while, following the topic events...).

0

Share this post


Link to post
Share on other sites

Glad you got it fixed. Problems like that are one reason I started making system backups before installing new apps or making major changes beyond the registry. Fixing a problem like that can easily take longer than making and restoring many backups.

0

Share this post


Link to post
Share on other sites
Fixing a problem like that can easily take longer than making and restoring many backups.

I subscribe to this idea, too. A backup library is an invaluable asset.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.