Skip to main content

2026 年 9 月 4 日

Increase the Timeout Limit for ClonePrep Customization Scripts on a Windows Machine

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.

Because the customization scripts run on the Horizon Provisioning and Customization Agent's main thread and block other operations, a timeout is implemented to prevent indefinite waiting. The default broker timeout is 10 minutes.

Procedure

  1. On the golden image virtual machine, start the Windows Registry Editor.

    1. Select Start > Command Prompt.

    2. At the command prompt, type regedit.

  2. In the Windows registry, locate the omn-instantclone-ga registry key.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\omn-instantclone-ga

  3. Click Edit and modify the registry value.

    Value Name: ExecScriptTimeout
    Value Type: REG_DWORD
    Value unit: milliseconds
    

    The default value is 20000 milliseconds.

このページは役に立ちましたか?

このトピックについてフィードバックを送信

このトピックは役に立ちましたか?

個人情報や機密情報は入力しないでください。

リンクを生成しています…