Omnissa DEM: using the Elevated Task feature

omnissa-dem-using-the-elevated-task- feature-01

If you need to apply an HKLM registry entry in your VDI using Dynamic Environment Manager (DEM), you must leverage the Elevated Task feature to accomplish this.

Since adding a registry key requires administrative privileges, DEM is the appropriate tool to automate this configuration.

 

Enable Privilege Elevation in DEM

Open the DEM console and go to User Environment tab.

omnissa-dem-using-the-elevated-task- feature-02

Select Privileges Elevation section and click Global Configuration.

omnissa-dem-using-the-elevated-task- feature-03

Enable the Activate Privilege Elevation option and click OK.

omnissa-dem-using-the-elevated-task- feature-04

Click OK to continue.

omnissa-dem-using-the-elevated-task- feature-05

 

Create the elevated task

From Privilege Elevation section, click Create.

omnissa-dem-using-the-elevated-task- feature-06

Enter the Name of the task to configure and select Elevated task from the Type drop-down menu. Click Add.

omnissa-dem-using-the-elevated-task- feature-07

Click Add and define the task to run. In this example, the following command is configured:

Executable: C:\Windows\System32\cmd.exe
Arguments: REG ADD HKLM\Software\Microsoft\Office\9.0\Common\Internet /v ForceShellExecute /t REG_DWORD /d 1 /f

Click OK.

omnissa-dem-using-the-elevated-task- feature-08

When the task has been created, click Save.

omnissa-dem-using-the-elevated-task- feature-09

The created task.

omnissa-dem-using-the-elevated-task- feature-10

 

Create a Logon Task

To apply the registry key we need to run the previously created task during the logon process. Select the Logon Tasks section and click Create.

omnissa-dem-using-the-elevated-task- feature-11

Specify the name for the task to run, then tick the Elevated task checkbox. Select the previously created task from the drop-down menu and leave the Run task field set to After. Enable the Run asynchronously option and click Save to apply the configuration.

omnissa-dem-using-the-elevated-task- feature-12

The configured Logon Task.

omnissa-dem-using-the-elevated-task- feature-13

 

Test the DEM configuration

Access the VDI portal and Login to the system using the correct credentials.

omnissa-dem-using-the-elevated-task- feature-14

Check the VDI's registry to verify if the key has been created. The registry key should be present with the correct data specified in the DEM configuration.

omnissa-dem-using-the-elevated-task- feature-15

Additional info about DEM can be found in the Omnissa website.

signature

3 Comments

  1. Pieter 13/05/2025
    • Paolo Valsecchi 28/05/2025
  2. Justin 13/06/2025

Leave a Reply