You must enable the VMware View Script Host service on each Horizon 7 desktop virtual machine where you want Horizon 7 to run a start session script. The VMware View Script Host service is disabled by default.
When you configure the VMware View Script Host service, you can optionally specify the user account under which the start session script runs. Start session scripts run in the context of the VMware View Script Host service. By default, the VMware View Host Script service is configured to run as the SYSTEM user.
Important: Start session scripts are run outside a desktop user session and not by the desktop user account. Information is sent directly from the client computer within a script running as the SYSTEM user.
Procedure
- Log in to the Horizon 7 desktop virtual machine.
- At the command prompt, type services.msc to start the Windows Services tool.
- In the details pane, right-click the VMware View Script Host service entry and select Properties.
- On the General tab, select Automatic from the Startup type drop-down menu.
- (Optional) If you do not want the local System account to run the start session script, select the Log On tab, select This account, and type the user name and password of the account to run the start session script.
- Click OK and exit the Windows Services tool.