I have a C # .NET application with about 20 supporting assemblies that I support.
When it starts, the windows show a UAC dialog box that says:
You want to allow the next program to make changes to this computer.
If I disable the "Run as administrator" checkbox in the file properties dialog box, I get a dialog:
Unable to start [Application Name]. User account "[Me]" does not have sufficient privileges to write to
C: \ ProgramData [Company] [Application Name]
This application will attempt to write to the ProgramData directory, which causes the UAC to ask the user for permission.
How does UAC know what the application will write in ProgramData?
What can I change to prevent UAC from complaining?
source share