Set the Lock Grace Period
Applies To: Windows Server 2008 R2
Setting the lock grace period
Using the Windows interface
Using the command prompt
To set the lock grace period using the Windows interface
Open Services for Network File System: click Start, point to Administrative Tools, and then click Services for Network File System (NFS).
If necessary, connect to the computer you want to manage.
Right-click Server for NFS, and then click Properties.
Click the Locking tab.
In Waiting Period, type the number of seconds within which Services for NFS clients can reestablish file locks after a network or server service interruption.
To save this setting, click Apply.
To set the lock grace period using the command prompt
Open a command prompt with elevated privileges.
Click Start, and then click All Programs.
Point to Accessories, right-click the Command Prompt icon, and then select Run as administrator.
At the command prompt, type:
**nfsadmin server [Computer Name] config lockperiod=**LockingGracePeriod
The name of the computer you want to manage.
The time period (in seconds) within which users can reestablish locks after the server restarts.
To view the complete syntax for this command, at a command prompt, type: nfsadmin server /?