<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Vista Registry VirtualStore</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : Vista Registry VirtualStore]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Apr 2026 17:25:57 +0000</pubDate>
  <lastBuildDate>Sun, 20 Jan 2008 12:48:31 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=9303</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Vista Registry VirtualStore : I&amp;#039;m using a manifest, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30309&amp;title=vista-registry-virtualstore#30309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 20 January 2008 at 12:48pm<br /><br />I'm using a manifest, but only for XP theme support. Until just now, I hadn't put in the magical "don't break my app" Vista lines.<br><br>]]>
   </description>
   <pubDate>Sun, 20 Jan 2008 12:48:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30309&amp;title=vista-registry-virtualstore#30309</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore :   Ark42 wrote:A separate app...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30307&amp;title=vista-registry-virtualstore#30307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=150">Sven</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 20 January 2008 at 7:46am<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Ark42" alt="Originally posted by Ark42" style="vertical-align: text-bottom;" /> <strong>Ark42 wrote:</strong><br /><br />A separate app or COM object for a couple-line popup dialog that does the registration simply isn't worth it. "highestAvailable" it is then.Is there an API to check what level of permissions the applications is actually running with, since before I only checked if the key I wanted in HKLM was writable, and if that failed, greyed out the text box and put up a message stating that you must be administrator to activate the software. Now with Vista, that key will always be writable, even if it is virtualized.<br /></td></tr></table><br />If you are using a manifest, Vista doesn't virtualize registry and file access. You can check the virtualization status with Task Manager, there is a special column for virtualization.]]>
   </description>
   <pubDate>Sun, 20 Jan 2008 07:46:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30307&amp;title=vista-registry-virtualstore#30307</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : This may help:http://www.codep...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30158&amp;title=vista-registry-virtualstore#30158</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2113">ijwelch</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 15 January 2008 at 10:57pm<br /><br />This may help:<br><a href="http://www.codeproject.com/KB/vista-security/VistaElevator.aspx" target="_blank">http://www.codeproject.com/KB/vista-security/VistaElevator.aspx</a><br>]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 22:57:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30158&amp;title=vista-registry-virtualstore#30158</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : A separate app or COM object for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30150&amp;title=vista-registry-virtualstore#30150</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 15 January 2008 at 4:25pm<br /><br />A separate app or COM object for a couple-line popup dialog that does the registration simply isn't worth it. "highestAvailable" it is then.<br><br>Is there an API to check what level of permissions the applications is actually running with, since before I only checked if the key I wanted in HKLM was writable, and if that failed, greyed out the text box and put up a message stating that you must be administrator to activate the software. Now with Vista, that key will always be writable, even if it is virtualized.<br><br><br>]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 16:25:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30150&amp;title=vista-registry-virtualstore#30150</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : Only elevated apps can write to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30149&amp;title=vista-registry-virtualstore#30149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=150">Sven</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 15 January 2008 at 4:21pm<br /><br />Only elevated apps can write to HKLM. Elevation is only possible for the whole process, impersonation for a few lines isn't possible. An alternative is an elevated COM object.]]>
   </description>
   <pubDate>Tue, 15 Jan 2008 16:21:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30149&amp;title=vista-registry-virtualstore#30149</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : So the entire app must run as...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30131&amp;title=vista-registry-virtualstore#30131</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 14 January 2008 at 11:32pm<br /><br /><br>So the entire app must run as elevated-admin, not just the dialog where registration happens then?&nbsp; <br>]]>
   </description>
   <pubDate>Mon, 14 Jan 2008 23:32:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30131&amp;title=vista-registry-virtualstore#30131</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : To get elevate admin you need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30129&amp;title=vista-registry-virtualstore#30129</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2113">ijwelch</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 14 January 2008 at 8:58pm<br /><br />To get elevate admin you need to say so in a manifest file. eg:<br><br>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt; <br>&nbsp;&nbsp; &lt;assembly <br>&nbsp;&nbsp;&nbsp;&nbsp; xmlns="urn:schemas-microsoft-com:asm.v1" <br>&nbsp;&nbsp;&nbsp;&nbsp; manifestVersion="1.0"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; processorArchitecture="x86" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version="5.1.0.0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="win32"&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name="<b>MYAPPNAME.exe</b>"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;description&gt;&lt;/description&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dependency&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;assemblyIdentity<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="win32" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name="Microsoft.Windows.Common-Controls"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; version="6.0.0.0"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; publicKeyToken="6595b64144ccf1df"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language="*"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; processorArchitecture="x86"/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependentAssembly&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/dependency&gt;<br><br>&lt;!-- Identify the application security requirements, for Windows Vista . --&gt;<br>&nbsp; &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;security&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;requestedPrivileges&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#009900">&lt;!-- &lt;requestedExecutionLevel level="requireAdministrator" /&gt;&nbsp; --&gt;</font> &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>&lt;requestedExecutionLevel level="highestAvailable" /&gt;</b><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/requestedPrivileges&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/security&gt;<br>&nbsp; &lt;/trustInfo&gt;<br><br>&lt;/assembly&gt;<br><br>]]>
   </description>
   <pubDate>Mon, 14 Jan 2008 20:58:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30129&amp;title=vista-registry-virtualstore#30129</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : Ok, can you point me towards the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30123&amp;title=vista-registry-virtualstore#30123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 14 January 2008 at 3:46pm<br /><br />Ok, can you point me towards the API functions I need to use to elevate admin to real-admin and a better way to test if the current user is actually an admin to begin with?<br><br>What I still don't really understand though, is when the key is created at "HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Morpheus Software\Morpheus Photo Morpher" because of a write to "HKEY_LOCAL_MACHINE\SOFTWARE\Morpheus Software\Morpheus Photo Morpher", why does a read from "HKEY_LOCAL_MACHINE\SOFTWARE\Morpheus Software\Morpheus Photo Morpher" for the same key then fail? Shouldn't the READ be virtualized too?]]>
   </description>
   <pubDate>Mon, 14 Jan 2008 15:46:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30123&amp;title=vista-registry-virtualstore#30123</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : Like I said, non-elevated admin...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30119&amp;title=vista-registry-virtualstore#30119</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=16">kinook</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 14 January 2008 at 2:05pm<br /><br />Like I said, non-elevated admin users on Vista can't write to HKEY_LOCAL_MACHINE and %ProgramFiles%.  Most likely your installer is running elevated, but when the user starts your program after installing, it is running unelevated.  See the links in the blog post for more details.]]>
   </description>
   <pubDate>Mon, 14 Jan 2008 14:05:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30119&amp;title=vista-registry-virtualstore#30119</guid>
  </item> 
  <item>
   <title><![CDATA[Vista Registry VirtualStore : My app is not exactly legacy,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30118&amp;title=vista-registry-virtualstore#30118</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9303<br /><strong>Posted:</strong> 14 January 2008 at 1:51pm<br /><br />My app is not exactly legacy, and the user IS running as an administrator, I verified that the InnoSetup installer ran correctly for them with the same user logged in, and it did not prompt for a different username/password to run. My InnoSetup configuration requires Admin privileges to run, so it shouldn't even install if that is not present. It was clearly able to create C:\Program Files\Morpheus Photo Morpher and write to that location, as well as HKLM in the registry from the installer.&nbsp; But then my application, from the same user account, can't write to HKLM for some reason still.<br><br>Should the only conclusion be that the user is wrong, and they are simply not running as an Administrator?<br>The only test I have in the program code to prevent the user from activating as a non-admin account was to check if I can open the "registration" key for writing or not (which works on 2000/XP to tell Admin from non-Admin).<br><br>]]>
   </description>
   <pubDate>Mon, 14 Jan 2008 13:51:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9303&amp;PID=30118&amp;title=vista-registry-virtualstore#30118</guid>
  </item> 
 </channel>
</rss>