<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>James Finnigan : Tips</title><link>http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx</link><description>Tags: Tips</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>The best way to make UAC shut up for a while</title><link>http://blogs.msdn.com/jamesfi/archive/2007/06/08/the-best-way-to-make-uac-shut-up-for-a-while.aspx</link><pubDate>Sat, 09 Jun 2007 06:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3174222</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/3174222.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=3174222</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=3174222</wfw:comment><description>&lt;P&gt;Let's say you want to install a few things and want UAC to stop bugging you while you install them.&amp;nbsp; Should you turn off UAC and install the apps?&amp;nbsp; Since that disables UAC's virtualization, it can destabilize things that depend on data written to those virtual locations.&amp;nbsp; Here's an alternative that keeps all the virtualization intact while getting UAC to lay off for a while.&lt;/P&gt;
&lt;P&gt;Fire up gpedit.msc and adjust this policy (pictured below):&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image.png" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=575 alt=image src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb.png" width=1103 border=0 mce_src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Change it to be &lt;EM&gt;Elevate without prompting&lt;/EM&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_1.png" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_1.png"&gt;&lt;IMG style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=511 alt=image src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb_1.png" width=431 border=0 mce_src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ThebestwaytomakeUACshutupforawhile_11F33/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Of course, remember to turn it back when you're done! :)&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;James&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;[Update: how to do this without using gpedit.msc]&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Run this command&amp;nbsp;(from an elevated&amp;nbsp;command prompt) to make UAC elevate without prompting:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When you're done, run this command (from an elevated command prompt) to set it back to the default:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;reg ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d&amp;nbsp;2 /f&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3174222" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/virtualization/default.aspx">virtualization</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/LUA/default.aspx">LUA</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/UAC/default.aspx">UAC</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Setup/default.aspx">Setup</category></item><item><title>Making an MSI that doesn't need a UAC/LUA prompt</title><link>http://blogs.msdn.com/jamesfi/archive/2007/05/02/making-an-msi-that-doesn-t-need-a-uac-lua-prompt.aspx</link><pubDate>Thu, 03 May 2007 08:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2387093</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/2387093.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=2387093</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=2387093</wfw:comment><description>&lt;H2&gt;The goal&lt;/H2&gt;
&lt;P&gt;I think that most things don't need to require a UAC prompt to install - just install it for that user.&amp;nbsp; Why not make the MSI so it doesn't prompt and your users get a smoother experience?&amp;nbsp; (Also, I feel much better installing a program that doesn't require elevation to install - at a minimum I know it's not disabling my anti-malware software.)&amp;nbsp; Ideally, with that same package you could optionally install per-machine (which requires elevation).&amp;nbsp; Here's some information on how to make it happen...&lt;/P&gt;
&lt;H2&gt;Background&lt;/H2&gt;
&lt;P&gt;I was recently asked to make an MSI for an &lt;EM&gt;extremely&lt;/EM&gt; minimal replacement of the &lt;EM&gt;Run As&lt;/EM&gt; menu item that was removed in Vista (by calling runas.exe).&amp;nbsp; Although I doubt we would ever ship something like that I decided to make an installation that didn't elevate, or that could elevate and install per-machine.&amp;nbsp; It was an interesting experience, although I didn't entirely get the behavior I was going for - there are some limitations that make it impossible to do with a&amp;nbsp;MSI in Windows Vista, but still possible in a single download.&amp;nbsp; (More on that later).&lt;/P&gt;
&lt;H2&gt;The technical details&lt;/H2&gt;
&lt;P&gt;All MSIs elevate on Windows Vista by default.&amp;nbsp; However there is a &lt;A href="http://msdn2.microsoft.com/en-us/library/aa372870.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa372870.aspx"&gt;flag that you can set&lt;/A&gt; that will tell MSI that you don't need to elevate.&amp;nbsp; The 3rd bit of the word count summary property can be set by using the msiinfo tool (comes with the platform SDK).&amp;nbsp; Since I also used an embedded cab, that means my word count summary property should be set to 10 (8 | 2 == 10).&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face=Consolas size=2&gt;msiinfo RunAsNewUser.msi -w 10&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to have the feature include both the per-user and per-machine information if you're trying to put both in one package like I did (not a best practice - more on that later).&amp;nbsp; &lt;/P&gt;&lt;PRE class=code&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;    &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Feature&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAsNewUser&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Title&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Run as New User&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Level&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;1&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.cmd&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.cmd&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;ComponentRef&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
    &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Feature&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;FONT face=Consolas&gt;&amp;gt;
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;A href="http://11011.net/software/vspaste" mce_href="http://11011.net/software/vspaste"&gt;&lt;/A&gt;
&lt;P&gt;Your standard MSI that installs to the system directories doesn't face the (fairly simple) issues involved.&amp;nbsp; Here's the per-machine version of my components (you need two versions of the components in order to put them in different directories(*). [I build all my MSIs using &lt;A href="http://wix.sourceforge.net/" mce_href="http://wix.sourceforge.net/"&gt;Wix&lt;/A&gt; - it gives me fine-grained control for making really solid MSIs and it tends to match the way I want to think about MSIs.]&lt;/P&gt;&lt;PRE class=code&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;      &amp;lt;!--&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,128,0)"&gt; We need a per-machine version as well, with seperate components &lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;--&amp;gt;
      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;ProgramFilesFolder&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;AdTools&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
        &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.Microsoft&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Microsoft&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
          &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.Runas&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAs&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;9D448C8B-AF67-423B-9622-D9720770B61E&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;File&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;DiskId&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;1&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Source&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;ALLUSERS&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;98A7DE3E-EF1D-434F-80CB-2F878CD0E9F5&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;SystemFileAssociations\.exe\shell\Run as new user...\command&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCR&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;createAndRemoveOnUninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
                &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuserCommand.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;expandable&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;"[#pm.runasnewuser.cmd]" "%1" %*&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;/&amp;gt;
              &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;ALLUSERS&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;20D758CC-2774-4532-BD6D-E7C378761C90&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;SystemFileAssociations\.msc\shell\Run as new user...\command&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCR&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;createAndRemoveOnUninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
                &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pm.runasnewuserCommand.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;expandable&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;"[#pm.runasnewuser.cmd]" "%1" %*&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;/&amp;gt;
              &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;ALLUSERS&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
          &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
        &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
      &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;FONT face=Consolas&gt;&amp;gt;
&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;A href="http://11011.net/software/vspaste" mce_href="http://11011.net/software/vspaste"&gt;&lt;A href="http://11011.net/software/vspaste" mce_href="http://11011.net/software/vspaste"&gt;&lt;A href="http://11011.net/software/vspaste" mce_href="http://11011.net/software/vspaste"&gt;&lt;/A&gt;
&lt;P&gt;Notice that I made these components conditional on &lt;FONT face=Consolas&gt;&lt;EM&gt;ALLUSERS&lt;/EM&gt;&lt;/FONT&gt;.&amp;nbsp; We'll make the per-user version conditional on &lt;FONT face=Consolas&gt;&lt;EM&gt;NOT (ALLUSERS)&lt;/EM&gt;&lt;/FONT&gt;.&amp;nbsp; This is pretty basic stuff, and is more or less simply specifying what goes where without much specialized stuff.&amp;nbsp; You can do a per-user setup that looks quite similar by putting it somewhere that isn't off the user's profile.&amp;nbsp; I decided to put mine in the user's profile which means a little extra baggage.&lt;/P&gt;
&lt;P&gt;So we're basically done right?&amp;nbsp; Well, not really, no.&amp;nbsp; We've disabled the elevation, but now you need to make your installation not require elevation.&amp;nbsp; Things like installing to &lt;EM&gt;Program Files&lt;/EM&gt; require admin rights, so we'll need to install to somewhere else.&amp;nbsp; I'm not really sure where that should be - probably %UserProfile%\ProgramFiles or something like that.&amp;nbsp; In this example, I installed to LocalAppData.&lt;/P&gt;&lt;PRE class=code&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;      &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;LocalAppDataFolder&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;AdTools&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
        &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Microsoft&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Microsoft&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
          &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Runas&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAs&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;06A57A74-7639-4A96-A1FF-6C434ED50CEF&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;File&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;runasnewuser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;DiskId&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;1&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Source&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;runasnewuser.cmd&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.cmd.keypath&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCU&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Software\Microsoft\RunAs\KeyPaths&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;string&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAsNewUser.cmd&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RemoveFolder&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Runas&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Runas&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;On&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;uninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;/&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RemoveFolder&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Microsoft&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Directory&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.Microsoft&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;On&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;uninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;/&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;NOT (ALLUSERS)&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;C0DB0776-441A-4AB9-871A-5AF1F326FA0A&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;SystemFileAssociations\.exe\shell\Run as new user...\command&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCR&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;createAndRemoveOnUninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
                &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuserCommand.exe&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;expandable&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;"[#pu.runasnewuser.cmd]" "%1" %*&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.keypath&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCU&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Software\Microsoft\RunAs\KeyPaths&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;string&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAsNewUser.reg&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;NOT (ALLUSERS)&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Guid&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;C5B94A3B-7D87-4FC0-AC28-111B86679251&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;SystemFileAssociations\.msc\shell\Run as new user...\command&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCR&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Action&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;createAndRemoveOnUninstall&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
                &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuserCommand.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;expandable&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;"[#pu.runasnewuser.cmd]" "%1" %*&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryKey&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;RegistryValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Id&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;pu.runasnewuser.reg.msc.keypath&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;HKCU&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Key&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;Software\Microsoft\RunAs\KeyPaths&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Type&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;string&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;RunAsNewUser.reg.msc&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(255,0,0)"&gt;KeyPath&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;=&lt;/SPAN&gt;'&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;yes&lt;/SPAN&gt;'&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt; /&amp;gt;
              &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;&lt;/SPAN&gt;NOT (ALLUSERS)&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Condition&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
            &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Component&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
          &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
        &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face=Consolas&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&amp;gt;
      &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: rgb(163,21,21)"&gt;Directory&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN style="COLOR: rgb(0,0,255)"&gt;&lt;FONT face=Consolas&gt;&amp;gt;&lt;/FONT&gt;
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;A href="http://11011.net/software/vspaste" mce_href="http://11011.net/software/vspaste"&gt;&lt;/A&gt;
&lt;P&gt;The extra baggage is the HKCU keypath RegistryValue, and the RemoveFolder entries.&amp;nbsp; Nothing crazy, but a little extra to be aware of.&amp;nbsp; These are necessary because of things like roaming profiles.&lt;/P&gt;
&lt;H2&gt;The experience&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;You can install it and it goes through without any elevation.&amp;nbsp; The installation is per-user by default.&amp;nbsp; (Yay! Per-user works and has a smokin' experience, and supports all kinds of scenarios.)&lt;/P&gt;
&lt;P&gt;If you want to install it per-machine, you need to launch it via this command: &lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face=Consolas&gt;msiexec /i RunAsNewUser.msi ALLUSERS=1&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is obviously not ideal - but there's a hidden hiccup.&amp;nbsp; I thought that it would prompt for elevation if you specified ALLUSERS=1 - it does not.&amp;nbsp; You get this error message:&lt;/P&gt;
&lt;P&gt;&lt;IMG style="MARGIN: 5px" height=197 alt="You do not have sufficient privileges to complete this installation for all usrs of the machine." src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/MakinganMSIthatdoesntneedaUACLUAprompt_1361C/image_2.png" width=398 mce_src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/MakinganMSIthatdoesntneedaUACLUAprompt_1361C/image_2.png"&gt; &lt;/P&gt;
&lt;P&gt;It's not the end of the world.&amp;nbsp; If you run the same command from an already elevated process (e.g. an elevated command prompt) the installation goes through just fine (as the error message implies).&amp;nbsp; It's a bit of a shame, but I've confirmed with Carolyn that you can't build a single package that will elevate sometimes and sometimes not (because the flag is in the MSI summary information it can't be changed in-flight).&lt;/P&gt;
&lt;H2&gt;The best practice for building a per-user (without elevation) &lt;EM&gt;and &lt;/EM&gt;per-machine app (with elevation)&lt;/H2&gt;
&lt;P&gt;Because of the limitations noted above, here's what is the best practice for building a per-user &lt;EM&gt;and &lt;/EM&gt;per-machine app:&amp;nbsp; Have a bootstrapper exe, and two separate&amp;nbsp;MSIs (one per-user package and one per-machine package).&amp;nbsp; If these are embedded in the bootstrapper exe as resources that are extracted at install, then you can a single download that installs either as per-machine or per-user.&lt;/P&gt;
&lt;P&gt;Why?&amp;nbsp; Well, not many folks are trying to do this at the moment.&amp;nbsp; Of course, more will as Vista is on more and more computers - ultimately I think this is a huge step forward for keeping your computer free of malware.&amp;nbsp; I think it's worth saying twice: I feel much better installing a program that doesn't require elevation to install - at a minimum I know it's not disabling my anti-malware software.&lt;/P&gt;
&lt;H2&gt;Other Resources&lt;/H2&gt;
&lt;P&gt;&lt;A title=http://blogs.msdn.com/windows_installer_team/ href="http://blogs.msdn.com/windows_installer_team/" mce_href="http://blogs.msdn.com/windows_installer_team/"&gt;http://blogs.msdn.com/windows_installer_team/&lt;/A&gt;&amp;nbsp;- Get it straight from the horse's mouth&lt;/P&gt;
&lt;P&gt;&lt;A title=http://blogs.msdn.com/astebner/archive/2006/12/13/some-useful-things-i-have-learned-about-windows-installer-and-uac.aspx href="http://blogs.msdn.com/astebner/archive/2006/12/13/some-useful-things-i-have-learned-about-windows-installer-and-uac.aspx" mce_href="http://blogs.msdn.com/astebner/archive/2006/12/13/some-useful-things-i-have-learned-about-windows-installer-and-uac.aspx"&gt;http://blogs.msdn.com/astebner/archive/2006/12/13/some-useful-things-i-have-learned-about-windows-installer-and-uac.aspx&lt;/A&gt;&amp;nbsp;- Good intro article that doesn't bury you in information like Roberts' (great) blog entries&lt;/P&gt;
&lt;P&gt;&lt;A title=http://blogs.msdn.com/rflaming/archive/2006/10/01/uac-in-msi-notes-answers-to-questions-in-comments-from-earlier-blog-posts.aspx href="http://blogs.msdn.com/rflaming/archive/2006/10/01/uac-in-msi-notes-answers-to-questions-in-comments-from-earlier-blog-posts.aspx" mce_href="http://blogs.msdn.com/rflaming/archive/2006/10/01/uac-in-msi-notes-answers-to-questions-in-comments-from-earlier-blog-posts.aspx"&gt;http://blogs.msdn.com/rflaming/archive/2006/10/01/uac-in-msi-notes-answers-to-questions-in-comments-from-earlier-blog-posts.aspx&lt;/A&gt;&amp;nbsp;- Summary of Robert's huge series about MSI and UAC&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/rflaming/archive/2006/09/30/778690.aspx"&gt;http://blogs.msdn.com/rflaming/archive/2006/09/30/778690.aspx&lt;/A&gt;&amp;nbsp;- Robert gives his take on the question: Should I write my installer as a Standard User install? If yes, how?&lt;/P&gt;
&lt;HR&gt;

&lt;P&gt;*&amp;nbsp;I imagine that you don't really need two versions of the components because I imagine that you could change the directory location using a custom action that set it, but I just found things a lot simpler if I used two different components&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2387093" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/malware/default.aspx">malware</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/LUA/default.aspx">LUA</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/UAC/default.aspx">UAC</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Setup/default.aspx">Setup</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Wix/default.aspx">Wix</category></item><item><title>How to launch an un-elevated process from an elevated process</title><link>http://blogs.msdn.com/jamesfi/archive/2007/04/11/how-to-launch-an-un-elevated-process-from-an-elevated-process.aspx</link><pubDate>Thu, 12 Apr 2007 07:11:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2095260</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/2095260.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=2095260</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=2095260</wfw:comment><description>&lt;p&gt;This question has come up a fair amount lately.&amp;nbsp; The short answer is that you don't&lt;strong&gt;*&lt;/strong&gt;&amp;nbsp;- instead you should:&lt;/p&gt; &lt;ol&gt; &lt;li&gt;first launch an unelevated process&lt;/li&gt; &lt;li&gt;have that unelevated process launch an elevated process and wait for it to finish (or use some form of IPC)&lt;/li&gt; &lt;li&gt;have that unelevated process then do what you wanted the elevated process to un-elevate and do&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;OK, but why?&amp;nbsp; When you elevated there's a good chance that you &lt;em&gt;also changed users&lt;/em&gt;.&amp;nbsp; If you simply had a way to generate the split token associated with the elevated user, then you would be running as the wrong user.&lt;/p&gt; &lt;p&gt;This is all documented, of course, in the &lt;em&gt;&lt;a href="http://www.microsoft.com/downloads/thankyou.aspx?familyId=ba73b169-a648-49af-bc5e-a2eebb74c16b&amp;amp;displayLang=en"&gt;Windows Vista Application Development Requirements for User Account Control Compatibility&lt;/a&gt;&lt;/em&gt; document (I hate sentence names).&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;strong&gt;*&lt;/strong&gt; Caveat:&amp;nbsp; &lt;/strong&gt;There is still a way to launch a process as that original user with the split token - use task scheduler (see the linked document for the source code).&amp;nbsp; I don't recommend using task scheduler (I recommend the process above), but there are times when your choices are limited.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2095260" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/LUA/default.aspx">LUA</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/UAC/default.aspx">UAC</category></item><item><title>Windows Live ID Client SDK alpha release</title><link>http://blogs.msdn.com/jamesfi/archive/2007/02/01/windows-live-id-client-sdk-alpha-release.aspx</link><pubDate>Fri, 02 Feb 2007 10:20:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1580466</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1580466.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1580466</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1580466</wfw:comment><description>&lt;p&gt;On a &lt;a href="http://blogs.msdn.com/jamesfi/archive/2006/12/23/how-to-use-bits-to-transfer-files.aspx#1360874"&gt;recent post about BITSAdmin&lt;/a&gt;, someone commented on how you needed to be logged into passport to download certain things.&amp;nbsp; Well I noticed in &lt;a title="Brian's blog" href="http://briankramp.spaces.live.com/Blog/cns!FB414355CC45FFEB!522.entry"&gt;Brian's blog&lt;/a&gt; that there is now an &lt;a href="https://connect.microsoft.com/site/sitehome.aspx?SiteID=347"&gt;alpha release of the live client SDK&lt;/a&gt;.&amp;nbsp; I haven't tried it out (still busy recruiting in Utah), but it looks promising that this will allow you to login via passport and then kick off bitsadmin to download those items.&lt;/p&gt; &lt;p&gt;Please provide feedback to help improve the SDK!&lt;/p&gt; &lt;p&gt;Thanks,&lt;br&gt;James&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1580466" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/BITS/default.aspx">BITS</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/passport/default.aspx">passport</category></item><item><title>RE: How to get rid of that pesky Windows Welcome Center at FIRST boot</title><link>http://blogs.msdn.com/jamesfi/archive/2007/01/24/how-to-get-rid-of-that-pesky-windows-welcome-center-at-first-boot.aspx</link><pubDate>Thu, 25 Jan 2007 10:13:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1526607</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1526607.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1526607</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1526607</wfw:comment><description>&lt;P&gt;While reading&amp;nbsp;blog comments about Welcome Center, I&amp;nbsp;came across &lt;A title=this&amp;amp;nbsp;entry href="http://www.msblog.org/2007/01/21/how-to-get-rid-of-that-pesky-windows-welcome-center-at-first-boot/" mce_href="http://www.msblog.org/2007/01/21/how-to-get-rid-of-that-pesky-windows-welcome-center-at-first-boot/"&gt;this&amp;nbsp;entry&lt;/A&gt; on how to remove welcome center at first boot.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;With a simple .reg file though, you can kill Windows Welcome Center dead on first boot — simply put the following into your .reg file and save it, run it, or add it to your scripts:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]&lt;BR&gt;"WindowsWelcomeCenter"=- &lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That &lt;EM&gt;will&lt;/EM&gt; do it.&amp;nbsp; But if you run this command instead, you can avoid creating a file and the elevation prompt.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v WindowsWelcomeCenter /f&lt;/CODE&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Oh, and sorry about waiting until the second time you see it before displaying the checkbox - that wasn't my idea.&amp;nbsp; (Welcome Center was a feature with a lot of &lt;A href="http://labnol.blogspot.com/2006/02/windows-vista-welcome-center.html" mce_href="http://labnol.blogspot.com/2006/02/windows-vista-welcome-center.html"&gt;input&lt;/A&gt;.)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1526607" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Welcome+Center/default.aspx">Welcome Center</category></item><item><title>Using WMIC to check for predicted disk failure (S.M.A.R.T. analysis)</title><link>http://blogs.msdn.com/jamesfi/archive/2007/01/15/using-wmic-to-check-for-predicted-disk-failure-s-m-a-r-t-analysis.aspx</link><pubDate>Tue, 16 Jan 2007 01:41:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1473198</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1473198.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1473198</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1473198</wfw:comment><description>&lt;p&gt;I was looking at the Windows Vista Reliability and Performance Monitor and noticed that the data collector sets for System Diagnostics included a SMART disk check.&amp;nbsp; I've been waiting for Windows to make better use of SMART and hadn't noticed that there was &lt;a href="http://www.microsoft.com/whdc/archive/smartdrv.mspx"&gt;a WMI entry for it&lt;/a&gt;.&amp;nbsp; I took a look at it in WMIC to see what data was there.&amp;nbsp; You can also view the data and thresholds used to predict failure, etc.&lt;/p&gt;&lt;pre&gt;WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictStatus
Active InstanceName PredictFailure Reason&lt;br&gt;TRUE IDE\DiskWDC_WD1200BB-00CAA0_____________________16.06V16\5&amp;amp;134a4e1&amp;amp;0&amp;amp;1.0.0_0 FALSE 0&lt;br&gt;TRUE IDE\DiskWDC_WD740GD-00FLA1______________________27.08D27\5&amp;amp;14d2dd2b&amp;amp;0&amp;amp;0.0.0_0 FALSE 0&lt;br&gt;TRUE IDE\DiskST3250823AS_____________________________3.03____\5&amp;amp;278c8dd0&amp;amp;0&amp;amp;1.0.0_0 FALSE 0

WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictData
WMIC /NAMESPACE:\\root\wmi PATH MSStorageDriver_FailurePredictThresholds
&lt;/pre&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1473198" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/WMI/default.aspx">WMI</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category></item><item><title>How to use BITS to transfer files</title><link>http://blogs.msdn.com/jamesfi/archive/2006/12/23/how-to-use-bits-to-transfer-files.aspx</link><pubDate>Sat, 23 Dec 2006 13:57:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1351545</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1351545.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1351545</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1351545</wfw:comment><description>&lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa362708.aspx"&gt;BITS&lt;/a&gt; is Microsoft's background intelligent transfer service.&amp;nbsp; It's used to transfer files without it bothering you (roughly).&amp;nbsp; The goal is to use idle bandwidth, so it doesn't affect that streaming radio station that you like, your video chat, etc.&lt;/p&gt; &lt;p&gt;The service is &lt;a href="http://msdn2.microsoft.com/en-us/library/aa363167.aspx"&gt;relatively full-featured&lt;/a&gt;, although there isn't a proper UI that I'm aware of&amp;nbsp;(not sure why this wasn't baked into IE7).&amp;nbsp; I've usually whipped up a simple .net app to do this kind of thing (large files, bad connections), but it initially didn't handle proxies that well and was never great and didn't do the idle-bandwidth thing.&amp;nbsp; Enter BITSAdmin.&lt;/p&gt; &lt;p&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/aa362813.aspx"&gt;BITSAdmin&lt;/a&gt; is a simple command-line tool shipping with Vista, and available as a &lt;a href="http://www.microsoft.com/downloads/details.aspx?amp;displaylang=en&amp;amp;familyid=49ae8576-9bb9-4126-9761-ba8011fabf38"&gt;download&lt;/a&gt; for XP and above.&lt;/p&gt; &lt;p&gt;Here's a sample of how to download &lt;a href="http://www.microsoft.com/downloads/info.aspx?na=90&amp;amp;p=&amp;amp;SrcDisplayLang=en&amp;amp;SrcCategoryId=&amp;amp;SrcFamilyId=A73A7E71-FF41-432D-A0EB-043E904A1905&amp;amp;u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f9%2f0%2fb%2f90b2097b-cb79-40fd-9d00-0917afc039e1%2fxnagse_setup.msi"&gt;XNA Game Studio Express 1.0&lt;/a&gt;:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;BITSAdmin /transfer xnase &lt;a href="http://www.microsoft.com/downloads/info.aspx?u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f9%2f0%2fb%2f90b2097b-cb79-40fd-9d00-0917afc039e1%2fxnagse_setup.msi"&gt;http://www.microsoft.com/downloads/info.aspx?u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f9%2f0%2fb%2f90b2097b-cb79-40fd-9d00-0917afc039e1%2fxnagse_setup.msi&lt;/a&gt; xnase.msi&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Here's another example of the same thing via tinyurl (it can help avoiding a lot of escaping of ampersands):&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;bitsadmin /transfer xnase &lt;a href="http://tinyurl.com/yhmojh"&gt;http://tinyurl.com/yhmojh&lt;/a&gt; xnase.msi&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;This does it right away and lets you watch it.&amp;nbsp; If you don't want that console window hanging around, or want to do several at once you can use this alternate syntax (bitsadmin /? shows the help but it's overly verbose and lacking decent simple examples before it launches into the 200 lines of help).&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;bitsadmin /CREATE /DOWNLOAD xnase&lt;/p&gt; &lt;p&gt;bitsadmin /ADDFILE xnase &lt;a href="http://tinyurl.com/yhmojh"&gt;http://tinyurl.com/yhmojh&lt;/a&gt; xnase.msi&lt;/p&gt; &lt;p&gt;bitsadmin /ADDFILE xnase &lt;a href="http://example.com/example.zip"&gt;http://example.com/example.zip&lt;/a&gt; ex.zip&lt;/p&gt; &lt;p&gt;...&lt;/p&gt; &lt;p&gt;bitsadmin /RESUME xnase&lt;/p&gt; &lt;p&gt;bitsadmin /MONITOR (till it's done)&lt;/p&gt; &lt;p&gt;bitsadmin /COMPLETE xnase&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;You can adjust it's priority, set notifications, peer caching, etc, etc, etc.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1351545" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Scripting/default.aspx">Scripting</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/BITS/default.aspx">BITS</category></item><item><title>Photo Album Publishing - Why print photos when you can print a book?</title><link>http://blogs.msdn.com/jamesfi/archive/2006/11/30/photo-album-publishing-why-print-photos-when-you-can-print-a-book.aspx</link><pubDate>Fri, 01 Dec 2006 09:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1181433</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1181433.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1181433</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1181433</wfw:comment><description>&lt;A href="http://www.mypublisher.com/" target=_new atomicselection="true" mce_href="http://www.mypublisher.com/"&gt;&lt;IMG style="MARGIN: 7px 7px 7px 0px" height=177 src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/PhotoAlbumPublishingwhyprintphotoswhenyo_12C42/products_openbook%5B5%5D.jpg" width=429 align=left mce_src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/PhotoAlbumPublishingwhyprintphotoswhenyo_12C42/products_openbook%5B5%5D.jpg"&gt;&lt;/A&gt; 
&lt;P&gt;Did you know that you can print custom books now?&amp;nbsp; I can easily and cheaply create my own book with &lt;A href="http://www.mypublisher.com/products.php" mce_href="http://www.mypublisher.com/products.php"&gt;mypublisher&lt;/A&gt;.&amp;nbsp; It's no &lt;A href="http://www.quark.com/" mce_href="http://www.quark.com/"&gt;quark&lt;/A&gt;&amp;nbsp;(what most real publishers use), but it's cheap, easy and good enough.&amp;nbsp; For what I want to do, it looks like the right level of flexibility.&amp;nbsp; I love products like mypublisher and &lt;A href="http://www.windowsdvdmaker.com/" mce_href="http://www.windowsdvdmaker.com/"&gt;Windows DVD Maker&lt;/A&gt; that give me a professional look without too much trouble so I can share great memories,&amp;nbsp;without giving up my life.&lt;/P&gt;
&lt;P&gt;I was just in the process of putting together some interesting photo stuff when this caught my eye.&amp;nbsp; I don't have any immediate plans to do something with it, but this seems like a great and inexpensive way to capture some great moments like our vacation to Europe in a way that doesn't involve a computer screen and that we can send to Grandparents and other folks who'd rather not have to sit at a computer to enjoy pictures of those that they love.&lt;/P&gt;
&lt;P&gt;I really love the picture screensavers myself, but this is probably something that I'll use to put together a few photo albums of our own.&amp;nbsp; We may even print off the blog that we share with our family members in book format.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1181433" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Christmas/default.aspx">Christmas</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Photography/default.aspx">Photography</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Shopping/default.aspx">Shopping</category></item><item><title>Christmas Camera Shopping Technique and Recommendation</title><link>http://blogs.msdn.com/jamesfi/archive/2006/11/26/christmas-camera-shopping-technique-and-recommendation.aspx</link><pubDate>Mon, 27 Nov 2006 07:59:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1157712</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1157712.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1157712</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1157712</wfw:comment><description>&lt;p&gt;I've been thinking about good point and click cameras lately, and I'm a big fan of the &lt;a href="http://www.amazon.com/gp/product/B000HJVNR8?ie=UTF8&amp;amp;tag=jamesfinnigan-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B000HJVNR8"&gt;Ricoh Caplio R4&lt;/a&gt;.&amp;nbsp; I've played with it myself, and enjoyed some great pictures of &lt;a href="http://flickr.com/search/?cm=ricoh%2Fcaplio_r4&amp;amp;q=flowers&amp;amp;m=text"&gt;flowers&lt;/a&gt;&amp;nbsp;from it.&amp;nbsp; But I was recently looking at a report of the &lt;a href="http://flickr.com/cameras/"&gt;most popular cameras on flickr&lt;/a&gt;, and noticed that you could see pictures taken with the different cameras.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Because Flickr supports searching pictures taken by a particular camera, you can (as in the flowers link above) search for pictures of flowers taken by your camera.&amp;nbsp; I recommend checking a few common scenarios like &lt;a href="http://flickr.com/search/?cm=ricoh%2Fcaplio_r4&amp;amp;q=longexposure"&gt;longexposure&lt;/a&gt;, &lt;a href="http://flickr.com/search/?cm=ricoh%2Fcaplio_r4&amp;amp;q=indoor&amp;amp;m=text"&gt;indoor&lt;/a&gt;, etc and compare them with a nice DSLR (I currently use a Canon Rebel XT although I really need more lenses (hint, hint family :))&amp;nbsp;- &lt;a href="http://flickr.com/search/?q=longexposure&amp;amp;cm=canon%2Feos_digital_rebel_xt&amp;amp;s=int"&gt;longexposure&lt;/a&gt;, &lt;a href="http://flickr.com/search/?q=indoor&amp;amp;cm=canon%2Feos_digital_rebel_xt&amp;amp;s=int"&gt;indoor&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;&lt;a href="http://flickr.com/cameras/ricoh/caplio_r4/" atomicselection="true"&gt;&lt;img height="139" src="http://blogs.msdn.com/blogfiles/jamesfi/WindowsLiveWriter/ChristmasCameraRecommendation_11D69/image%7B0%7D%5B6%5D.png" width="383"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;iframe style="width: 120px; height: 240px" marginwidth="0" marginheight="0" src="http://rcm.amazon.com/e/cm?t=jamesfinnigan-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=B000HJVNR8&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;iframe style="width: 120px; height: 240px" marginwidth="0" marginheight="0" src="http://rcm.amazon.com/e/cm?t=jamesfinnigan-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=as1&amp;amp;asins=B000I1ZWRC&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1157712" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Christmas/default.aspx">Christmas</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Photography/default.aspx">Photography</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Shopping/default.aspx">Shopping</category></item><item><title>Windows Vista Keyboard Shortcuts</title><link>http://blogs.msdn.com/jamesfi/archive/2006/11/24/windows-vista-keyboard-shortcuts.aspx</link><pubDate>Sat, 25 Nov 2006 07:02:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1145026</guid><dc:creator>jamesfinnigan</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamesfi/comments/1145026.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamesfi/commentrss.aspx?PostID=1145026</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jamesfi/rsscomments.aspx?PostID=1145026</wfw:comment><description>&lt;p&gt;Just came across this &lt;a href="http://shellrevealed.com/blogs/shellblog/archive/2006/10/16/Do-things-faster-with-Keyboard-Shortcuts.aspx"&gt;good listing of keyboard shortcuts in Windows Vista&lt;/a&gt; and thought I'd share them around.&amp;nbsp; Some people refuse to use the keyboard for much besides email, but I'm a huge fan of keyboard shortcuts (and love the ubiquitous search features in Vista)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1145026" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/jamesfi/archive/tags/Tips/default.aspx">Tips</category></item></channel></rss>