×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Disks and ScanDisk

How do I check disks for problems using ScanDisk? by jnicks
Posted: 7 Aug 02 (Edited 8 Aug 02)

     How do I ScanDisk on Startup, Shutdown, and NT/2000 Login?



ScanDisk checks drives for errors.  It takes awhile, particularly if  Scandisk is checking the drive surface for defects which takes so long it should be done on ShutDown.

http://www.tek-tips.com/faqs.cfm?spid=615&sfid=2280&CFID=80783175&CFTOKEN=19846129


On 98 and perhaps ME there are two versions of ScanDisk, one for 16 bit startup, c:\windows\command\scandisk.exe, and one for under Windows operations, c:\windows\scandskw.exe.  The two versions have different parameters which causes some confusion.  Below

In Autoexec.bat, use ScanDisk.  In a login script use ScanDskW.  Which for a shutdown process depends on whether you are sutting to a DOS task or not.

To make the most thorough check, run

  SCANDISK /ALL /SURFACE /AUTOFIX

and run it from DOS so various Windows files will not be busy.  It will take forever on a 120G drive.

Gibson's SpniRite is considered by many to be far superior
http://www.grc.com





-------------  SCANDISK Paramaters
ScanDisk may be used in Autoexec.Bat, the 16 bit scandisk.  To get help enter
SCANDISK /? at a DOS prompt.


/ALL         Checks and repairs all local drives.
/AUTOFIX     Fixes damage without prompting.
/CHECKONLY   Checks a drive, but does not repair any damage.
/CUSTOM      Configures and runs ScanDisk according to SCANDISK.INI settings.
/NOSAVE      With /AUTOFIX, deletes lost clusters rather than saving as files.
/NOSUMMARY   With /CHECKONLY or /AUTOFIX, prevents ScanDisk from stopping at
             summary screens.
/SURFACE     Performs a surface scan after other checks.
/MONO        Configures ScanDisk for use with a monochrome display.

Default, current drive.



-------------  SCANDSKW Paramaters
ScanDskW may be linked to from the desktop, or run from a command prompt.
To get help type F1 at the desktop and enter ScanDisk (not scandskw,
snort).



/a Check all your local hard disks.
/n Start and quit ScanDisk automatically.
/p Prevent ScanDisk from correcting any errors it finds.


Back to Microsoft: Windows FAQ Index
Back to Microsoft: Windows Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close