Why is the Windows UAC icon displayed for my program on some PCs, but not for others?

I recently noticed that the application that we developed has a UAC Windows icon next to it on some of our clients' computers, but not ours. Is there a reason why this could happen?

The reason I noticed this is because the client claims that the software suddenly stopped working, and while checking their PCs, I noticed that the “UAC” screen is on our application icon. I have never seen this before, and it certainly does not exist when I install it on my computer, so I wonder if any changes can be caused on their PC, and whether this may be due to why the application stopped working?

+2
source share
1 answer

If someone is interested, there was a reason and a solution to the problem.

Somehow, the client always offered the program to work as an administrator, which led to the appearance of the UAC message and somehow prevented it from working properly (the external Excel sheet had to communicate with it through the DLL, which stopped working).

To disable this mode, I right-clicked on my application executable file, clicked on properties> compatibility and unchecked the "Run this program as administrator" box. This immediately solved the problem. You can also use the Change Settings for All Users dialog box to change this setting for multiple users.

+3
source

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


All Articles