{"id":151,"date":"2007-03-07T15:26:09","date_gmt":"2007-03-07T14:26:09","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=151"},"modified":"2007-03-07T15:26:09","modified_gmt":"2007-03-07T14:26:09","slug":"visual-studio-2005-still-needs-admin-rights-on-vista","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/151-visual-studio-2005-still-needs-admin-rights-on-vista.html","title":{"rendered":"Visual Studio 2005: still needs admin rights on Vista?"},"content":{"rendered":"<p>It was good to see &#8211; at last &#8211; the <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&amp;DisplayLang=en\" target=\"_blank\">release of Visual Studio 2005 Service Pack 1 Update for Vista<\/a>.<\/p>\n<p>I was hoping this update would remove the need to run Visual Studio 2005 with administrator rights on Vista. Unfortunately I don&#8217;t think it does. It&#8217;s hard to be sure; in fact, I can&#8217;t find any clear statement about what the &#8220;Update for Vista&#8221; actually does. Following the &#8220;more information&#8221; links on the download page is like playing the original Adventure game &#8211; a maze of twisty little passages, all alike &#8211; none of which tells you what you want to know.<\/p>\n<p>Still, I note that the <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/vstudio\/aa972193.aspx\" target=\"_blank\">list of bad things<\/a> which happen when you run with normal permissions still exists; so I&#8217;m presuming Microsoft still recommends using &#8220;Run as administrator&#8221; for Visual Studio.<\/p>\n<p>I dislike doing this. I don&#8217;t develop on Linux as root, nor on the Mac &#8211; why should it be needed on Windows? I realise that some things need local admin rights for good reasons &#8211; registering a COM DLL, for example &#8211; but I don&#8217;t see why I should have to run the entire IDE as admin just for the sake of those few activities.<\/p>\n<p>How dangerous is it? I presume it&#8217;s no worse than running as admin on XP, for example, but it&#8217;s pretty bad. For example, I checked out what happens with online help if you use &#8220;Run as administrator&#8221; to start Visual Studio. Help opens in a separate application called Document Explorer, which embeds Internet Explorer to render the online documentation. As I expected, if you open this from Visual Studio&#8217;s Help menu it runs with elevated rights. Naturally, the docs include links to external web sites. What if you right-click one of these and choose &#8220;Open link in external window&#8221;? The site will open in IE, but take a look at bottom right. &#8220;Protected mode off&#8221;. In fact, IE is now running with a high integrity level, just like Visual Studio. Nothing to stop you browsing the web from here, probably not realising you are more at risk than usual.<\/p>\n<p>It&#8217;s crazy to be reading documentation and browsing the web with full admin rights, just to keep Visual Studio happy.<\/p>\n<p>I intend to try running Visual Studio as a normal user and see how it goes. I reckon it will work for some projects at least.<\/p>\n<p>Note: if you want to see the integrity level of the processes on your system, download the latest <a href=\"http:\/\/www.microsoft.com\/technet\/sysinternals\/ProcessesAndThreads\/ProcessExplorer.mspx\" target=\"_blank\">Process Explorer<\/a>. You&#8217;ll need to select the Integrity Level column. The ins and outs of UAC and the extent to which it protects you are discussed in Mark Russinovich&#8217;s <a href=\"http:\/\/blogs.technet.com\/markrussinovich\/archive\/2007\/02\/12\/638372.aspx\" target=\"_blank\">blog entry on the subject<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"wlWriterSmartContent\" id=\"0767317B-992E-4b12-91E0-4F059A8CECA8:9f9ef873-3a35-4ec2-813a-9694951c8db8\" contenteditable=\"false\" style=\"padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/visualstudio\" rel=\"tag\">visualstudio<\/a>, <a href=\"http:\/\/technorati.com\/tags\/vista\" rel=\"tag\">vista<\/a>, <a href=\"http:\/\/technorati.com\/tags\/uac\" rel=\"tag\">uac<\/a>, <a href=\"http:\/\/technorati.com\/tags\/security\" rel=\"tag\">security<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>It was good to see &#8211; at last &#8211; the release of Visual Studio 2005 Service Pack 1 Update for Vista. I was hoping this update would remove the need to run Visual Studio 2005 with administrator rights on Vista. Unfortunately I don&#8217;t think it does. It&#8217;s hard to be sure; in fact, I can&#8217;t &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/151-visual-studio-2005-still-needs-admin-rights-on-vista.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Visual Studio 2005: still needs admin rights on Vista?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[80,97],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-software-development","category-windows"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}