Horizon View Connection Server authenticates users through Windows Active Directory and directs the request to the appropriate virtual machine, physical or blade PC, or Windows Terminal Services server. You can use Microsoft Terminal Servers to provide Terminal Services sessions as desktops to View clients.
Horizon View manages Terminal Services sessions in the same way that it manages other View desktops and provides load balancing for each pool by directing connection requests to the terminal server that has the least number of active sessions.
As of Horizon View 5.2 only 2008 Windows Server Terminal Services is supported. The recipe below will allow administrator to install Horizon View agent on Windows 2012 RDS and enable connectivity to 2012 RDS deployments.
Please be mindful this is TOTALLY UNSUPPORTED BY VMWARE.
You will have to make few changes to the standard Horizon View Agent 64-bit before you install it on your Windows 2012 server. Horizon View Agent uses Microsoft Installer to run a series of validations to understand what components should or should not be installed and what conditions should follow. First we need to open and hack the View Agent.
You will need to download Orca. Orca MSI Editor allows you to edit the properties of any MSI file. With this tool, you can change the title and text within the installer and look at how and where the files are delivered. Once installed you can right-click any MSI and select Open with Orca. This tool used to be a part of Microsoft Developer Tools but is now retired and no longer supported.
Download Orca from here.
The steps outlined below are not supported by VMware. I recommend testing in development environment. If you decide to test or implement you are doing it on your own risk.
Install View Agent and Hack it
- On a Windows 2K8 R2 Server with latest VMware Tools installed execute the installation VMware View 5.1 Agent package (VMware-viewagent-x86_64-5.1.2-928164). Do not click Install or Next.
- Go to %temp% folder, typing %temp% at the Run prompt.
- Find the folder containing the unpacked installation files and copy them to a temporary folder on your desktop.
- Using the Orca utility open ‘VMware View Agent64.msi’ file existing in the temp folder.
- Navigate to ‘Condition’ table.
- Under ‘Tables’ find and open ‘LaunchCondition and delete first four lines and click save.
- Only ‘Not Version9X’ and ‘Privileged’ conditions should remain.
- Close editor
- Install View Agent from the ‘1-copy’ folder
- Register the agent with View Connection Server (view.domain.local)
- Reboot VM
Fake Out – Make the VM believe that it is part of an LDAP server
- Log in to Horizon View Server as: domain\administrator
- Connect to one of your Horizon View connection servers via RDP and execute the ADSI Edit tool or adsiedit.msc
- Use the connection settings below to connect to the internal ADLDS (DC=vdi,DC=vmware,DC=int). Click OK.
- Navigate to Servers OU and select and open the latest CN added to the list. At this point you should be able to see a property ‘Display Name’ containing the name of the server. If this is not the server you are adding you will need to find the correct CN.If you have problems finding your VM because your ADAM has too many entries, read VMware View Pool Membership Management using PowerCLI. The PowerShell object View-Get-Objects will help you to retrieve elements from the ADAM database.
- Because VMware View is not ready to understand Windows 8 kernel version the pae-OSVersion property is not populated during the View Agent registration process.Navigate to the ‘pae-OSVersion’ property and change it to ‘4’. Click OK.
- Now go to View Manager and log in
- If done correctly, RDSx-x will appear and you can now make a pool out of it.
- Pools -> Terminal Services Pool
- Select RDS_x-x etc.
I would like to acknowledge the help from my VMware colleague Fred Schimscheimer to write up this post. Thanks!
This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net.