I have a Windows Form application or a console application such as ImpersonatorTester.Executor.exe.
Now follow these steps:
- Right-click the ImpersonatorTester.Executor.exe file.
- Select "Properties."
- Select the compatibility tab.
Option Run this program as administrator
Option Change settings for all users
Compatible for all users.
Option Run this program as administrator
Now,
How can I get programmatically if the EXE application has the value "Run this program as administrator"?
and "Run this program as administrator" for all users?