Setting up desktop virtual machine requires installing components such as VMware Horizon View Desktop agent, View Planner agent and test applications.

Procedure

  1. Create a base Windows 10 / 7 VM.
  2. Shut down the VM.
  3. Open the .vmx file of the VM and add the monitor_control.pseudo_perfctr = "1" entry to the file .

    This entry provides access of the host timer, which is more accurate than the VM timer.

  4. Install all required software for the test, such as Vmware Horizon View Agent, Microsoft Office, Adobe PDF reader, and Chrome.
  5. Install View Planner agent on the VM using viewplanner-agent-version.msi.
  6. Enter the harness IP when prompted.

    The view planner agent process should have access to read and write registry without windows UAC prompts. Disable windows UAC, if necessary.

  7. If this is an RDSH server, set RDSH_SERVER_MODE to 1 and AUTOLOGIN_USER_ACCOUNT to windows user name that is configured for auto login in C:\viewplanner\config\agent.config.
  8. Shut down the VM and take a snapshot.
  9. Create a desktop Sysprep / QuickPrep customization script using vCenter Server.

    This script is used while creating clones from golden desktop VM. The customization script should enable auto-login using an admin account. For remote mode test, configure customization script to join Microsoft active directory domain.