Microsoft KB Archive/136425

= Err Msg: Drive Cannot Be Locked for Exclusive Use =

Article ID: 136425

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.1
 * Microsoft Windows NT Advanced Server 3.1
 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Workstation 3.51
 * Microsoft Windows NT Server 3.5
 * Microsoft Windows NT Server 3.51
 * Microsoft Systems Management Server 1.0 Standard Edition
 * Microsoft Systems Management Server 1.1 Standard Edition
 * Microsoft Systems Management Server 1.2 Standard Edition

-



This article was previously published under Q136425



SUMMARY
When you perform an operation that requires exclusive access to a volume, the following error message appears:

The drive cannot be locked for exclusive use. Please check to see if some application are currently accessing the drive. If so, close them and try again.

For example, this error may appear when you:

 Run CHKDSK /F from the command line

-or-

 Run Disk Manager and attempt to change a driver letter

-or-

 Run Disk Manager and start regeneration of a fault tolerance (FT) set



MORE INFORMATION
You can work around the first two situations by postponing the action until after you have rebooted the computer. However, regeneration of an FT set must start immediately.

A file is open when:


 * An application that was started from the volume is still running.
 * An application that is running has loaded a DLL file from the volume.
 * An application has a file open on the volume.
 * An application's current directory is on the volume.

If the error continues to appear after you have stopped all applications and services that could be accessing the volume:

 Remove the Page File.

If there is a page file on the volume, define a page file of sufficient size on another volume and reboot the computer. If you were running Microsoft Mail and or Schedule+, start Mail and click Exit and Sign Out on the File menu.

Microsoft Mail and/or Schedule+ have hidden processes that run in the background. If you run a Systems Management Server client, close the two hidden Systems Management Server processes: Appctl32 and Pcmwin32.

Use Kill.exe from the Psstools directory on the Systems Management Server CD, or Process Viewer from the Windows NT Resource Kit to terminate the processes.</li> If you log on to the machine with any logon script containing any Systems Management Server batch file, then remove the batch file from the logon script and log on again before starting the regeneration.</li> If the error occurs when you try to delete a partition or regenerate a stripe set with parity, do the following: <ol style="list-style-type: lower-alpha;"> Start the Disk Administrator.</li> On the Tools menu, click Assign Drive Letter, and then click "Do not assign a drive letter".</li> Click OK. Click Partition on the menu and then select Commit Changes Now.</li> Exit Disk Administrator, reboot the system, and then try to delete the partition or regenerate the stripe set with parity.</li></ol> </li></ol>

Additional query words: prodnt prodsms

Keywords: kbinfo kbnetwork KB136425

-

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

© Microsoft Corporation. All rights reserved.