{"id":65549,"date":"2025-03-19T09:00:52","date_gmt":"2025-03-19T08:00:52","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=65549"},"modified":"2026-04-29T12:19:42","modified_gmt":"2026-04-29T10:19:42","slug":"omnissa-dem-using-the-elevated-task-feature","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/omnissa-dem-using-the-elevated-task-feature\/","title":{"rendered":"Omnissa DEM: using the Elevated Task feature"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-65552 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-01.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-01\" width=\"602\" height=\"202\" \/><\/p>\n<p data-start=\"0\" data-end=\"163\">If you need to apply an <strong>HKLM registry entry<\/strong> in your VDI using <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-dynamic-environment-manager-dem-configuration\/\">Dynamic Environment Manager<\/a> (DEM), you must leverage the <strong>Elevated Task feature<\/strong> to accomplish this.<\/p>\n<p data-start=\"165\" data-end=\"289\" data-is-last-node=\"\" data-is-only-node=\"\">Since adding a registry key requires administrative privileges, DEM is the appropriate tool to automate this configuration.<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<h2>Enable Privilege Elevation in DEM<\/h2>\n<p>Open the DEM console and go to <strong>User Environment<\/strong> tab.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65554 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-02-600x396.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-02\" width=\"600\" height=\"396\" \/><\/p>\n<p>Select <strong>Privileges Elevation<\/strong> section and click <strong>Global Configuration<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65556 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-03-600x432.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-03\" width=\"600\" height=\"432\" \/><\/p>\n<p>Enable the\u00a0<strong>Activate Privilege Elevation<\/strong>\u00a0option and click\u00a0<strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65558 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-04-600x320.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-04\" width=\"600\" height=\"320\" \/><\/p>\n<p>Click <strong>OK<\/strong> to continue.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65560 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-05.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-05\" width=\"403\" height=\"180\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Create the elevated task<\/h4>\n<p>From <strong>Privilege Elevation<\/strong> section, click <strong>Create<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65563 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-06-600x422.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-06\" width=\"600\" height=\"422\" \/><\/p>\n<p>Enter the <strong>Name<\/strong> of the task to configure and select <strong>Elevated task<\/strong> from the <strong>Type<\/strong> drop-down menu. Click <strong>Add<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65565 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-07.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-07\" width=\"472\" height=\"659\" \/><\/p>\n<p>Click <strong>Add<\/strong> and define the task to run. In this example, the following command is configured:<\/p>\n<blockquote><p><strong>Executable<\/strong>: C:\\Windows\\System32\\cmd.exe<br \/>\n<strong>Arguments<\/strong>: REG ADD HKLM\\Software\\Microsoft\\Office\\9.0\\Common\\Internet \/v ForceShellExecute \/t REG_DWORD \/d 1 \/f<\/p><\/blockquote>\n<p>Click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65567 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-08.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-08\" width=\"486\" height=\"147\" \/><\/p>\n<p>When the task has been created, click <strong>Save<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65569 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-09.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-09\" width=\"472\" height=\"659\" \/><\/p>\n<p>The created task.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65571 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-10-600x420.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-10\" width=\"600\" height=\"420\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Create a Logon Task<\/h4>\n<p>To apply the registry key we need to run the previously created task <strong>during the logon process<\/strong>. Select the <strong>Logon Tasks<\/strong> section and click <strong>Create<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65573 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-11-600x421.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-11\" width=\"600\" height=\"421\" \/><\/p>\n<p>Specify the name for the task to run, then tick the <strong data-start=\"53\" data-end=\"70\">Elevated task<\/strong> checkbox. Select the previously created task from the drop-down menu and leave the <strong data-start=\"154\" data-end=\"166\">Run task<\/strong> field set to <strong data-start=\"180\" data-end=\"189\">After<\/strong>. Enable the <strong data-start=\"202\" data-end=\"224\">Run asynchronously<\/strong> option and click <strong data-start=\"242\" data-end=\"250\">Save<\/strong> to apply the configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65575 size-full\" title=\"omnissa-dem-using-the-elevated-task- feature-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-12.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-12\" width=\"472\" height=\"659\" \/><\/p>\n<p>The configured Logon Task.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65577 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-13-600x418.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-13\" width=\"600\" height=\"418\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Test the DEM configuration<\/h2>\n<p>Access the VDI portal and <strong>Login<\/strong> to the system using the correct credentials.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65579 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-14-600x513.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-14\" width=\"600\" height=\"513\" \/><\/p>\n<p>Check the <strong>VDI's registry<\/strong> to verify if the key has been created. The registry key should be present with the <strong>correct data specified<\/strong> in the <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-dem-configure-default-applications\/\">DEM<\/a> configuration.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-65581 size-large\" title=\"omnissa-dem-using-the-elevated-task- feature-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2025\/03\/omnissa-dem-using-the-elevated-task-feature-15-600x403.jpg\" alt=\"omnissa-dem-using-the-elevated-task- feature-15\" width=\"600\" height=\"403\" \/><\/p>\n<p>Additional info about DEM can be found in the <a href=\"https:\/\/www.omnissa.com\/products\/dynamic-environment-manager\/\" target=\"_blank\" rel=\"noopener\">Omnissa website<\/a>.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":3,"featured_media":65552,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[3100,2905],"tags":[2256,2963,2895,2964,2239],"class_list":["post-65549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dem-en","category-omnissa-en","tag-dem","tag-elevated-task","tag-omnissa","tag-registry","tag-vdi-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/65549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=65549"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/65549\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/65552"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=65549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=65549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=65549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}