I posted about this on Stack Overflow before finding this question and then tried everything the other answers here suggested. I started running into some issues right away though.
When running VS2012 with elevated permissions I was no longer able to drag & drop files into it from Explorer which I assume is because Explorer isn't running with elevated permissions.
Then after I used VSCommands to always run Visual Studio with elevated permissions I was no longer able to open files associated with Visual Studio, aside from solution files, by double clicking them in Explorer. Visual Studio would open but then I'd get an error saying There was a problem sending the command to the program.
and they wouldn't open.
This left me having to use the open file dialog if I wanted to open any non solution/project file.
Despite there being no UI to turn off UAC like in the past, that I saw at least, you can still do so through the registry. The key to edit is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
EnableLUA - DWORD 1-Enabled, 0-Disabled
After changing this Windows will prompt you to restart. Once restarted you'll be back to everything running with admin permissions if you're an admin. The issues I reported above are now gone as well.
1Using unreleased software on an unreleased platform...you are probably going to have to put up with some nonsense. – Adam King – 2012-08-17T15:49:27.697
2
It is released http://windowsteamblog.com/windows/b/bloggingwindows/archive/2012/08/01/windows-8-has-reached-the-rtm-milestone.aspx
– Boomerangertanger – 2012-08-17T15:50:44.293It's on MSDN now. – Boomerangertanger – 2012-08-17T15:51:35.650
Have you tried creating a shortcut and assign run as user to that shortcut? – tumchaaditya – 2012-08-17T15:58:26.030
Unfortunately, I need it to work when clicking on associated file types. – Boomerangertanger – 2012-08-17T16:10:04.277
The default behavior of Visual Studio is to always run as an administrator. If your user account does not have administrator priviliages, you need to escalate your user account, by using the "run as administrator" – Ramhound – 2012-08-17T16:37:52.077
1The default is to run not as an admin. – Boomerangertanger – 2012-08-17T16:39:32.660