Releasing locks

Applies To: Windows Server 2003 R2

To release locks using the Windows interface

  1. Open Microsoft Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Microsoft Services for Network File System.

  2. If necessary, connect to the computer you want to manage.

  3. Right-click Server for NFS, and then click Properties.

  4. Click the Locking tab.

  5. In the list of clients, click the client whose locks you want to release, click Release Locks, and then click Apply.

To release locks using the command line

  1. Open the command prompt.

  2. To list all locks, type:

    nfsadmin server [ComputerName**] –l**

  3. To release locks, type:

    nfsadmin server [ComputerName**] –r [Client| all]**

    Argument Description

    ComputerName

    The name of the computer you want to manage.

    Client

    The client whose locks you want to release.

    All

    Releases all locks.

    Note

    To view the complete syntax for this command, at a command prompt, type: nfsadmin server /?