How to disable UAC for my application

Well, when I try to run the application as an administrator, I get the following error, and allow or not.

If I run the application directly, and not as an administrator, this works. Is there something I need to do to get rid of UAC, no, I don’t want the user to manually change the UAC settings.

Do I need to configure registry settings only for my program or any certificate that I need to sign up with.

alt text

+3
source share
5 answers

In general, you cannot disable UAC. The goal of UAC is to provide in-depth protection against malware. It would be counterproductive if Toyan could just turn off UAC.

, , UAC . , , UAC. , Auto Start , , , .

+4

(Notepad2), win-7. , .

Right-click the application, select properties, go to the compatibility tab, at the bottom

Privilege Level: Run this program as an administrator.

Unplug it and open your way. Worked for me.

0
source

Your process should increase its privileges. There are several articles in CodeProject, but check out this first .

-1
source

Source: https://habr.com/ru/post/1781214/


All Articles