Integration

Table Of Contents
View Integration
84 VMware, Inc.
6In Value data, enter the command line that invokes the start session script and click OK.
Specify the full path of the start session script and any files that it requires.
7 Navigate to HKLM\SOFTWARE\VMware, Inc.\VMware VDM\Agent\Configuration.
If a Configuration key does not exist, right-click Agent, select New > Key, and create the key.
8 In the navigation area, right-click Configuration, select New > DWord (32 bit) Value, and type
RunScriptsOnStartSession.
9 In the topic area, right-click on the entry for the new DWord value and select Modify.
10 In Value data, type 1 to enable start session scripting. Type 0 to disable this feature. 0 is the default value.
11 (Optional) To delay the StartSession response by View Agent, add a second DWord value to the
Configuration key called WaitScriptsOnStartSession.
A WaitScriptsOnStartSession data value of 1 causes View Agent to delay sending a StartSession
response and fail if the scripts do not complete. A value of 0 means that View Agent does not wait for the
scripts to complete or check script exit codes before sending the StartSession response. The default value
is 0.
12 Set the timeout values in seconds rather than minutes.
a Navigate to HKLM\SOFTWARE\VMware, Inc.\VMware VDM\ScriptEvents.
b Add a DWord value called TimeoutsInMinutes.
c Set a data value of 0.
Setting this timeout value in seconds allows you to configure the VMware View Script Host service
timeout value in seconds. For example, if you set the Script Host service timeout to 30 seconds, you can
ensure that a start session script will either finish running or time out before a View Connection Server
timeout occurs.
13 (Optional) To enable the VMware View Script Host service to time out the start session script, navigate to
HKLM\SOFTWARE\VMware, Inc.\VMware VDM\ScriptEvents\StartSession. Right click the Default
(@) key, select Modify, enter the timeout value in milliseconds, and click OK. A value of 0 means that no
timeout is set.
14 Exit the Registry Editor and restart the system.