How to determine what invokes User Access Control restrictions?

Posted by MX4399 on Stack Overflow See other posts from Stack Overflow or by MX4399
Published on 2010-03-05T13:24:49Z Indexed on 2010/04/22 4:33 UTC
Read the original article Hit count: 287

Filed under:
|
|

In a Delphi app intended to build an internet software update service for my software, the Windows 7 UAC system requests authorization from the user to run the exe.The following possible contentious/risk areas exist in the code:

  • A named pipe server is created for communications
  • TCP is used for FTP and HTTP
  • SHGetSpecialFolderPath api call is used

Before these items where added UAC did not activate, removing each in turn including all unit reference and then ending with the bare bones exe still causes the UAC event - so its not possible say what is causing it. On top of this Delphi 2007 now requires being launced as an administrator to launcg a debugging process for the app.

Question 1 : How can I see what is causing this besides starting from scratch in a new exe - IOW is there a log somewhere I can check

Question 2 : Will using a signed exe using authenticode still cause the UAC alert to show

© Stack Overflow or respective owner

Related posts about delphi

Related posts about windows-7