{"id":36504,"date":"2007-02-22T12:31:36","date_gmt":"2007-02-22T19:31:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/aspnet\/?p=22093"},"modified":"2007-02-22T12:31:36","modified_gmt":"2007-02-22T19:31:36","slug":"tip-trick-avoid-launching-2-instances-of-ie-when-using-visual-studio-2005-on-windows-vista","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/tip-trick-avoid-launching-2-instances-of-ie-when-using-visual-studio-2005-on-windows-vista\/","title":{"rendered":"Tip\/Trick: Avoid launching 2 instances of IE when using Visual Studio 2005 on Windows Vista"},"content":{"rendered":"<p><P>I&#8217;ve seen user reports in several forums, where&nbsp;two instances of Internet Explorer get launched when doing <EM>F5<\/EM>, <EM>CTRL+F5<\/EM>, or&nbsp;<EM>View in Browser<\/EM>&nbsp;in&nbsp;Visual Studio 2005&nbsp;running on Windows Vista.<\/P>\n<P>If you are encountering this issue, taking the following two steps should fix it:<\/P>\n<OL>\n<LI><STRONG>Install the beta version of the <\/STRONG><A class=\"\" href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?familyid=fb6bb56a-10b7-4c05-b81c-5863284503cf&amp;displaylang=en\"><STRONG>Visual Studio 2005 Update for Windows Vista<\/STRONG><\/A><STRONG>.<\/STRONG>&nbsp; The final version of this update is planned to ship very soon, I will post&nbsp;an update to&nbsp;this blog when its available.<\/LI>\n<LI><STRONG>Run Visual Studio 2005&nbsp;with <EM>elevated<\/EM> administrative rights.<\/STRONG>&nbsp; Even if you are a member of the &#8220;Administrators&#8221; group on the local machine, applications launched in Vista do <STRONG>not<\/STRONG> run with <EM>elevated<\/EM> administrative rights unless the user explicitly specifies to do so.&nbsp; To use Visual Studio 2005 with <EM>elevated<\/EM>&nbsp;administrator rights on Windows Vista, you must right-click on the Visual Studio 2005 icon and select the &#8220;Run as administrator&#8221; command as shown below:<\/LI><\/OL>\n<BLOCKQUOTE>\n<P><IMG src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/01\/74\/40\/45\/VSVista1.png\" border=\"0\"><\/P><\/BLOCKQUOTE>\n<P>However, as&nbsp;you will&nbsp;soon realize, its very easy to forget to do this everytime you start Visual Studio 2005.&nbsp; Luckily, there is a handy way in Windows Vista to always force Visual Studio 2005 to start with <EM>elevated<\/EM> administrative rights.&nbsp; The following steps describe how to set this up:<\/P>\n<BLOCKQUOTE>\n<P>1. Right click on Visual Studio 2005 shortcut in the Start Menu and select <EM>Properties:<\/EM><\/P>\n<P><IMG src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/01\/74\/40\/48\/VSVista2.png\" border=\"0\">&nbsp;&nbsp;<\/P>\n<P>2. On the <EM>Compatability<\/EM> tab choose &#8220;Show settings for all users&#8221; button:<\/P>\n<P><IMG src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/01\/74\/40\/49\/vsvista3.png\" border=\"0\"><\/P>\n<P>3. In the dialog that is launched, check&nbsp;the &#8220;Run this program as an administrator&#8221; item:<\/P>\n<P><IMG src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/01\/74\/40\/53\/vsvista4.png\" border=\"0\"><\/P><\/BLOCKQUOTE>\n<P>For those Visual Studio web developers out there using Windows Vista this tip should make the experience mostly pain-free!<\/P>\n<P>Cheers,<\/P>\n<P>&#8212; Omar Khan (Group Program Manager, WebTools Team)<\/P>\n<P>&nbsp;<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve seen user reports in several forums, where&nbsp;two instances of Internet Explorer get launched when doing F5, CTRL+F5, or&nbsp;View in Browser&nbsp;in&nbsp;Visual Studio 2005&nbsp;running on Windows Vista. If you are encountering this issue, taking the following two steps should fix it: Install the beta version of the Visual Studio 2005 Update for Windows Vista.&nbsp; The final [&hellip;]<\/p>\n","protected":false},"author":404,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197],"tags":[],"class_list":["post-36504","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet"],"acf":[],"blog_post_summary":"<p>I&#8217;ve seen user reports in several forums, where&nbsp;two instances of Internet Explorer get launched when doing F5, CTRL+F5, or&nbsp;View in Browser&nbsp;in&nbsp;Visual Studio 2005&nbsp;running on Windows Vista. If you are encountering this issue, taking the following two steps should fix it: Install the beta version of the Visual Studio 2005 Update for Windows Vista.&nbsp; The final [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/36504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/404"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=36504"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/36504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=36504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=36504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=36504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}