ClonePrep post-synchronization or power-off scripts have a timeout limit of 20 seconds. You can increase this limit by changing the ExecScriptTimeout Windows registry value on the golden image virtual machine.
Instead of increasing the timeout limit you can also use your customization script to launch another script or process that performs the long-running task.
Note: Some ClonePrep customization scripts can finish running within the 20-second limit. Test your scripts before you increase the limit.
Procedure
-
On the golden image virtual machine, start the Windows Registry Editor.
-
Select Start > Command Prompt.
-
At the command prompt, type regedit.
-
-
In the Windows registry, locate the registry key.
-
Click Edit and modify the registry value.
Value Name: ExecScriptTimeout Value Type: REG_DWORD Value unit: millisecondsThe default value is 20000 milliseconds.
Was this page helpful?