This section explains how to set the investigation tool used by the volume lock error investigation function.
Point
For using Windows Server 2008 or Windows Server 2008 R2
Read the "1.7.2 Notes when using User Account Control (UAC)" above, before setting an investigation tool.
Since handle.exe does not reduce OS performance, it is recommended to enable this function before operations start (always leave it enabled), so that the the cause of "in-use lock errors" can be quickly identified.
And since openfiles.exe does cause OS performance deterioration, it is recommended to enable this function only when an "in-use lock error" has occurred.
To use handle.exe, download it from http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx and store it in Work directory \var\HandleTool.
In a clustered environment, store handle.exe at all the cluster nodes.
If the user account that executes AdvancedCopy Manager commands differs from the AdvancedCopy Manager startup account (communication service logon account), both users must perform this procedure.
The startup account can be checked. Select [Control Panel] >> [Management Tools] >> [Service] to display the [Service] window, and then check the startup account under the [Logon] tab for the AdvancedCopy Manager communications service (AdvancedCopy Manager COM Service).
After handle.exe is stored, execute it from the command prompt without arguments - the "Handle License Agreement" dialog box is displayed. If you agree with the conditions, click the "Accept" button. After that, the dialog box will no longer be displayed in future executions of the program. To prevent display of the dialog box when an "in-use lock error" occurs, make sure you execute handle.exe in advance.
Also after handle.exe is stored, perform the following tasks at all nodes where it is stored:
Log into Windows using the user account that executes AdvancedCopy Manager commands.
At the command prompt, go to "<Work directory>\var\HandleTool".
Type "handle.exe" and press Enter.
If the "Handle License Agreement" dialog box is displayed, then click "Accept" if you agree with the conditions of use.
Note
If the above tasks are not performed in advance, then commands stop responding when an "in-use lock error" occurs.
At this time, the "Handle License Agreement" dialog box is not displayed.
Use the Task Manager to forcibly end handle.exe processing.
To use openfiles.exe to track information on files opened locally, the 'maintain objects list' option must be enabled. To do that, execute "openfiles /local on" from the command prompt, then restart the system.
If a cluster is operating, then execute the above command and restart the system at all nodes that comprise the cluster.
Next, if and only if one of the conditions below apply, copy %SYSTEMROOT%\system32\openfiles.exe to <Work directory>\var\Openfiles_WOW64 (usually %SYSTEMROOT% is C:\Windows):
The OS is Windows Server 2003, x64 Edition or Windows Server 2003 for Itanium-based Systems.
The OS is Windows Server 2008(x64) or Windows Server 2008 R2, and the 32-bit edition of AdvancedCopy Manager is being used,
In a clustered environment, then store openfiles.exe at all nodes that comprise the cluster.