?
Solved

Scandisk always runs on startup

Posted on 1999-01-11
25
Medium Priority
?
419 Views
Last Modified: 2013-12-16
On a Dell 486 with win95, the startup procedure always calls scandisk, claiming there are errors on the disk. Scandisk then does a surface scan, finding no errors. The system shuts down properly but always says there are faults on the hard disk at startup, but it finds no faults. Is windows at fault or could there be something wrong with the hard disk ?
As an addendum, there is nothing in the autoexec.bat file (i.e. scandisk is not explicitly called at startup) and the system shuts down withouit any problem. If I boot in confirmation mode then the problem occurs when gdi.exe is run. How does win95 know if the disk has a problem ? Could it be a conflict between the BIOS settings and win95 ?
0
Comment
Question by:leylandii
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 3
  • +9
25 Comments
 
LVL 5

Expert Comment

by:Jason_S
ID: 1761131
Sounds like the system is not shuting down properly.

TweakUI from Microsoft will let you select to never run Scandisk on boot if needed.
0
 
LVL 3

Expert Comment

by:khemicals
ID: 1761132
unless someone installed an OEM copy of win95 on the 486 this should not be happening... i would think it is set to run in the autoexec.bat file....

go to start > run
in the open field type the following: sysedit
then press the enter key

close all of the windows that are in the system configuration editor except the one titled autoexec.bat

look for a line that says scandisk on it...  will have text on the same line (possibly) before and after the word scandisk. if there is a line that looks like that add the letters: REM
before the text on the line and put a space after it, then save the file and close it and reboot... it should not run again... ofcourse this assumes you are running win95a or upgrade
0
 
LVL 1

Expert Comment

by:jcarlo
ID: 1761133
I don't think Scandisk is the problem here, if you are not shutting down properly;  it is merely trying to help you avoid seriously screwing up your hard drive.  You MUST shut down properly each time you run windows, using the start menu->shut down.  I apologize if you already know this, but it is important, as Windows always has files open on your hard disk and they can be damaged if windows is not allowed to shut down your computer properly.  Check your autoexec.bat, as khemicals suggests, but using Tweak UI should only be a last resort - it is something like quieting a crying baby by taping its mouth shut.

regards,
Jeremy
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 

Author Comment

by:leylandii
ID: 1761134
Edited text of question
0
 

Author Comment

by:leylandii
ID: 1761135
Adjusted points to 75
0
 
LVL 9

Expert Comment

by:rmarotta
ID: 1761136
leylandii,
Win95B and newer versions will automatically run scandisk if a certain flag is left unchanged at shutdown.  This is normal, for the reasons Jeremy stated above.

Do you see a "It's now safe to turn off your computer" message on-screen before turning off the power?

If not, wait for it before powering-off.
Is so, we can troubleshoot further.
Let us know what happens.
Regards,
Ralph
0
 

Author Comment

by:leylandii
ID: 1761137
As I mentioned in the question, the system shuts down okay, it tells you its safe to turn off the machine, but next time you boot up it insists on doing a thorough check of the disk, including a surface scan. I understand that win95 checks a file to see if it shut down previously okay, perhaps that flag isn't being unset properly, but why does it insist on doing a surface scan when on every other machine I've used it always skips that step.
0
 
LVL 5

Expert Comment

by:Jason_S
ID: 1761138
It must think there are problems on the drive.  How was your system partitioned, and formatted?  Any disk utilities such as Partition Manager?  Is the BIOS configured properly for the drive?  Can you run scandisk, and defrag from Windows?
0
 
LVL 9

Expert Comment

by:rmarotta
ID: 1761139
leylandii,
If you're using Win95B or 98, please see the following article:

http://support.microsoft.com/support/kb/articles/q152/4/04.asp?FR=0

There's a description of the problem and solutions for it.
Let me know if you need more.
Regards,
Ralph
0
 
LVL 5

Expert Comment

by:j_powers
ID: 1761140
two things could be happening:

1. something is no reinitializing correctly (usually a driver)

2. There is a problem with the disk that the surface scan does not detect.

Do this: Go into windows, and run a THOUROGH SCAN DISK. Then run a defrag (it also doesn't hurt to do a virus scan) on all partitions. see what that does.

Next: when did this start happening? Did you install any hardware / software, or has this problem always happened.

Finally, BIOS can play a part in this, but it is so minute. If you are suspicious of the BIOS, then go in to your BIOS, and set it to it's optimal performance (if you have that option).

Let me know what happens.
0
 
LVL 2

Expert Comment

by:Laphroaig
ID: 1761141
This is a flag error.

Boot Win95 in safe mode, shut down using correct procedure. Turn PC off for 10 secs and then reboot normally and see if the error re-occurs. Please advise if it does.
0
 

Expert Comment

by:rich2323
ID: 1761142
there is a flag in MS-DOS.SYS you may want to check to make sure that it is not set to ALWAYS run scandisk, also in MSDOS.SYS you can turn off scandisk when booting up.
0
 
LVL 2

Expert Comment

by:spenner
ID: 1761143
Perhaps you have a corrupted gdi.exe.  Try copying someone elses gdi.exe from their computer onto yours.  Or, if you really want to, simply rename scandisk so the computer can't find it, and it shouldn't bother you again.
0
 
LVL 2

Expert Comment

by:bushhead
ID: 1761144
windows does NOT do a surface scan by default. there must be a very serious problem with your harddisk if it requests to do a surface scan.

if there has been an improper shutdown or something, it would only do a normal file and directory scan free space etc. but NOT a surface scan. i suggest that there may be something seriously wrong with your harddrive, improperly configured or a virus present.

bush
0
 
LVL 3

Expert Comment

by:khemicals
ID: 1761145
leylandii... which of the suggestions above have you tried... without knowing what you have done we cannot really be sure that a logical path of solutions has been done.
0
 
LVL 2

Expert Comment

by:kayton
ID: 1761146
Did you check to see if a scheduling utility thinks that it is supposed to do a thorough Scandisk at a certain time?  
0
 

Author Comment

by:leylandii
ID: 1761147
As far as scandisk is concerned there is no problem with the disk. It does a thorough scan, checks the surface for defects, finding nothing wrong at all and then carries on with the bootup. If I run scandisk in win95 the same thing happens, it finds nothing at all wrong with the disk. Shutdown occurs without a hitch. Is it possible that one or both of the flags on the drive are just not being reset by scandisk for whatever reason. What utility would allow me to look at these bits ? diskdoctor ?
0
 
LVL 5

Expert Comment

by:Jason_S
ID: 1761148
I don't think Disk Doctor will reset this flag.  Have you tried TweakUI?  It has the ability to set this flag (and remove it if it is already set).  You can change this flag yourself by editing the C:\MSDOS.SYS file (back it up first) and changing the autoscan=X to zero.  If it is set to two, then it will run every time you boot. Setting it to one will run it only when there is a problem with shutdown.
0
 

Accepted Solution

by:
NUNES earned 140 total points
ID: 1761149
I have brother who has a PC and every time he used to shut down his PC properly and then get this scan disk problem when he booted up the next time.  If you looked in explorer you could see more then 10 *.chk files all at 50 MB or more.  By running SCANDISK it self and defrag while in windows, then reloading WIN 95 cured it for us.

Check that the drivers your PC are loading during startup are ment to be there.  A customer of mine had also the same problem and the fault of the problem, was that a CD-ROM driver was still trying to load at startup after the customer replaced the CD-ROM.  Once the driver was taken out of the config.sys and autoexec.bat all was fine.

Bootup with a DOS disk, and then run scandisk to check if you have errors.  if no errors were found on the hard disk then it is a driver problem.  If all fails wipe hard disk clean and start again!
0
 
LVL 3

Expert Comment

by:khemicals
ID: 1761150
leylandii have you checked your autoexec.bat file to see if it is in there?
0
 
LVL 3

Expert Comment

by:khemicals
ID: 1761151
also, when you go to start > settings > control panel and open up the system control panel what does it say after system:
0
 
LVL 5

Expert Comment

by:j_powers
ID: 1761152
Run a defrag. That will indicate if you have any sector errors.

I do not think you are at the point of reinstalling anything yet. In fact, I would suggest not to do it.

Let's take this from a different perspective. Go into Control Panel, to device manager, and note down any device that has an exclamation point or question mark to it. I was just dealing with a computer that would not shut down (similar error, this was a win95a machine). There was a token ring card in it, but we were not connected to a token ring. We removed the Token ring drivers, and the computer acted fine.

Hopefully, we will find a driver that is not being used that we can disable, and that will fix your problem.

Let me know.
0
 

Author Comment

by:leylandii
ID: 1761153
The autoexec.bat file is completely empty and there are no conflicting device drivers. The system is in a minimum configuration. Unfortunately I'm now away from the machine 'til the weekend when I'll check over all the comments again to see if one of them fixes the problem.
I'll let you know what happens.
0
 
LVL 9

Expert Comment

by:rmarotta
ID: 1761154
leylandii,
When scandisk runs at startup, does it prompt you with the message "Your computer was not properly shut down......", or is it running automatically?

Is it running scandisk in Dos, (blue screen) or Windows?

If no prompt, check your startup folder, and run regedit to check entrys listed at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Regards,
Ralph
0
 

Author Comment

by:leylandii
ID: 1761155
I've spent far too much time trying to fix this trivial problem, nothing seemed to work so in the end I've wiped the disc and reloaded Windows ! Thanks for the advice.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question