{"id":1480,"date":"2021-08-08T11:19:14","date_gmt":"2021-08-08T11:19:14","guid":{"rendered":"https:\/\/thecloudwiki.com\/?p=1480"},"modified":"2021-08-08T11:23:31","modified_gmt":"2021-08-08T11:23:31","slug":"horizon-cloud-finding-the-features-installed-in-horizon-agent-hai","status":"publish","type":"post","link":"https:\/\/thecloudwiki.com\/?p=1480","title":{"rendered":"Horizon Cloud- Finding the features installed in Horizon Agent (HAI)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Well, how to find what are all the features installed with Horizon agent? <br>Most of us need this in troubleshooting issues like cam is not working, Default printer or scanner redirection is not working and etc<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Horizon cloud we often call this agent as HAI, and this can be downloaded from <a href=\"https:\/\/my.vmware.com\/web\/vmware\/downloads\/details?downloadGroup=HCS-MA-2106&amp;productId=716\" target=\"_blank\" rel=\"noreferrer noopener\">VMware website<\/a> <br>Based on the version of your cloud pod, download the respective agent version<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"444\" class=\"wp-image-1484\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download.png 1817w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download-300x133.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download-1024x455.png 1024w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download-768x341.png 768w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/01-agent-download-1536x682.png 1536w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These agents are inbuilt with POD manifest versions hence unless you are creating your own custom image, with the import VM flow while import a VM from Azure marketplace, the agents will get installed automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The agent we use in Horizon cloud consists of 2 agents &#8211; DAAS Agent + View Agent <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Determine the features installed <\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">There are 2 ways we can find this info<br><br>1 &#8211; Navigating to the path by launching the regedit<br>2 &#8211; PowerShell single liner<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Using regedit<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\"><br>If the agent is already installed, by simply navigating to registry we will be able find what features are installed <\/p>\n\n\n<p>HKEY_LOCAL_MACHINE\\SOFTWARE\\VMware, Inc.\\Installer\\Features_HorizonAgent<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"887\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/02-registry-path-1.png\" alt=\"\" class=\"wp-image-1487\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/02-registry-path-1.png 862w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/02-registry-path-1-292x300.png 292w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/02-registry-path-1-768x790.png 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\" style=\"font-size:18px\"><strong>Now it&#8217;s so simple that wherever you see the value as &#8220;Local&#8221;, that feature is installed with Horizon Agent. Absent means that feature is not installed <\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Using PowerShell<\/strong><\/h5>\n\n\n<p>Get-ItemProperty -Path &#8220;HKLM:\\SOFTWARE\\VMware, Inc.\\Installer\\Features_HorizonAgent&#8221;|Select-Object -ExcludeProperty PS*<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">example output shown as below<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"558\" class=\"wp-image-1490\" style=\"width: 1000px;\" src=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/03-pshell.png\" alt=\"\" srcset=\"https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/03-pshell.png 859w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/03-pshell-300x167.png 300w, https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/03-pshell-768x428.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Silent installation of agent<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Since manual\/interactive installation of agent is straight forward approach (by double clicking the installer file), we will investigate the silent installation through command line. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Launch PowerShell<\/li><li>Go the path where the agents downloaded (Ex: cd c:\\temp)<\/li><li>If you need to proceed with default settings comes when you proceed with interactive installation then use the below command<br><br><code>\"C:\\temp\\VMware-Horizon-Agents-Installer-21.2.0-18291140-x64.exe\" \/silent ADDLOCAL=Core,ClientDriveRedirection,HelpDesk,PrintRedir,RDP,RTAV,TSMMR,V4V,HorizonCloud REMOVE=SdoSensor,GEOREDIR,NGVC,PerfTracker,RDSH3D,ScannerRedirection,SerialPortRedirection,SmartCard,URLRedirection,USB,VMWMediaProviderProxy,VmwVaudio,DEM,AV VDM_SKIP_BROKER_REGISTRATION=1<\/code><br><br>if you need more features then add the specific feature to ADDLOCAL by removing it from REMOVE<br><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Well, how to find what are all the features installed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1493,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[21],"tags":[13],"class_list":["post-1480","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-horizon","tag-horizon"],"uagb_featured_image_src":{"full":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-e1628421771355.png",400,473,false],"thumbnail":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-150x150.png",150,150,true],"medium":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-254x300.png",254,300,true],"medium_large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-768x908.png",768,908,true],"large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-e1628421771355.png",400,473,false],"1536x1536":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-e1628421771355.png",400,473,false],"2048x2048":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/08\/HAI-feature-image-e1628421771355.png",400,473,false]},"uagb_author_info":{"display_name":"Sandeep","author_link":"https:\/\/thecloudwiki.com\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"Well, how to find what are all the features installed [&hellip;]","_links":{"self":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/1480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1480"}],"version-history":[{"count":4,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/1480\/revisions"}],"predecessor-version":[{"id":1495,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/1480\/revisions\/1495"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/media\/1493"}],"wp:attachment":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}