DOCUMENT:Q121653 28-JUL-2001 [win95x] TITLE :SCANDSKW Err Msg: This Program Requires Microsoft Windows PRODUCT :Microsoft Windows 95.x Retail Product PROD/VER:95 OPER/SYS: KEYWORDS:diskmem win95 kbDiskMemory ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Windows 95 ------------------------------------------------------------------------------- SYMPTOMS ======== If you try to run the Windows 95 ScanDisk Disk Checking and Repair Tool (SCANDSKW.EXE) from an MS-DOS command prompt with the current drive locked, you receive the following error message: This program requires Microsoft Windows. CAUSE ===== ScanDisk cannot run on a drive that has been locked in an MS-DOS window. WORKAROUND ========== If you unlock the drive, you can run ScanDisk. To do this: 1. Use the COMMAND.COM Unlock switch as follows: UNLOCK : 2. Run SCANDSKW again. MORE INFORMATION ================ ScanDisk for Windows 95 does not run on locked drives. This behavior is by design. You must unlock the drive before ScanDisk can be used. If you try to run SCANDSKW from an MS-DOS command prompt on a locked drive, but the current drive is not locked, you receive the following error message: The ScanDisk operation cannot be performed now. It may work at a later time or if you shut down applications that are accessing the drive. For example, if drive C is the current drive and drive D is locked, you receive the above error when you run SCANDSKW D: from the C: drive. If you start the ScanDisk graphical user interface first and then select a drive that has been locked, you also receive the above error message. If you choose OK and then choose to start the ScanDisk operation anyway, you receive the following error message: The ScanDisk operation failed to complete because the ScanDisk operation is not supported on this drive. Note that this may be caused by the drive being locked by another application or the system. For more information about Exclusive Volume Locking and the Windows 95 Lock and Unlock commands, query on the following words in the Microsoft Knowledge Base: exclusive and volume and lock Additional query words: windisk fixdrive.exe err msg ====================================================================== Keywords : diskmem win95 kbDiskMemory Technology : kbWin95search kbZNotKeyword3 Version : 95 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2001.