Skip to content

Start VS2012 .sln and .proj files always as Administrator on Windows 8

VS2012 non admin problem description

I'm using windows 8 and visual studio 2012, and i had some strange problems related to permission.

If visual studio runs under non-administrator rights, it cannot do some compile tasks like "Register for COM interop"

Photo & Video Sharing by SmugMug

Step by step solution

Start a VisualStudio command prompt

Start a VisualStudio command prompt and navigate it to the place where devenv.exe is located. On my System this is C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

Create a manifes file from devenv.exe

Execute the following command:

mt -inputresource:"devenv.exe" -out:devenv.exe.manifest

This will create the file devenv.exe.manifest

Edit the content of devenv.exe.manifest

Change the level value of requestedExecutionLevel from asInvoker to requireAdministrator

Write the manifest back into the devenv.exe

Execute the following command in the visual studio command prompt:

mt -outputresource:devenv.exe -manifest devenv.exe.manifest

Check whether visual studio 2012 starts as administrator

Just double click any .sln or .proj file, and check whether visual studio starts as administrator or not.


sky777 on : sky777 kiosk

Show preview
blog topic


Display comments as Linear | Threaded

Coral on :


robot vacuum for pet hair on :

What a good and enlightening post here. There are sufficient information partaken in this post. Thanks and carry on it.

buy assignment uk on :

The important piece of the best voted answer is a few sections in length, and spreads the means for Windows 7, 8, and 10. The means are distinctive for 7 than for 8 and 10. For this situation, the best, IMO, would have been to check this inquiry as a close copy of that answer. Indeed, you can without much of a stretch invert run as admin settings, yet the fact is that it's anything but difficult to overlook that you're running as admin. Simply underlining the need for informed choice.

Lemon Juice on :

Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me.

Lemon Water on :

Hi, I log on to your new stuff like every week. Your humoristic style is witty, keep it up

Lemon Balm on :

I read that Post and got it fine and informative. Please share more like that...

CBD öl on :

This was incredibly an exquisite implementation of your ideas

rocket espresso on :

Nice post. I’m a regular visitor of your blog and appreciate you taking the time to maintain the nice site.

CBD on :

Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.

Mafia City on :

No matter what you choose, these trials are necessary for you to become a true Godfather! Take Over Territories, Rules Of Mafia,

kinguser on :

thanks for sharing Information about these also

Poweramp on :

Great Blog really, I like this blog so much,

leo playcard on :

this is very detailed and informational post. Thanks a lot.

godaddy 99 rs domain on :

Happy to visit your blog, I am by all accounts forward to progressively dependable articles and I figure we as a whole wish to thank such huge numbers of good articles, blog like to impart to us.

split screen in Windows 10 on :

Windows 10 is a splendid operating system, and its window control capabilities are one in all the biggest motives why. To use them to your fullest although, you want to learn how to split your display screen in Windows.

Spiderman hoodie on :

I came onto your blog while focusing just slightly submits. Nice strategy for next, I will be bookmarking at once seize your complete rises

AMy Smart on :


AMy Smart on :


Stylish Home Improvement on :

Do it yourself generally describes a process which involves introducing alterations to be able to change the actual layout of the house. This entails changing outside properties of the home which might comprise associated with lawn, storage, and backyard. Home enhancement includes types of changes that assist in making a house comfortable, secure and fashionable

Legal Helps on :

It's without a doubt that an average will face 2 to 3 legal situations on a yearly basis. In actuality, 50% off households employ a pressing appropriate situation at the moment. Yet, the standard attorney prices around $300 per hour, which forces some people to have to manufacture a choice concerning eating in addition to legal guide. It's not any wonder why the majority of people find the item cheaper to help just get ripped off rather than head over to an attorney at law, but you will discover options readily available.

6ku aluminium fixed gear specs on :

On the off chance that you need tto improve yor experience simply keep visiting this site and be refreshed with the most redent news posted here.

Add Comment

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Markdown format allowed
Form options