<?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>And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx</link><description>What becomes of all my earlier non-admin tips, tricks and recommendations vis-à-vis RunAs, MakeMeAdmin, PrivBar and their interactions with IE and Explorer? The short answer is that Vista changes just about everything with respect to running with least</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#9992508</link><pubDate>Thu, 08 Apr 2010 15:47:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9992508</guid><dc:creator>abqbill (Bill Stewart)</dc:creator><description>&lt;p&gt;It is not currently possible to run Windows Explorer elevated in Windows 7. See:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/1798a1a7-bd2e-4e42-8e98-0bc715e7f641/"&gt;http://social.technet.microsoft.com/Forums/en-US/w7itprosecurity/thread/1798a1a7-bd2e-4e42-8e98-0bc715e7f641/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My answer is to use Explorer++ (&lt;a rel="nofollow" target="_new" href="http://www.explorerplusplus.com/"&gt;http://www.explorerplusplus.com/&lt;/a&gt;) -- it even has a privilege level display option.&lt;/p&gt;
&lt;p&gt;HTH, Bill&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9992508" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#9891782</link><pubDate>Sat, 05 Sep 2009 17:29:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891782</guid><dc:creator>Bob L</dc:creator><description>&lt;p&gt;Unfortunately Windows 7 seems to have changed the rules a bit. &amp;nbsp;Nothing I have found and tried so far seems to get Windows Explorer to run with administrator rights turned on.&lt;/p&gt;
&lt;p&gt;Has anyone figured out a way to get Windows Explorer in Windows 7 to run with admin rights?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9891782" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#9251643</link><pubDate>Wed, 24 Dec 2008 13:00:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9251643</guid><dc:creator>Patrick Rynhart</dc:creator><description>&lt;p&gt;Hi Aaron,&lt;/p&gt;
&lt;p&gt;I think that Vista actually encourages people to add their account to the &amp;quot;Administrators&amp;quot; group - albeit constrained by UAC - because (AFAIK) it is not possible to obtain an elevated instance of Windows explorer from a Standard user account.&lt;/p&gt;
&lt;p&gt;I am aware that OTS authentication is built in to Windows explorer, when logged on as a Standard user, but for users such as myself this is not practical (as it results in entering the credentials of an administrator repeatedly with every system-wide change). &amp;nbsp;What is needed is an administrative instance of explorer that &amp;quot;sticks&amp;quot; (when required) for a Standard user.&lt;/p&gt;
&lt;p&gt;I am aware that an elevated instance of a Command prompt can be started from a Standard user account but an elevated instance of explorer cannot be started from this prompt (because it is running under the credentials of a different user which is not supported under Vista).&lt;/p&gt;
&lt;p&gt;From this point of view, therefore, true Limited User accounts are actually &amp;quot;better&amp;quot; under Windows XP than in Windows Vista because, with Windows XP, a Limited User can use runas or MakeMeAdmin to invoke an Administrative instance of explorer.&lt;/p&gt;
&lt;p&gt;I'm not convinced that the approach taken with UAC was the best, i.e. &amp;quot;constraining administrators&amp;quot; as opposed to getting people to be members of only the Users group (i.e. a true Standard User).&lt;/p&gt;
&lt;p&gt;I note that your post above includes the statement:&lt;/p&gt;
&lt;p&gt;&amp;quot;If you are a member of the Administrators group on Vista, it's effectively the same as being a standard user....&amp;quot;&lt;/p&gt;
&lt;p&gt;This reinforces my point. &amp;nbsp;Windows Vista *encourages* people into the Administrators group. &amp;nbsp;This should be turned around, i.e. &amp;quot;If you're a Standard User you can escalate to an Administrative context when required by...&amp;quot;&lt;/p&gt;
&lt;p&gt;I thought that the point of &amp;quot;least privilege&amp;quot; was to get users out of the Administrators group. &amp;nbsp;In this sense, IMHO, UAC has become an enormous &amp;quot;tangent&amp;quot; on the road of least privilege for Windows users.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Patrick&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9251643" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#8950311</link><pubDate>Sat, 13 Sep 2008 18:54:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8950311</guid><dc:creator>Vince Mancini</dc:creator><description>&lt;p&gt;OK thank you again.&lt;/p&gt;
&lt;p&gt;Since there is no security boundary between a low process and an elevated one on the same desktop, it’s clear that the safest way to run is to not elevate the standard user account, but instead to use Fast User Switching to open an admin account to do admin tasks when they come up. &amp;nbsp;But sometimes the user has gone through 3 or 4 steps in a process and then is presented with the elevation prompt. &amp;nbsp;If the user then switches to the admin account he must go through all those steps again to reach the same point where admin rights were necessary. &amp;nbsp;Or is there a way to switch to the admin account and have it continue from the point where the standard account left off?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8950311" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#8947175</link><pubDate>Fri, 12 Sep 2008 18:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8947175</guid><dc:creator>Vince Mancini</dc:creator><description>&lt;P&gt;OK thanks for the info.&lt;/P&gt;
&lt;P&gt;In my reading I've come across references to file system and registry virtualization in the standard user accounts. &amp;nbsp;Does this do anything to increase security/block malware for the standard user?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; No -- file/registry virtualization is an &lt;STRONG&gt;application compatibility &lt;/STRONG&gt;technology.&amp;nbsp; What file/registry virtualization do is that when&amp;nbsp;a "legacy" app tries to write to protected areas (e.g., %ProgramFiles%, %windir%, HKLM\Software), Windows silently redirects that access to a "virtual store" in the user's profile, where the user has permission to write.&amp;nbsp; The modifications are then visible to that user but not to others on the same machine.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8947175" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#8944733</link><pubDate>Thu, 11 Sep 2008 18:01:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8944733</guid><dc:creator>Vince Mancini</dc:creator><description>&lt;P&gt;I’ve been running Vista Home Premium as a Standard User, and it seems to be perfectly usable. &amp;nbsp;My initial thought was that the only difference between a standard user account and an administrator account (the regular admin account, not the hidden admin account) is that when it is necessary to elevate the rights for the task at hand, the standard account needs to input an admin username and password, while the regular admin account only needs to click Continue in the UAC dialog. But then I started to notice a few other subtle differences, so I decided to run a few limited tests of my own. &amp;nbsp;I've found that an unelevated standard user account is definitely NOT the same as an unelevated (regular) administrator account.&lt;/P&gt;
&lt;P&gt;This can be seen if you open either regedit or services.msc. &amp;nbsp;The admin is presented with the UAC elevation prompt, and can then make changes. &amp;nbsp;On the other hand, the standard user is NOT presented with a UAC prompt, and the standard user is only able to view the settings, and is unable to change them. &amp;nbsp;If the standard user instead right clicks and selects Run As Administrator, then he is able to make changes. &lt;/P&gt;
&lt;P&gt;So since it is clear that this difference exists, I am wondering what other differences there are between an unelevated standard user and an unelevated administrator. &amp;nbsp;Of particular interest is whether malware that gets installed on a standard account (whether when elevated or not) is limited in the harm it can do.&lt;/P&gt;
&lt;P&gt;Are there any pages from Microsoft that detail the differences, or can you share what you know?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; Great observations and questions.&amp;nbsp; So, first of all... there are various mechanisms that determine whether an app prompts for elevation when it starts.&amp;nbsp; The vast majority of apps will be either "runAsInvoker" (app run in the same context as the app that started it), or "requireAdministrator" (prompt for elevation if the app that started it wasn't already elevated).&amp;nbsp; There is one more marking, "highestAvailable", which&amp;nbsp;acts like&amp;nbsp;"runAsInvoker" for standard user and "requireAdministrator" for admin accounts.&amp;nbsp; Both regedit.exe and mmc.exe are marked "highestAvailable".&amp;nbsp; It's not ideal, and it's a rare app where such a marking can even be considered appropriate.&amp;nbsp; Note that they aren't strictly read-only for std user -- anything that the std user is allowed to change can still be changed.&amp;nbsp; For regedit that would mostly be HKCU; for services.msc (which is actually run by mmc.exe) the user would be able to start/stop any services that granted the user those rights.&amp;nbsp; (Off the top of my head I don't remember any.)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Other main differences between Vista std user and admin, particularly as pertains to security and defense against malware...&amp;nbsp; As long as you never run anything elevated, risk of unauthorized elevation of privilege through your user session is about the same.&amp;nbsp; The risk is probably higher for admin than for std user, because the admin's profile information (preferences etc) is generally writable before elevation and may be consumed by apps that are elevated.&amp;nbsp; When using&amp;nbsp;a std user account, the elevated app is looking at a different user profile.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;That said, as Mark Russinovich has pointed out, UAC/elevation is not a watertight security boundary, so there is always some risk regardless of whether you're using a std user or admin account.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8944733" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#8328839</link><pubDate>Fri, 21 Mar 2008 12:53:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8328839</guid><dc:creator>Kyle Hamilton</dc:creator><description>&lt;P&gt;Okay. &amp;nbsp;I'm on Vista Home Premium. &amp;nbsp;I need to run chkdsk on my drive, and I'm most comfortable doing that from the command prompt.&lt;/P&gt;
&lt;P&gt;How can I do this? &amp;nbsp;runas /showtrustlevels shows me that:&lt;/P&gt;
&lt;P&gt;0x20000 (Basic User)&lt;/P&gt;
&lt;P&gt;is the only trust level that is available on my system.&lt;/P&gt;
&lt;P&gt;I'm the computer owner account, I can set things to run with high integrity, I can run things with high integrity, I can get the UAC prompt and just click 'accept'.&lt;/P&gt;
&lt;P&gt;So what do I do? &amp;nbsp;How do I do this?&lt;/P&gt;
&lt;P&gt;And what can I do so that I don't need to upgrade to Business just to be able to do my machine maintenance the way I'm used to?&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; RunAs.exe will let you run things at the same integrity level, but not higher.&amp;nbsp; Can't you just elevate a command prompt and run it from there?&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8328839" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#6963342</link><pubDate>Thu, 03 Jan 2008 07:58:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6963342</guid><dc:creator>Jack</dc:creator><description>&lt;P&gt;"This can be addressed by changing the elevation behavior for administrators from "prompt for consent" to "prompt for credentials". "&lt;/P&gt;
&lt;P&gt;How do I do this?&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis] Administrative Tools, Local Security Policy (secpol.msc):&amp;nbsp; Local Policies, Security Options, "User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode."&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6963342" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#5529340</link><pubDate>Sat, 20 Oct 2007 00:37:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5529340</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Great post Aaron,&lt;/p&gt;
&lt;p&gt;I've been doing a lot of work trying to design a Vista environment that is useable for our users while still trying to keep UAC enabled. &amp;nbsp;I have to say that it has been a challenge. &amp;nbsp;I'm not certain that it will be possible to keep it enabled in the end.&lt;/p&gt;
&lt;p&gt;For our administrative type users, the inability for Explorer.exe to run with the elevated token has caused a lot of heart-ache. &amp;nbsp;It's been fun teaching some of the younger chaps how to work in an elevated DOS CMD prompt since that is about the only place they can actually get any of their work done when UAC is doing its thing. &amp;nbsp;Forcing our admin scripts to launch HTML and VBS files by first opening an elevated CMD window instead of an elevated Explorer window has made things very ugly indeed.&lt;/p&gt;
&lt;p&gt;Currently my answer for everything is &amp;quot;run it from an elevated CMD window&amp;quot;. &amp;nbsp;I wish I had a better answer. &amp;nbsp;I was hoping to use your tricks published above to get an Explorer window to elevate, but to no avail. &amp;nbsp;I guess those loopholes have been closed. &amp;nbsp;Since a few months have passed, I was wondering if you have found any other ways of getting Explorer to go?&lt;/p&gt;
&lt;p&gt;At the moment I'm thinking it might be time to go back to those old 3rd party explorer tools we used in the Win NT days since I should be able to spawn them in their own process. &amp;nbsp;They should let me copy files and open html type extensions.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5529340" width="1" height="1"&gt;</description></item><item><title>re: And so this is Vista…</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2007/06/28/and-so-this-is-vista.aspx#5231642</link><pubDate>Tue, 02 Oct 2007 02:49:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5231642</guid><dc:creator>TheJag</dc:creator><description>&lt;p&gt;Sorry jumped the gun in posting a reply... I missed that bit about IE and explorer entertaining multiple accounts on the same desktop. switch user helps but you gotta open up everything once again...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5231642" width="1" height="1"&gt;</description></item></channel></rss>