51
7
I'll try to explain my situation:
I am a developer and use Visual Studio. I always want to run Visual Studio as administator. I have pinned a shortcut to the task bar and in its properties set it to start Visual Studio as administrator. This works fine.
When I right click on the pinned shortcut, I see a list of recent and pinned solutions. I usually open Visual Studio by clicking one of those pinned solutions.
When I click one of those recent or pinned solutions, I do not get a UAC prompt. I remember that before I would always get this (at least, I think I remember).
Is there anything I can do to make Visual Studio run as administrator when I click on those recent or pinned solutions?
This is a much better answer than the one above, IMHO. – Andy Brown – 2016-04-27T12:57:29.200
This is solves the problem way better than the accepted answer. – sanepete – 2016-09-24T17:59:33.833
This should be the more accepted approach. Cleaner, easier, and works perfectly. – Corey Witherow – 2016-10-07T12:30:25.623
1This option does not work if you try to use a jump list item. If you launch it directly it does launch as administrator, try and launch using the recent items and it launches as normal. The first option does work. – tsells – 2017-01-30T19:02:19.060
1This does not answer the question. If you click on one of the "pinned" solutions in the pop-up list, it will not be opened in VS "as administrator". – Svein Terje Gaup – 2017-06-01T04:50:21.207