Search code examples
asp.netvisual-studiowindows-7permissions

Visual Studio requires elevated permissions in Windows 7


I'm running Visual Studio 2008 on Windows 7. When I try to attach to a process, VS tells me to restart under different credentials (with elevated permissions).

So I have to restart VS and run it as Administrator. Is there a way to set it up so VS always starts with Admin privileges?

alt text


Solution

  • shortcut Properties -> Compatibility tab -> set Run this program as an administrator checkmark.

    [run as administrator]

    Shaji in comments posted How to Run a Program as an Administrator in Windows 7 article link.

    Most useful(as for me) is to use keyboard shortcut CTRL+Shift while opening the program.