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.


먹튀사이트 on : 먹튀사이트

Show preview
blog topic


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.

Add Comment

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