1. Vmware Horizon View Client
  2. Vmware Horizon View Protocol Failure Rate
Horizon

Oct 21, 2013 Resolving the Blast Protocol Failure Issue with Horizon View 5.2. One of the new features packaged with VMware Horizon View 5.2 is the ability to provide desktop access by way of the Blast protocol with HTML5. This gives you three major methods to connect users to their desktops: PCoIP, RDP, and Blast. Horizon View HTML Access is required to be. See VMware 51518 Production Support for VMware Horizon 7.4, 7.3.2, and 7.2 with Win 10 1709 Semi-Annual Channel (SAC) Guest OS; To verify installation of the URL Content Redirection feature, check for the presence of C: Program Files VMware VMware View Agent bin UrlRedirection. There’s also a new IE add-on. The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. Make sure that the View Agent is installed and that the firewall ports are open (4172, 32111, 443). Reboot machine or check service 'View Agent Connect' through RDP (User Portal) if.

Update: There is a new way to pull the event information without having to enter the sql password please see this post about it.

So two weeks ago I had a nice little post about talking to Horizon View using PowerCLI. I also promised to be digging a bit more into PowerCLI by grabbing the script posted on the VMware blog and editing it a little to my taste. It’s a very useful script they have on there but still I prefer to know what might have caused the issues. I decided I needed to know who the last user was that used the desktop and the last entry into the eventlog and the time of that log. So actually most code used talks to the eventlog database, something already available pre PowerCLI 6.5 but what I hardly ever used.

The basics for connecting I won’t post but we do need an extra connection and that is to the event database:

As with the Horizon View connection it’s best to put this into a variable so it can be used later on. The $hvedbpassword should be the password for the user that View uses to connect to the database server in plain text! Earlier in the script I read the password from hashed contents in a text file.The request has been dropped to be able to pass encrypted credentials and/or creta a credentialstore for this.

Next up is grabbing the events for a certain Desktop

This could use some rework since I would prefer the time period to be a variable based on the current date but if the event is older then a day it will be hard to find anything on it anyway.

This grabs the latest event, the time it happened and the user it happened to. This can be anything including a logoff. It might be able to help you why a lot of desktops are ending up in a rotten state.

The rest of the script is basic building of arrays, filling them, mailing it etc etc. So still not a lot of complicated code that some people build but it’s a bit of the basics in talking to the View Api and the event database.

This is the output you will get (this is from an html file and heavily edited to anonimize it)

Vmware Horizon View Client

Horizon

Vmware Horizon View Protocol Failure Rate

The complete script, please do use and abuse it to your own taste as I have done with the original: