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 ha
shortcut Properties -> Compatibility tab -> set Run this program as an administrator checkmark.
Properties
Compatibility
Run this program as an 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.