You must enable the VMware View Script Host service on each View desktop virtual machine where you want View to run a start session script. The VMware View Script Host service is disabled by default.

About this task

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

  1. Log in to the View desktop virtual machine.
  2. At the command prompt, type services.msc to start the Windows Services tool.
  3. In the details pane, right-click the VMware View Script Host service entry and select Properties.
  4. On the General tab, select Automatic from the Startup type drop-down menu.
  5. (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.
  6. Click OK and exit the Windows Services tool.