Microsoft KB Archive/242119

= Unable To Lock for Exclusive Access Message in Disk Admin, with No Files Open =

Article ID: 242119

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q242119



SYMPTOMS
When you try to remove a partition, stripe set, or mirror set in Disk Administrator, you may receive the following error message:

The drive cannot be locked for exclusive use.



CAUSE
This behavior can occur if a file is open on the volume that you are trying to work with. A file is open when:


 * A paging file is located on the volume.
 * A program that was started from the volume is still running.
 * A program that is running has loaded a .dll file from the volume.
 * A program has a file open on the volume.
 * A program's current folder is on the volume.

This behavior can also occur even when there are no files open on the volume because a service that is running on the computer may place a lock on the volume.



RESOLUTION
To resolve this issue, perform the following steps, and try to gain access to the volume after each step, and if the issue is resolved, do not finish the remaining steps:

 Make sure that all files and programs are closed. Stop all services except those required for the most basic computer operation. If you were running Microsoft Mail or Microsoft Schedule+, start Mail, and then, on the File menu, click Exit and Sign Out to stop any hidden processes. If you were running Microsoft Outlook, start Task Manager, and then stop the Outlook.exe process if it appears in the list on the Processes tab. If you run a Systems Management Server (SMS) client, use the Kill.exe program in the Psstools folder on the Systems Management Server CD-ROM, or use Process Viewer in the Microsoft Windows NT Resource Kit to stop the following processes:

APPCTL32

PCMWIN32

 If there is a paging file on the volume, define a paging file of sufficient size on another volume, remove the one on the volume where you are trying to gain access, and then restart the computer.</li> If you log on to the computer with a logon script containing an SMS batch file, remove the batch file from the logon script, and then log on again.</li> To make the volume inaccessible to any processes and to ensure that Disk Administrator can lock the volume: <ol style="list-style-type: lower-alpha;"> Start Disk Administrator.</li> On the Tools menu, click Assign Drive Letter.</li> Click Do not assign a drive letter, and then click OK.</li> On the Partition menu, click Commit Changes Now.</li> Quit Disk Administrator, and then restart the computer.</li></ol> </li></ol>

Additional query words: admin extended logical partition thread

Keywords: kbprb KB242119

-

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

© Microsoft Corporation. All rights reserved.