Share via


Release Locks

Applies To: Windows Server 2008

Releasing locks

  • Using the Windows interface

  • Using the command prompt

To release locks using the Windows interface

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

  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.

Additional references

To release locks using the command prompt

  1. Open the command prompt with elevated privileges.

    1. Click the Start button, and click All Programs.

    2. Click Accessories.

    3. Right-click the command prompt, and select Run as administrator.

  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 /?

Additional references