Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

can't get by UAC even with signed certificate

can't get by UAC even with signed certificate

can't get by UAC even with signed certificate


Sorry if this is the wrong place to post this. Please move it if it's inappropriate.

I'm trying to write a program that can be run as an administrator but without the UAC prompt popping up. I'm thinking that creating a signed certificate to go with it is the answer. But I'm not sure how to do this.

Here's what I've done:

1) In the VS2012 properties, went to Signing and created a pfx file. I entered a password and used the sha256RSA signature algorithm.

2) Right-clicked on the pfx file, clicked "install pfx", and went through the wizard.

3) Recompiled my application.

4) Right-clicked on the exe, went to compatibility, and checked "run this program as an administrator".

5) Ran the exe by double-clicking on it.

The UAC still comes up and the publisher still displays as "unknown".

Am I doing anything wrong? Is there a different way of accomplishing what I want to do?

RE: can't get by UAC even with signed certificate

You can't do it. There are somethings that always require elevated priviledge even if you are a administrator.

Craig Berntson
MCSD, Visual C# MVP, www.craigberntson.com/blog

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close