Microsoft KB Archive/154998

= Error Message: ScanDisk Cannot Check Drive =

Article ID: 154998

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Windows 95
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q154998



SYMPTOMS
When you try to run ScanDisk, you may receive one of the following error messages:


 * ScanDisk cannot examine drive :

This version of Microsoft ScanDisk will work only with MS-DOS versions 5.0 and later.
 * ScanDisk cannot check this drive now because the disk is not properly formatted, or a program such as a disk utility has locked it. Format the disk or wait for the utility to finish, and then restart ScanDisk.



CAUSE
This symptom can occur for either of the following reasons:


 * You run a previously released version of ScanDisk with OEM Service Release 2 (OSR2) or Windows 98. For example, this could occur if you run ScanDisk from an Emergency Boot Disk created using an earlier version of Windows 95.
 * You run an OSR2 or Windows 98 version of ScanDisk in Windows 95. For example, this could occur if you run ScanDisk from an Emergency Boot Disk created using OSR2 or Windows 98 on a computer running Windows 95.



RESOLUTION
To resolve this issue, use the appropriate method:

Running Windows 95 OSR2
The following files are required by the Windows 95 OSR2 version of ScanDisk:

 Windows\Scandskw.exe           4,896 bytes Windows\System\Dskmaint.dll 214,048 bytes Windows\Command\Scandisk.exe 142,353 bytes

Restore the appropriate files from the Windows 95 OSR2 CD-ROM using the following steps:


 * 1) Start an MS-DOS prompt in Windows 95.
 * 2) Type cd windows and then press ENTER.
 * 3) Type the following lines, pressing ENTER after each line:

ren scandskw.exe *.bak ren system\dskmaint.dll *.bak ren command\scandisk.exe *.bak
 * 1) Insert the Microsoft Windows 95 OSR2 CD-ROM in the CD-ROM drive.
 * 2) Type the following lines, pressing ENTER after each line

extract :\win95\win95_16.cab scandskw.exe /L %windir%

extract :\win95\precopy2.cab dskmaint.dll /L %windir%\system

copy :\win95\scandisk.exe %windir%\command

where is the drive letter of the CD-ROM drive.

Running Windows 95
The following files are required by the Windows 95 version of ScanDisk:

  Windows\Scandskw.exe           4,608 bytes Windows\System\Dskmaint.dll 189,456 bytes Windows\Command\Scandisk.exe 134,738 bytes

Restore the appropriate files from the Windows 95 CD-ROM or floppy disks using the following steps:


 * 1) Start an MS-DOS prompt in Windows 95.
 * 2) Type cd windows and then press ENTER.
 * 3) Type the following lines, pressing ENTER after each line:

ren scandskw.exe *.bak

ren system\dskmaint.dll *.bak

ren command\scandisk.exe *.bak

Extract the files using the appropriate method:

Windows 95 CD-ROM:


 * 1) Insert the Microsoft Windows 95 CD-ROM in the CD-ROM drive.
 * 2) Type the following lines, pressing ENTER after each line

extract :\win95\win95_09.cab scandskw.exe /l %windir%

extract :\win95\precopy2.cab dskmaint.dll /l %windir%\system

copy :\win95\scandisk.exe %windir%\command

where is the drive letter of the CD-ROM drive.
 * 1) Type exit, and then press ENTER to return to windows.

Windows 95 Floppy disks:


 * 1) Type cd\, and then press ENTER.
 * 2) Insert disk 9 of the Windows 95 disks into the floppy disk drive.
 * 3) Type the following line at the command prompt, and then press ENTER

extract /a :\win95_09.cab scandskw.exe /l %windir%

where is the drive letter assigned to the floppy disk drive in which the Windows 95 floppy disk is located.
 * 1) Insert disk 2 of the Windows 95 disks into the floppy disk drive.
 * 2) Type the following line at the command prompt, and then press ENTER:

extract /a :\ precopy2.cab dskmaint.dll /l %windir%\system
 * 1) Insert disk 1 of the Windows 95 disks into the floppy disk drive.
 * 2) Type the following line at the command prompt, and then press ENTER:

copy :\scandisk.exe %windir%\command
 * 1) Type exit, and then press ENTER to return to windows.



MORE INFORMATION
For more information about using the Extract tool, click the Start button, point to Programs, click MS-DOS prompt, type "extract" (without quotation marks), and then press ENTER. Or, see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: 129605

TITLE : How to Extract Original Compressed Windows Files

For additional information about how to determine which folder Windows is installed in, click the article number below to view the article in the Microsoft Knowledge Base:

305792 How to Determine Which Folder Windows Is Installed In

Additional query words: 98

Keywords: kbprb KB154998

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.