VMware Horizon Community
nixnac
Contributor
Contributor
Jump to solution

Setting up different registry changes for same exe, with different application pool IDs using UEM\DEM

Hello!  Hoping someone might be able to assist with DEM\UEM.  We have one application exe, but have set up separate Horizon Application IDs.  We would like to apply a different registry key through UEM depending on which application is launched.  This is to allow one application install, with one appstack, on one farm to use different licensing.

The end goal is to have the same app exe in one farm, but if they launch app id 1 it would apply one registry key, and if they launch app id 2 it would apply a different set of registry keys.

Any help would be appreciated!

Tags (2)
1 Solution

Accepted Solutions
nixnac
Contributor
Contributor
Jump to solution

Hi everyone and thanks for your assistance.  Based on my research, it is not possible to insert a registry key based on the application id\application pool.

We are going to just have to setup different Horizon RDSH farm for each instead of trying to dynamically apply the registry keys.

horizonapppool.png

View solution in original post

8 Replies
sjesse
Leadership
Leadership
Jump to solution

but if they launch app id 1 it would apply one registry key, and if they launch app id 2 it would apply a different set of registry keys.

What are you referring to here? I cannot think of a feature where there is app id? Are you referring to the id you put in the applicaiton pool  in horizon? If so I don't think that's one of the setting passed through. They only ones that are sent are

Client System Information Sent to Remote Desktops

Unless DEMdev​ or someone else has seen more, you can use security groups if there are groups of people that need different licenses, just make a condition set for the OU the farm is in and if it matches the security group.

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi nixnac,

I'm not familiar with the concept of "Horizon Application IDs". Can you elaborate on that?

Reply
0 Kudos
sujayg15
VMware Employee
VMware Employee
Jump to solution

I could stand corrected... but I believe that if you connect via a Desktop Pool or an Application Pool, you will be able to register the Launch_ID and Launch_SessionType

pastedImage_0.png

You could use a Condition to either Target the "Hoirzon Client Properties" from below in Fig1 or directly target the Registry value shown below Fig2

Fig1

pastedImage_2.png

Fig2

pastedImage_3.png

It will come down to you having to validate what is getting passed on and capturing that as the reference to inject your registry value for the same App. I've not had time to try this out in an RDS environment so wishing you luck in your testing..

DEMdev
VMware Employee
VMware Employee
Jump to solution

Not sure whether this is relevant for the OP's question, but:

  • Do not use HKCU\Volatile Environment\ViewClient_ registry value conditions, as those registry values are not available yet when DEM/UEM runs at logon.
    Instead, use the Horizon Client Property condition.
  • The Pool name option of the Horizon Client Property condition corresponds with ViewClient_Launch_ID.
nixnac
Contributor
Contributor
Jump to solution

I'm going to give this a shot and see if it works.  Thanks for the reply!

Reply
0 Kudos
nixnac
Contributor
Contributor
Jump to solution

Hi DEMdev​.

I am referring to Horizon 10.7, and the ID column in an Application Pool. 

horizon.png

We want to be able to take pre-launch registry actions through UEM\DEM based off of that specific ID.

DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi nixnac,

Sorry, I only really know DEM... My Horizon knowledge is very limited.

If, after launching a particular instance of your application, you find some identifying characteristics in the registry key that Sujay posted, you could probably leverage that in a condition.

Reply
0 Kudos
nixnac
Contributor
Contributor
Jump to solution

Hi everyone and thanks for your assistance.  Based on my research, it is not possible to insert a registry key based on the application id\application pool.

We are going to just have to setup different Horizon RDSH farm for each instead of trying to dynamically apply the registry keys.

horizonapppool.png