Release Locks

Applies To: Windows Server 2008 R2

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 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 a command prompt with elevated privileges.

    1. Click Start, and then click All Programs.

    2. Point to Accessories, right-click the Command Prompt icon, and then 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


The name of the computer you want to manage.


The client whose locks you want to release.


Releases all locks.


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

Additional references