MSJ
MSJ

Reputation: 423

How to run C# application EXE with normal user account? I don't want to provide Admin user name and password when UAC is on

I am working on the C# application. I am logged in to my machine with normal user account who don't have admin rights and UAC is set to highest level (Always notify me). When I try to run the application it ask me admin user name and password.I don't want to turn off the UAC. I have changed manifest file value to

<requestedExecutionLevel  level="asInvoker" uiAccess="false" />

or

  <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />

But that din't help me. How can I run my application without full admin rights user? Any help on this is appreciated.

Thanks: Mayuresh

Upvotes: 4

Views: 860

Answers (1)

Vanest
Vanest

Reputation: 916

From Project -> Project Properties and Application tab, just check whether your app.manifest file got referred under Icon and Manifest field or not, since it may be embedded also.

Upvotes: 1

Related Questions