Solved Can't get by UAC even with signed certificate

July 9, 2013 at 09:16:56
Specs: Windows 7

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?

See More: Cant get by UAC even with signed certificate

Report •

July 13, 2013 at 08:11:39
✔ Best Answer
Set your UAC to the appropriate level in Control Panel > User Accounts. You may even have to set it to "Never Notify" (slider right down to the bottom) even though Microsoft do not recommend it.

That's where I have mine set, but I do have a third-party, commercial firewall installed to compensate for UAC notifications being disabled.

I wouldn't recommend you set UAC to "Never Notify" without a good third-party firewall installed though.

Report •
Related Solutions

Ask Question