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.)
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:
Which could be ...
Function: Checks and repairs all local drives.
Function: Fixes damage without prompting.
Function: Checks a drive, but does not repair any damage.
Function: Configures and runs Scandisk according to the Scandisk.ini file settings.
Function: With <b>/autofix</b>, deletes lost clusters rather than saving as files.
Function: When used with <b>/checkonly</b>, or <b>/autofix</b>, it prevents Scandisk from stopping at the summary screen.
Function: Performs a surface scan after other checks.
Function: Configures Scandisk for use with monochrome display
All switches must be separated by a space.
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>
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.
Here's another for the disk defragmenter:
"Title"="Defrag at Startup"
"Cmd"="||DEFRAG.EXE /ALL /N"
Just copy and paste to a text file, and rename with a .reg extension - you know how it goes.