{"id":2832,"date":"2023-09-25T21:45:57","date_gmt":"2023-09-25T13:45:57","guid":{"rendered":"http:\/\/www.jhouseconsulting.com\/?p=2832"},"modified":"2023-09-26T04:45:54","modified_gmt":"2023-09-25T20:45:54","slug":"best-practice-for-the-active-setup-stubpath-value","status":"publish","type":"post","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832","title":{"rendered":"Best Practice for the Active Setup StubPath value"},"content":{"rendered":"<p>It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues. So what happens when you need to go back and troubleshoot an issue with an application that may be related to what &#8220;should have&#8221; run via the Active Setup process. How do you know what the&nbsp;StubPath value was originally set to? Do you record it somewhere?<\/p>\n<p>I&#8217;ve been running a script for years over my builds that simply renames the existing StubPath value to&nbsp;StubPath.Backup and time stamps it. This way you can always review what it should be, and make the necessary changes to allow for this.<!--more--><\/p>\n<p>The following screen shot shows what the Microsoft Edge StubPath looks like once the script has run.<\/p>\n<p><a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-2833\" src=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath-680x216.png\" alt=\"Active Setup StubPath\" width=\"680\" height=\"216\" srcset=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath-680x216.png 680w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath-300x95.png 300w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath-768x244.png 768w, https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath.png 1546w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Notice how the real StubPath value is blank as per best practice, but a second value exists that is a point in time backup of the value? So in this case should we experience issues with Microsoft Edge, I can easily review what the expected value was set to in order to understand if this is the cause of the issue. With this in place there is no stress.<\/p>\n<p>The script enumerates all subkeys from the following keys to process all StubPath values:<\/p>\n<ul>\n<li>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components<\/li>\n<li>HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Active Setup\\Installed Components<\/li>\n<\/ul>\n<p>I run this as a once of task after all the applications are patches are installed before a build completes, but you can also run it as a computer startup script.<\/p>\n<p>Here is the <a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/download\/2838\/?tmstv=1784715050\" rel=\"nofollow\" id=\"download-link-2838\" data-redirect=\"false\" >\n\tActive Setup StubPath\t(1071 downloads\t)\n<\/a>\n script:<\/p>\n<pre class=\"brush: powershell; auto-links: false; title: ; toolbar: false; notranslate\" title=\"\">\r\n&lt;#\r\n  This script will clear the Active Setup Stubpath values. However, instead of just clearing them,\r\n  it creates a backup of the Stubpath with the time stamp for future reference and troublshooting\r\n  requirements.\r\n\r\n  Script name: ClearActiveSetup.ps1\r\n  Release 1.2\r\n  Written by Jeremy Saunders (jeremy@jhouseconsulting.com) 19th September 2017\r\n  Modified by Jeremy Saunders (jeremy@jhouseconsulting.com) 25th September 2023\r\n\r\n#&gt;\r\n\r\n#-------------------------------------------------------------\r\n\r\n# Set Powershell Compatibility Mode\r\nSet-StrictMode -Version 2.0\r\n\r\n# Enable verbose, warning and error mode\r\n$VerbosePreference = 'Continue'\r\n$WarningPreference = 'Continue'\r\n$ErrorPreference = 'Continue'\r\n\r\n#-------------------------------------------------------------\r\n\r\n$StartDTM = (Get-Date)\r\n\r\n# Get the TEMP path\r\n$logPath = &#x5B;System.IO.Path]::GetTempPath()\r\n$logPath = $logPath.Substring(0,$logPath.Length-1)\r\n\r\n# Set the logpath to C:\\Windows\\Temp\r\n$logPath = &quot;${env:SystemRoot}&quot; + &quot;\\Temp&quot;\r\n\r\n# Get the script name\r\n$ScriptName = &#x5B;System.IO.Path]::GetFilenameWithoutExtension($MyInvocation.MyCommand.Path.ToString())\r\n\r\n$logFile = &quot;$logPath\\$ScriptName.log&quot;\r\n\r\n# Start the transcript\r\ntry {\r\n  Start-Transcript &quot;$logFile&quot;\r\n}\r\ncatch {\r\n  Write-Verbose &quot;$(Get-Date -format &quot;dd\/MM\/yyyy HH:mm:ss&quot;): This host does not support transcription&quot;\r\n}\r\n\r\n#------------------------------------\r\n\r\n# Add strings to this array that may be in StubPaths that you want to be excluded from being cleared.\r\n$Excludes = @()\r\n\r\n$ParentPaths = @(&quot;HKLM:\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components&quot;,&quot;HKLM:\\SOFTWARE\\WOW6432Node\\Microsoft\\Active Setup\\Installed Components&quot;)\r\n$Value = &quot;StubPath&quot;\r\n$BackupValue = &quot;StubPath.Backup-$(Get-Date -format &quot;dd\/MM\/yyyy HH:mm:ss&quot;)&quot;\r\n\r\nForEach ($ParentPath in $ParentPaths) {\r\n  Get-Childitem &quot;$ParentPath&quot; -Recurse -ErrorAction SilentlyContinue | % {\r\n    $ValueExist = $False\r\n    $ErrorActionPreference = &quot;stop&quot;\r\n    Try {\r\n      If ((Get-ItemProperty -Path &quot;$ParentPath\\$($_.PSChildName)&quot; | Select-Object -ExpandProperty &quot;$Value&quot;) -ne $null) {\r\n        $ValueExist = $True\r\n      }\r\n    }\r\n    Catch &#x5B;System.Exception] {\r\n      #$($_.Exception.Message)\r\n    }\r\n    $ErrorActionPreference = &quot;Continue&quot; \r\n    If ($ValueExist) {\r\n      Write-Verbose &quot;`&quot;$Value`&quot; found under `&quot;$ParentPath\\$($_.PSChildName)`&quot;&quot; -verbose\r\n      $BackupValueExist = $False\r\n      $ErrorActionPreference = &quot;stop&quot;\r\n      Try {\r\n        If ((Get-ItemProperty -Path &quot;$ParentPath\\$($_.PSChildName)&quot; | Select-Object -ExpandProperty &quot;$BackupValue&quot;) -ne $null) {\r\n          $BackupValueExist = $True\r\n        }\r\n      }\r\n      Catch &#x5B;System.Exception] {\r\n        #$($_.Exception.Message)\r\n      }\r\n      $ErrorActionPreference = &quot;Continue&quot; \r\n      If ($BackupValueExist -eq $False) {\r\n        $ParentKey = Get-Item -Path &quot;$ParentPath\\$($_.PSChildName)&quot;\r\n        $PropertyValue = $ParentKey.GetValue(&quot;$Value&quot;)\r\n        If ($PropertyValue -ne &quot;&quot;) {\r\n          Write-Verbose &quot;- Value: $PropertyValue&quot; -verbose\r\n          $PropertyType = $ParentKey.GetValueKind(&quot;$Value&quot;)\r\n          $Skip = $False\r\n          ForEach ($Exlude in $Excludes) {\r\n            If ($PropertyValue -Like &quot;*$Exlude*&quot;) {\r\n              $Skip = $True\r\n              Break\r\n            }\r\n          }\r\n          If ($Skip -eq $False) {\r\n            Write-Verbose &quot;- Type: $PropertyType&quot; -verbose\r\n            Write-Verbose &quot;- Renaming to `&quot;$BackupValue`&quot;...&quot; -verbose\r\n            Rename-ItemProperty -Path &quot;$ParentPath\\$($_.PSChildName)&quot; -Name &quot;$Value&quot; -NewName &quot;$BackupValue&quot;\r\n            Write-Verbose &quot;- Creating an empty `&quot;$Value`&quot; value with property type of `&quot;$PropertyType`&quot;...&quot; -verbose\r\n            New-ItemProperty -Path &quot;$ParentPath\\$($_.PSChildName)&quot; -Name &quot;$Value&quot; -PropertyType $PropertyType -Value &quot;&quot;  Force | Out-Null\r\n          } Else {\r\n            Write-Verbose &quot;- This $Value value has been excluded. No action will be taken.&quot; -verbose\r\n          }\r\n        } Else {\r\n          Write-Verbose &quot;- The value is empty. No action will be taken.&quot; -verbose\r\n        }\r\n      } Else {\r\n        Write-Verbose &quot;- The `&quot;$BackupValue`&quot; value already exists.&quot; -verbose\r\n      }\r\n    }\r\n  }\r\n}\r\n\r\n#------------------------------------\r\n\r\nWrite-Verbose &quot;Stop logging&quot; -Verbose\r\n$EndDTM = (Get-Date)\r\nWrite-Verbose &quot;Elapsed Time: $(($EndDTM-$StartDTM).TotalSeconds) Seconds&quot; -Verbose\r\nWrite-Verbose &quot;Elapsed Time: $(($EndDTM-$StartDTM).TotalMinutes) Minutes&quot; -Verbose\r\n\r\n# Stop the transcript\r\ntry {\r\n  Stop-Transcript\r\n}\r\ncatch {\r\n  Write-Verbose &quot;$(Get-Date -format &quot;dd\/MM\/yyyy HH:mm:ss&quot;): This host does not support transcription&quot;\r\n}\r\n<\/pre>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues. &#8230; <a title=\"Best Practice for the Active Setup StubPath value\" class=\"read-more\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\" aria-label=\"Read more about Best Practice for the Active Setup StubPath value\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[554,14,626,388,659,5,91,38,242],"tags":[700,702,703,701],"class_list":["post-2832","post","type-post","status-publish","format-standard","hentry","category-best-practice","category-citrix","category-cvad","category-mdt","category-powershell","category-scripting","category-vdi","category-xenapp","category-xendesktop","tag-active-setup","tag-hkey_local_machinesoftwaremicrosoftactive-setupinstalled-components","tag-hkey_local_machinesoftwarewow6432nodemicrosoftactive-setupinstalled-components","tag-stubpath"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jeremy Saunders\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846 - Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846\" \/>\n\t\t<meta property=\"og:description\" content=\"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-09-25T13:45:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-09-25T20:45:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846\" \/>\n\t\t<meta name=\"twitter:description\" content=\"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#blogposting\",\"name\":\"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"headline\":\"Best Practice for the Active Setup StubPath value\",\"author\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/Active-Setup-StubPath.png\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832\\\/#articleImage\",\"width\":1546,\"height\":492,\"caption\":\"Active Setup StubPath\"},\"datePublished\":\"2023-09-25T21:45:57+08:00\",\"dateModified\":\"2023-09-26T04:45:54+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#webpage\"},\"articleSection\":\"Best Practice, Citrix, CVAD, MDT, PowerShell, Scripting, VDI, XenApp, XenDesktop, Active Setup, HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Active Setup\\\\Installed Components, HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\WOW6432Node\\\\Microsoft\\\\Active Setup\\\\Installed Components, StubPath\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"name\":\"Scripting\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"position\":2,\"name\":\"Scripting\",\"item\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#listItem\",\"name\":\"Best Practice for the Active Setup StubPath value\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#listItem\",\"position\":3,\"name\":\"Best Practice for the Active Setup StubPath value\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"name\":\"Scripting\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\",\"name\":\"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Blog-Banner-White-JeremySaunders-1.png\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832\\\/#organizationLogo\",\"width\":1020,\"height\":200},\"image\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy\",\"name\":\"Jeremy Saunders\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f2d27bd3d985e6ef2024dded7c713b14440d467a6a0100aede3cfefcb4ab20f1?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jeremy Saunders\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#webpage\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832\",\"name\":\"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"It\\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2023\\\/09\\\/25\\\/best-practice-for-the-active-setup-stubpath-value-2832#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"datePublished\":\"2023-09-25T21:45:57+08:00\",\"dateModified\":\"2023-09-26T04:45:54+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#website\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/\",\"name\":\"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.","canonical_url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#blogposting","name":"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","headline":"Best Practice for the Active Setup StubPath value","author":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"publisher":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2023\/09\/Active-Setup-StubPath.png","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\/#articleImage","width":1546,"height":492,"caption":"Active Setup StubPath"},"datePublished":"2023-09-25T21:45:57+08:00","dateModified":"2023-09-26T04:45:54+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#webpage"},"isPartOf":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#webpage"},"articleSection":"Best Practice, Citrix, CVAD, MDT, PowerShell, Scripting, VDI, XenApp, XenDesktop, Active Setup, HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components, HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Active Setup\\Installed Components, StubPath"},{"@type":"BreadcrumbList","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting#listItem","position":1,"name":"Home","item":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","name":"Scripting"}},{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","position":2,"name":"Scripting","item":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#listItem","name":"Best Practice for the Active Setup StubPath value"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#listItem","position":3,"name":"Best Practice for the Active Setup StubPath value","previousItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","name":"Scripting"}}]},{"@type":"Organization","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization","name":"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/","logo":{"@type":"ImageObject","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\/#organizationLogo","width":1020,"height":200},"image":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy","name":"Jeremy Saunders","image":{"@type":"ImageObject","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f2d27bd3d985e6ef2024dded7c713b14440d467a6a0100aede3cfefcb4ab20f1?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jeremy Saunders"}},{"@type":"WebPage","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#webpage","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832","name":"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#website"},"breadcrumb":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832#breadcrumblist"},"author":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"creator":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"datePublished":"2023-09-25T21:45:57+08:00","dateModified":"2023-09-26T04:45:54+08:00"},{"@type":"WebSite","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#website","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/","name":"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization"}}]},"og:locale":"en_US","og:site_name":"J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846 - Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","og:type":"article","og:title":"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846","og:description":"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.","og:url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832","og:image":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","og:image:secure_url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","article:published_time":"2023-09-25T13:45:57+00:00","article:modified_time":"2023-09-25T20:45:54+00:00","twitter:card":"summary_large_image","twitter:title":"Best Practice for the Active Setup StubPath value - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846","twitter:description":"It\u2019s been a best practice for a long time to clear the Active Setup StubPath value per application to avoid the Active Setup processes from running at logon, impacting the user experience. This is a challenge we constantly have with Vendors and packaging teams. But blindly clearing the StubPath value could lead to application issues.","twitter:image":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png"},"aioseo_meta_data":{"post_id":"2832","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-04 13:45:30","updated":"2025-07-04 13:45:30","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting\" title=\"Scripting\">Scripting<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBest Practice for the Active Setup StubPath value\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting"},{"label":"Scripting","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting"},{"label":"Best Practice for the Active Setup StubPath value","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2023\/09\/25\/best-practice-for-the-active-setup-stubpath-value-2832"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/2832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/comments?post=2832"}],"version-history":[{"count":5,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/2832\/revisions"}],"predecessor-version":[{"id":2848,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/2832\/revisions\/2848"}],"wp:attachment":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/media?parent=2832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/categories?post=2832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/tags?post=2832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}