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.

paul on :

Wonderful beat! I love reading your blog and look forward to all your posts! keep up the outstanding work. Baby Trend Expedition Jogger Travel System, Phantom review

Free Cartoon Streaming on :

I am deeply attracted by your post. It is really a nice and informative one. I will recommend it to my friends.

Queen of Swords on :

This is a wonderful article. You have given so much info in it. These type of articles keeps the user’s interest in the website, and keep on sharing more.

CLM Software on :

Your blog is filled with unique good articles! I was impressed how well you express your thoughts

Best Dental clinic in jaipur on :

Nice and interesting post,I appreciate your hard work,keep uploading more, Thank you for sharing valuable information.

My Assignment Help on :

IdealAssignmentHelp offers customized assignments solutions to the students studying in different universities. You can get better Quality content in a more personalized manner. If any students want then contact our expert team we have here. We have to provide the best and high-quality My Assignment Help

tech5hop on :

Seriously, great tips. I would try these tips out at the time of need. These are very helpful.

RTX 2070 Black Friday 2019 on :

Much thanks, administrator, your are an incredible man and your work is appreciative I am intrigued your work keep it up dear

airless paint sprayer graco 395 on :

Great post! keep doing this for your visitors i love to discuss about hard disk after getting inspiration from here i have started doing my own website.

bilal seo on :

hey there Hivemind provides you social media marketing, visit us at Social Media Marketing Agency

bilal seo on :

bubble shooter classic on :

We have uninstalled, reinstalled, run the updates, check the registry privileges, used registry access checkers. The final solution was to download Security-Restore. Hope it help.

pit boss austin xl review on :

A very noteworthy article, I normally visit your blog to peruse spare time. It has both helped me unwind and have more information.

Putlockers New Site on :

Your thoughts are not less than a soothing breeze to experience. You should spread more information. It can be on putlockers new site. Try it out. on :

If so, then there is no need to worry anymore because in this article we will explain how to opt for a dissertation service that will guarantee your degree.

drywall repair st lucie county on :

Subsequently, after spending many hours on the internet at last We've uncovered an individual that definitely does know what they are discussing many thanks a great deal wonderful post. on :

Vielen Dank für die nützlichen Informationen! Ich half Ihren Rat! on :

What an interesting solution. Anyway, by any chance, does this solution also applicable for Windows 10? Just curious.

Toto Desk on :

hay man great post I am searching for 토토사이트 I see your post and I can't stop me to read this post full great work do much batter in future

assembly language assignment help in australia on :

Thanks for taking the time to share with us such a great article. I really appreciate your work. It’s difficult to find excellent writing like yours nowadays. Usually I visit your blogs and get updated through the information you include.

This website on :

Using Visual studio is frustrating sometimes. Thanks for sharing this tutorial at least it eases someone's frustration in anyways. on :

This is definitely one of the issues I encountered before. I know for the fact that visual studios have several issues good thing I'm no longer using it. Anyway, thanks for providing such a resolution. I think I also tried this troubleshooting you did on your post.

Add Comment

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