I was using TeamViewer (a remote desktop client) to log in to a remote computer running Windows 7.

While logged in, the Java updater prompted me for administrator access to run an update check. Out of habit, I pressed AltY (for "Yes") to grant the updater permission. This worked, and the updater ran.

However, doesn't this entirely defeat the purpose of User Account Control? Much like CtrlAltDelete, isn't it supposed to prevent programs from providing input? Why was TeamViewer able to trick UAC into thinking that I was physically at the terminal pressing the keys?

1 Answer 1


When teamviewer is installed it includes a daemon that runs under the system account. The client that is started under the users account only provides instructions to this daemon.

As this service already has elevated rights assigned at the time of installation (the creation of this daemon) it is possible to directly emulate key strokes as coming from the local system.

  • 1
    So it wouldn't be possible to install such a daemon without administrator rights? i.e., at some point in the chain of installations, the user actually has to approve it manually?
    – wchargin
    May 12, 2013 at 18:44
  • 1
    @WChargin - correct May 12, 2013 at 18:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .