My doubt is about how to change the PCoIP variable "Configure the maximum PCoIP session bandwidth" for the same user based on its location?
When my Boss is at work the variable value is 90000 and when he is at home its change to 400.
I tried Loopback Policy, but its aplied only for computers and users in domain, but my boss' Home Desktop is out of the domain.
I need something like this:
When my boss connect to VM over LAN (172.16.0.0/24) | Configure the maximum PCoIP session bandwidth = 90000
When my boss connect to VM over WAN (ANY) | Configure the maximum PCoIP session bandwidth = 400
Someone has an example how to configure it on AD GPO Manager?
If it isn't possible within the current admx files, you could always go down the path of using Group Policy Preferences to set the appropiate registry keys based on network configuration using the builtin View variables provided within the client vm. In this case ViewClient_Broker_Remote_IP_Address may do what you are after.
If it is controlled via group policy, as a user preference then it would be on login. Additionally, it would also reapply itself on the subsequent group policy refreshes as well.
Additionally if this doesn't work as expected, another method you could use is by having a script (Powershell , VB whatever) in an accessible location (image, netlogon share etc.), and call the script using the gpo objects for the View Agent - CommandstoRunOnConnect, and CommandsToRunOnReconnect. Using the script, you could determine the IP from environmental variables again, and set the key to how you want.