{"id":958,"date":"2010-02-11T15:27:52","date_gmt":"2010-02-11T13:27:52","guid":{"rendered":"https:\/\/www.peppercrew.nl\/?p=958"},"modified":"2011-05-18T20:48:57","modified_gmt":"2011-05-18T19:48:57","slug":"windows-installer-proxy-information-not-correctly-registered","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/windows-installer-proxy-information-not-correctly-registered\/","title":{"rendered":"Windows Installer proxy information not correctly registered"},"content":{"rendered":"<div>I&#8217;m creating a new deployment for a 2008 R2 Remote Desktop Server using Altiris. Most of the jobs that are executed are installation jobs using the Windows Installer.<br \/>\nAltough the first installation (after a reboot) goes well, the next installation always fails because the installer is unable to connect to the Windows Install object.<\/div>\n<div>In the event log are several events which occur within 2 seconds of each other:<br \/>\n<code><strong>Source <\/strong>: User Profile Service<br \/>\n<strong>Event ID<\/strong> : 1530<br \/>\n<strong>Level <\/strong>: Warning<br \/>\n<strong>General <\/strong>: Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.<br \/>\n<!--more--><br \/>\nDETAIL -<br \/>\n7 user registry handles leaked from RegistryUserS-1-5-21-2413968531-3215199331-4183453847-1621:<br \/>\nProcess 4224 (DeviceHarddiskVolume1WindowsSystem32cmd.exe) has opened key REGISTRYUSERS-1-5-21-2413968531-3215199331-4183453847-1621<br \/>\n...etc. etc...<\/code><\/div>\n<p><code><\/p>\n<div><strong>Source <\/strong>: User Profile Service<br \/>\n<strong>EventID<\/strong> : 1530<br \/>\n<strong>Level <\/strong>: Warning<br \/>\n<strong>General <\/strong>: Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.<br \/>\nDETAIL -<br \/>\n1 user registry handles leaked from RegistryUserS-1-5-21-2413968531-3215199331-4183453847-1621_Classes:<br \/>\nProcess 6708 (DeviceHarddiskVolume1Program Files (x86)DeNamiKDeNamiK SFWDNKFrameWork.exe) has opened key REGISTRYUSERS-1-5-21-2413968531-3215199331-4183453847-1621_CLASSES<\/div>\n<div><strong>Source<\/strong>: MSIInstaller<br \/>\n<strong>EventID <\/strong>: 1014<br \/>\n<strong>Level <\/strong>: Error<br \/>\n<strong>General<\/strong>: Windows Installer proxy information not correctly registered<\/div>\n<div><strong>Source<\/strong>: MSIInstaller<br \/>\n<strong>EventID <\/strong>: 1015<br \/>\n<strong>Level <\/strong>: Warning<br \/>\n<strong>General<\/strong>: Failed to connect to server. Error: 0x80004005<\/div>\n<p><\/code><\/p>\n<div>The problem is caused by the &#8220;User Profile Service&#8221; which is the new version of the &#8220;User Profile Hive cleanup utility (UPHClean)&#8221;. This service somehow thinks that the process is terminated and didn&#8217;t close the registry hives (foei!), so the service will do this for the application. From the perspective of the service this is ordinary house-keeping, but the process just lost his connection to the registry hives! Forcibly unloading the hive results in all kind of (unpredictable) error messages, like the event of the Windows Installer.<br \/>\nDisabling the &#8220;User Profile Service&#8221; is not an option because this service loads and unload the user profiles for all users. So it&#8217;s not just a &#8220;new&#8221; version of UPHclean, you really need the service in order to log in the system.<\/div>\n<div>There are multiple work-arounds for this problem:<br \/>\n&#8211; Pre-load the profile with LoadProfile using a tool created by Remko Weijnen which you can find <a href=\"https:\/\/www.remkoweijnen.nl\/blog\/2009\/11\/05\/windows-installer-proxy-information-not-correctly-registered\/\">here<\/a>;<br \/>\n&#8211; Run the process under Local System;<br \/>\n&#8211; Insert a sleep in the Altiris job.<\/div>\n<div>For now the LoadProfile solution is the most effective work-around, but I can&#8217;t say it&#8217;s a beauty. Let&#8217;s hope Microsoft will confirm this problem and solve it in a hotfix or service pack.<\/div>\n<div>More information about the problem can be found <a href=\"https:\/\/www.remkoweijnen.nl\/blog\/2009\/11\/05\/windows-installer-proxy-information-not-correctly-registered\/\">here<\/a>, <a href=\"https:\/\/setspn.blogspot.com\/2009\/11\/windows-2008-automatic-user-profile.html\">here<\/a> and <a href=\"https:\/\/support.microsoft.com\/kb\/947238\">here<\/a>.<\/div>\n<div>Ingmar Verheij<\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m creating a new deployment for a 2008 R2 Remote Desktop Server using Altiris. Most of the jobs that are executed are installation jobs using the Windows Installer. Altough the first installation (after a reboot) goes well, the next installation always fails because the installer is unable to connect to the Windows Install object. In [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[289],"tags":[144,145,146,670,148,149],"class_list":["post-958","post","type-post","status-publish","format-standard","hentry","category-deployment-others","tag-altiris-deployment-solution","tag-loadprofile","tag-user-profile-service","tag-windows","tag-windows-2008-r2","tag-windows-installer"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=958"}],"version-history":[{"count":2,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/958\/revisions"}],"predecessor-version":[{"id":2309,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/958\/revisions\/2309"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}