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.

Trackbacks

Comments

Display comments as Linear | Threaded

Lucky Star Casino on :

It's much more difficult to verify a freelance translator's service quality or previous experience, apart from what they claim.

Global Education on :

Thank you for this post, this was a new perspective to me. Global Education builds up understudies' aptitudes to draw in with their global friends and features move understudies can make as residents of the world.

Professional Logo Design on :

Thank you for sharing these details about the VS2012 non-admin problem. I certainly love this website. Thanks again. Logozel is providing you the best Professional Logo Design service with customer satisfaction and at a good price value. Check out our website for more details.

red pepper cases on :

My rather long internet look up has at the end of the day been compensated with pleasant insight to talk about with my family and friends.

LakewoodFencing on :

Excellent idea. Instead of opening the program as admin which sometimes doesn't work why not make it always as admin. Thank you for this. Anyway, please reach out if you're seeking a reliable fencing contractor in Lakewood, Colorado.

retail display solutions on :

RightSource is offering you the best services of retail display solutions to nurture overall sales of your business. We have clients across the markets of GCC, Levant and North Africa which increases our reliability and authenticity. Our availability makes us the leading retail display design company in Dubai.

Daniel Russo on :

Great post, thanks for sharing. This is one of my favorite blogs

johnb6174 on :

It proved to be Very helpful to me and I am sure to all the commentators here!

Anonymous on :

Model United Nations encourages brainstorming and team-participation to create a generation of thoughtful leaders.

Longmonttreeservice on :

I just have a quick question. What difference does it make if you'll just right-click the VS icon and select admin?

O'Fallon MO Towing on :

I don't want to update my Windows so I am very happy to see this!

Roof Replacement on :

Thank you so much for the informative and interesting post I like your points which you have discussed over here, great job.

Retaining Wall on :

Thanks, very impressive. Really I appreciate you to continue your work.

Water Features on :

I just followed this and bam! Thank you for posting!

best lawn care in sioux falls on :

Does VS2012 works on a Windows 10 PC? I wanted to give it a try on my unit but I am skeptic if it will works on my end

Queens Tow Pound on :

Thanks for sharing this article. I am glad to see this amazing post. God Bless!

jobs in dubai for pakistanis on :

Remaining as the best enrollment office in Pakistan for UAE, we have likewise arisen a steady client relationship with our certifiable customers and applicants. We are approved to spread great many talented and semi-gifted in the UAE. Delta International Recruiting Agency holds shared affirmation and dependence with its customers. It suggests that we work as the immediate labor gracefully organization just as the enrollment offices of Dubai. Labor enrollment organizations in UAE are accepting and recognizing our administrations throughout the long term. We have restrained and arranged representatives. They are well acquainted with the assignments they give their best to introduce a rich and agreeable climate for customers and workers. We seek to give all the potential outcomes in a single spot.

Lotteria Spagnola on :

Avevo bisogno di scriverle una piccola parola per ringraziarla ancora una volta per i bei suggerimenti che mi ha dato.

Kollaren Blog on :

Jag tycker att detta är ett informativt och mycket hjälpsamt och artigt inlägg. för detta vill jag tacka dig för de ansträngningar du har gjort för att skriva den här artikeln.

chicoterra.com on :

Eu precisava escrever uma palavrinha para agradecê-la mais uma vez pelas boas sugestões que ela me deu.

computerworld.com on :

Det var bare utroligt generøst af mig at åbent give, hvad nøjagtigt mange enkeltpersoner ville markedsføre for en e-bog for at ende med at tjene nogle penge til sit formål, især da jeg kunne have prøvet det, hvis jeg ville.

mukesh on :

[url=https://sites.google.com/site/rokucomlinkrokuco/]roku.com/link[/url] [url=https://sites.google.com/site/roku0rokucomlink/]roku.com/link[/url] [url=https://roku-com-47-link.sitey.me/]roku.com/link[/url] [url=https://sites.google.com/site/activatexfinity/]xfinity.com/authorize[/url] [url=https://sites.google.com/site/activatexfinityauthorize/]xfinity.com/authorize[/url] [url=https://xfinity-com-47-authorize.sitey.me]xfinity.com/authorize[/url] [url=https://www.applecom-recover.com/]Apple.com/recover[/url] [url=https://sites.google.com/view/applecomrecoverrecoveryourlost/]Apple.com/recover[/url] [url=https://apple-com-47-recover.sitey.me/]Apple.com/recover[/url] [url=https://sites.google.com/site/hulucomactivatedcom/]hulu.com/activate[/url] [url=https://sites.google.com/site/activatehuluhuluactivateontv/]hulu.com/activate[/url] [url=https://hulu-com-47-activate.sitey.me/]hulu.com/activate[/url] [url=https://sites.google.com/view/123-hp-printer-setupcom/]123.hp.com[/url] [url=https://sites.google.com/view/123-hp-comsetup-download-setup/]123.hp.com[/url] [url=https://123-hp-com1.sitey.me/]123.hp.com[/url] [url=https://www.my123hp.com/]123.hp.com[/url] [url=https://amazonmytv.sitey.me/]amazon.com/mytv[/url] [url=https://www.amazonmy-tv.com/]amazon.com/mytv[/url] [url=https://sites.google.com/site/amazoncommytvprimecommyvt/]amazon.com/mytv[/url] [url=https://sites.google.com/site/amazoncommytvprimevideocommytv/]amazon.com/mytv[/url] [url=https://amazon-com-47-mytv1.sitey.me/]amazon.com/mytv[/url]

mukesh on :

hulu.com/activate roku.com/link xfinity.com/authorize xfinity.com/authorize roku.com/link amazon.com/mytv

roku.com/link

xfinity.com/authorize

Apple.com/recover

Apple.com/recover

Apple.com/recover

hulu.com/activate

hulu.com/activate

123.hp.com

123.hp.com

123.hp.com

123.hp.com

amazon.com/mytv

amazon.com/mytv

amazon.com/mytv amazon.com/mytv

iphone 12 pro max screen protector on :

There's something about leather cases. They feel nicer in-hand, they look great, and the best ones develop a patina over time that's completely unique to the user.

dave ramsey financial coach on :

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit.

Painter on :

Thank you for sharing a very informational article.

commercial fencing on :

Your suggestion works perfectly fine on my end. Thank you for sharing, and if you need commercial fencing in Avondale, please reach out and we are glad to help.

Roadside Assistance USA on :

I appreciate this blog. Your blog is very helpful for me. I really enjoyed this blog.

detroitportapottyrental.com on :

Whoah this blog is wonderful i really like studying your articles. Stay up the great work! You recognize, lots of people are hunting around for this information, you could aid them greatly.

commercial cleaning service west palm beach on :

Good information here. I really enjoy reading them every day. I've learned a lot from them.commercial cleaning service west palm beach Thanks so much for sharing this information. Greatly help me being a newbie.

roof contractor west palm beach on :

Good information here. I really enjoy reading them every day. I've learned a lot from them.roof contractor west palm beach Thanks so much for sharing this information. Greatly help me being a newbie.

Add Comment

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