Integration
Table Of Contents
- View Integration
- Contents
- Introduction
- Integrating with the Event Database
- Using View PowerCLI
- Introduction to View PowerCLI
- View PowerCLI Cmdlets
- View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations
- View PowerCLI Cmdlet Parameters
- Examples of Using View PowerCLI Cmdlets
- Displaying Information About a View Connection Server Instance
- Updating the Configuration of a View Connection Server Instance
- Managing the Configuration of vCenter Servers in View
- Managing Desktop Pools
- Creating and Updating Automatically Provisioned Desktop Pools
- Creating and Updating Linked-Clone Desktop Pools
- Creating and Updating Manually Provisioned Desktop Pools
- Creating Manual Unmanaged Desktop Pools
- Creating and Updating Desktops Provisioned by RDS Hosts
- Obtaining Information About Users and Groups from Active Directory
- Managing Desktop Entitlements
- Managing Remote Sessions
- Managing Virtual Machines
- Displaying Information About Physical Computers
- Updating the Ownership of Machines
- Displaying Information About Events
- Managing the Global Configuration of View
- Managing View Licenses
- Examples of Using View PowerCLI for Enhanced Functionality
- Assign Multiple Network Labels to a Desktop Pool
- Customizing LDAP Data
- Integrating with SCOM
- View Management Packs
- Name a View Connection Server Group
- Import the View MPs
- View Discovery Script
- Run the Discovery Script
- Display Discovered Objects
- Display Managed Objects
- Views and Monitors
- Enable a Proxy Agent on a Server
- Display Performance Data
- Display Information About an Alert
- Restart a Service
- Exclude a Domain from Connectivity Monitoring
- Close Alerts
- Class and Relationship Definitions
- Examining PCoIP Session Statistics
- Dynamically Setting Desktop Policies with Start Session Scripts
- Index
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.