Sign in with
Sign up | Sign in
Your question

What's wrong with scandisk?

Last response: in Windows 95/98/ME
Share
November 7, 2001 11:42:04 PM

Alright...I'm stumped. I'm trying to do a thorough scandisk on my 2 hard drives. But, it keeps saying that it's writing to disk, so it has to restart. Before you answer this, look at <A HREF="http://www.geocities.com/btvillarin" target="_new">the screenshot</A> I took before cancelling it and coming here. Thanks...

(BTW, if you didn't notice it in the screenshot, I'm in safe mode. That means that there shouldn't be anything running in the background.)

<A HREF="http://www.anandtech.com/mysystemrig.html?rigid=13406" target="_new">My System Rig</A>

More about : wrong scandisk

November 8, 2001 2:10:40 AM

Have you got a screen saver or an AntiVirus program running in the background? Being in Safe Mode doesn't mean that none of your programs are running ... only that the operating system has booted into a minimal protected-mode configuration, with the Windows 98 device drivers disabled, and using the standard VGA display adapter.

Since Scandisk checks file structure and integrity, any change to the contents of the drive will force it to restart. Even with all programs closed, there could still be disk activity from a TSR. Some of these programs can be seen in the System tray on the lower right-hand side of the task bar, while others will not.

There are a couple of solutions. First, use Ctrl+Alt+Del open the Task Manager, and temporarily turn off all running programs except Explorer and Systray. Then try running Scandisk again. If this works, afterwards, use MSCONFIG to determine which file was writing to the disk and forcing the Scandisk restart. Then delete or disable it.

You could also reboot to DOS and run the scan from the command prompt.

Just for the heck of it, here are the command line switches to be used with Scandisk in DOS:

scandisk /Switch

Which could be ...

Switch: <b>/all</b>
Function: Checks and repairs all local drives.

Switch: <b>/autofix</b>
Function: Fixes damage without prompting.

Switch: <b>/checkonly</b>
Function: Checks a drive, but does not repair any damage.

Switch: <b>/custom</b>
Function: Configures and runs Scandisk according to the Scandisk.ini file settings.

Switch: <b>/nosave</b>
Function: With <b>/autofix</b>, deletes lost clusters rather than saving as files.

Switch: <b>/nosummary</b>
Function: When used with <b>/checkonly</b>, or <b>/autofix</b>, it prevents Scandisk from stopping at the summary screen.

Switch: <b>/surface</b>
Function: Performs a surface scan after other checks.

Switch: <b>/mono</b>
Function: Configures Scandisk for use with monochrome display

All switches must be separated by a space.

Toejam31

P.S. What's it going to take to get you updated to Win2K, Bryan? Time to stop monkeying around with '98. After all, what's the saying; Friends don't let friends run Win9x? <GRIN>

<font color=red>My Rig:</font color=red> <A HREF="http://www.anandtech.com/mysystemrig.html?rigid=6847" target="_new">http://www.anandtech.com/mysystemrig.html?rigid=6847&lt;/A>
____________________________________________________

<font color=blue>"Does history record any case in which the majority was right?" ... Robert A. Heinlein</font color=blue>
November 8, 2001 2:45:42 AM

When I pressed Ctrl+Alt+Del, the only thing running was Explorer. Thanks for the suggestions, but shouldn't I be able to run Scandisk inside Windows?

P.S. I know! I know! I'm itchin' for it...

<A HREF="http://www.anandtech.com/mysystemrig.html?rigid=13406" target="_new">My System Rig</A>
Related resources
November 8, 2001 11:19:44 AM

Yeah, you should be able to run the program from within the GUI. But it really doesn't matter. Scandisk is a 16-bit program, so it will also run fine in DOS.

My reasoning: If the program runs in DOS, then you don't have any corrupted files within the program itself. And if it is functional, then this means whichever file that is causing the problem is being loaded from within Windows.

Do you have anything running from the Autoexec.bat or the Config.sys files? How about from the Registry ... have you run MSCONFIG? Did you check to see if a screensaver was attempting to load?

You also might want to check your power management settings in the Control Panel, and make sure that nothing is running from this area, like ACPI attempting to spin down the hard drive.

I'll check back later to see what you have discovered.

Toejam31

<font color=red>My Rig:</font color=red> <A HREF="http://www.anandtech.com/mysystemrig.html?rigid=6847" target="_new">http://www.anandtech.com/mysystemrig.html?rigid=6847&lt;/A>
____________________________________________________

<font color=blue>"Does history record any case in which the majority was right?" ... Robert A. Heinlein</font color=blue>
November 8, 2001 1:33:57 PM

One thing in the System Configuration Utility that wasn't running was the Machine Debugger. I renamed it, but it was still in the registry.

Anyways, I used a patch so that Scandisk would run once before all other programs. It worked fine.

Thanks!

<A HREF="http://www.anandtech.com/mysystemrig.html?rigid=13406" target="_new">My System Rig</A>
November 8, 2001 2:36:54 PM

Nah...the website that had it (Winmag.com) doesn't exist, and I can't find it. Here's the text file for it:

---
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx]
"Flags"=dword:00000003
"Title"="ScanDisk at Startup"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\A ScanDisk]
"Cmd"="||SCANDSKW.EXE /A /N"
---

Here's another for the disk defragmenter:
---
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx]
"Flags"=dword:00000003
"Title"="Defrag at Startup"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\Defrag]
"Cmd"="||DEFRAG.EXE /ALL /N"
---
Just copy and paste to a text file, and rename with a .reg extension - you know how it goes.

<A HREF="http://www.anandtech.com/mysystemrig.html?rigid=13406" target="_new">My System Rig</A>
November 8, 2001 3:17:25 PM

Much appreciated ... thanks, dude! All links duly bookmarked, and ready for the next freaked-out user needing a Scandisk/Disk Defragmenter Fix/I can't find *%^$# Winmag!! post. ;-)

Toejam31

<font color=red>My Rig:</font color=red> <A HREF="http://www.anandtech.com/mysystemrig.html?rigid=6847" target="_new">http://www.anandtech.com/mysystemrig.html?rigid=6847&lt;/A>
____________________________________________________

<font color=blue>"Does history record any case in which the majority was right?" ... Robert A. Heinlein</font color=blue>
November 8, 2001 11:31:19 PM

for the next freak? lol on 98 up to me just goto run type msconfig
shut off all programs... click apply click ok click yes..

once restarted do the scan disk you will see it is running fine.. got that phone call at gateway so many times was silly. and it is simply that easy to fix.
!