{"id":9608,"date":"2026-05-06T00:24:21","date_gmt":"2026-05-06T00:24:21","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9608"},"modified":"2026-05-06T00:24:22","modified_gmt":"2026-05-06T00:24:22","slug":"azure-agent-pipeline-ado-the-system-administrator-has-set-policies-to-prevent-this-installation","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/azure-agent-pipeline-ado-the-system-administrator-has-set-policies-to-prevent-this-installation","title":{"rendered":"Azure Agent Pipeline ADO &#8211; The system administrator has set policies to prevent this installation."},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code class=\"\">Searching for MSI in path: C:\\agent\\_work\\1\\a\\GitHubArtifact\n\nFound MSI: C:\\agent\\_work\\1\\a\\GitHubArtifact\\Images Setup v26.2.0.33.msi\n\nInstalling MSI using msiexec...\n\nThe system administrator has set policies to prevent this installation.\n\n <\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/05\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"942\" height=\"95\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/05\/image.png\" alt=\"\" class=\"wp-image-9609 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/05\/image.png 942w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/05\/image-300x30.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/05\/image-768x77.png 768w\" sizes=\"auto, (max-width: 942px) 100vw, 942px\" \/><\/a><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\"># Create the key if it doesn't exist, then set the value \nNew-Item -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\" -Force \n\nSet-ItemProperty \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\" -Name \"AlwaysInstallElevated\" -Value 1 -Type\u00a0DWord \n\nNew-Item -Path \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\" -Force \n\nSet-ItemProperty \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\" -Name \"AlwaysInstallElevated\" -Value 1 -Type\u00a0DWord \n\n# Verify both \n\nGet-ItemProperty \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\" \n\nGet-ItemProperty \"HKCU:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Installer\"<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9608","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=9608"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9608\/revisions"}],"predecessor-version":[{"id":9610,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9608\/revisions\/9610"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}