We are in the process of modifying some applications to run under Windows 7, however, when we run them, we get the ""Do you want to allow the following program to make changes to this computer?" message from UAC. I know how to turn UAC off to prevent this, but that is dealing with the symptoms rather than the problem. We would like to write our applications properly so that the error message does not appear in the first place. Can anyone provide a definitive list of program actions which trigger the error message ? Interestingly, when debugging our VC++ 2008 applications, the error message appears before any of the code actually runs, so evidently, it is not just the code which counts.