Friday, December 21, 2012

Always run Visual Studio as administrator under Windows 8

This is a default state for many developers and this functionality is available under properties menu in Windows 7 but has vanished in Windows 8.

In order to enable VS running as administrator in Windows 8:

you have to right-click devenv.exe and select "Troubleshoot compatibility".

1. select "Troubleshoot program"
2. check "The program requires additional permissions"
3. click "Next", click "Test the program..."
4. wait for the program to launch
5. click "Next"
6. select "Yes, save these settings for this program"
7. click "Close"

Source: http://stackoverflow.com/questions/12257110/can-you-force-visual-studio-to-always-run-as-an-administrator-in-windows-8