<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Tales from the Evil Empire : Vista</title><link>http://weblogs.asp.net/bleroy/archive/tags/Vista/default.aspx</link><description>Tags: Vista</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>How to manipulate files inside Inetpub/wwwroot all day without being bugged by UAC</title><link>http://weblogs.asp.net/bleroy/archive/2007/03/14/how-to-manipulate-files-inside-inetpub-wwwroot-all-day-without-being-bugged-by-uac.aspx</link><pubDate>Wed, 14 Mar 2007 23:51:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2028664</guid><dc:creator>Bertrand Le Roy</dc:creator><author>Bertrand Le Roy</author><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/bleroy/rsscomments.aspx?PostID=2028664</wfw:commentRss><comments>http://weblogs.asp.net/bleroy/archive/2007/03/14/how-to-manipulate-files-inside-inetpub-wwwroot-all-day-without-being-bugged-by-uac.aspx#comments</comments><description>&lt;p&gt;A lot has been written about &lt;a href="http://technet.microsoft.com/en-us/windowsvista/aa906021.aspx"&gt;UAC&lt;/a&gt;. Some choose to disable it. I chose not to and I&amp;#39;m doing just fine. At least, I don&amp;#39;t have to type in my password on every prompt like on some other&amp;nbsp;OS that likes to mock us on TV&amp;nbsp;;)&lt;/p&gt;&lt;p&gt;Anyway, the one place where &lt;a href="http://technet.microsoft.com/en-us/windowsvista/aa906021.aspx"&gt;UAC&lt;/a&gt; has been really annoying to me as a web developer is that any file manipulation in Inetpub requires validation by default (and that&amp;#39;s legitimate, it&amp;#39;s not a directory that you want rogue processes to be able to easily modify).&amp;nbsp;I tend to be in that directory a lot.&lt;/p&gt;&lt;p&gt;So I was talking about that with &lt;a href="http://www.nikhilk.net/"&gt;Nikhil&lt;/a&gt; yesterday and we were wondering if running the Windows Explorer as administrator would fix the problem. At first, it looks like it doesn&amp;#39;t, but &lt;a href="http://www.nikhilk.net/"&gt;Nikhil&lt;/a&gt; then mentioned that Explorer was probably not actually running as admin because all Explorer windows run under a single process by default. So I went to the folder options (press alt while in Explorer, choose tools/folder options) and activated &amp;quot;launch folder windows in a separate process&amp;quot; in the &amp;quot;view&amp;quot; tab. An Explorer launched as an administrator from this moment on will enable you to do all file manipulations without &lt;a href="http://technet.microsoft.com/en-us/windowsvista/aa906021.aspx"&gt;UAC&lt;/a&gt; prompts.&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; Dean suggested in the comments giving rights to your user acount on the directory. That works too, but it means that you&amp;#39;re permanently disabling UAC on that directory for *all* applications that run under your identity. That may be fine depending on the value you attach to Inetpub contents. For example, don&amp;#39;t do that on a production, public-facing machine (but the above method should probably not be used either in this situation). The method I expose above also exposes the system to shell extensions that you may have installed on the machine, so check those and only use trusted ones I suppose, or don&amp;#39;t do this if unsure.&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2028664" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/bleroy/archive/tags/Vista/default.aspx">Vista</category></item></channel></rss>