How to get UAC to co-operate with synergy2

8,202

Solution 1

If you use a 1.4 or newer beta of Synergy, you can configure it to run as a service. As a service, Synergy runs as the local SYSTEM account, which can interact with the Secure Desktop space. I have the Synergy 1.5 nightly builds running on my Windows Server 2008 R2 laptop client and OS X 10.6 laptop server, and I am capable of working with UAC prompts with ease.

Solution 2

The reason this happens is because of what is referred to as the "secure desktop". The secure desktop has actually been around ever since NT. Certain parts of the OS, such as the login screen, the Ctrl+Alt+Del screen, and the locked workstation screen are actually completely different desktop sessions from what you normally interact with. Programs cannot interact directly with the secure desktop — this is to prevent keyboard loggers, etc, from messing with secure areas.

In Windows Vista and later, UAC is also a secure desktop area. While it looks like just a dimmed desktop, what you are seeing is actually a different desktop space, with a darkened screenshot of whatever was on your screen. No other program can interact with the UAC secure desktop, so that a virus could not, for example, say yes to its own prompt. This applies to Synergy just as it applies to any other program — it simply is not allowed to interact with the UAC dimmed desktop.

If you want the full security benefits of UAC, you simply can't use synergy. But, if you need synergy, the best compromise would be to set UAC to still prompt, but not on the secure desktop. This will cause the UAC prompt to act as a normal window on the normal desktop, meaning synergy can access it.

alt text

Hopefully that helps. If it still doesn't work, I have a few more things I could add, but try that first and see if it's what you need.

Solution 3

You can also try running synergy on the Windows machine as Administrator. Right click and select Run as Administrator.

It works for me.

Share:
8,202
Kimvais
Author by

Kimvais

Updated on September 17, 2022

Comments

  • Kimvais
    Kimvais almost 2 years

    How do I get UAC to behave so that I can control the dimmed desktop and programs running under UAC grants with synergy client? (The kb and mouse are connected to a Linux machine, windows is running synergy client)

    Or is turning UAC off the only option?

  • Alex
    Alex almost 14 years
    It doesn't work for me.
  • Nick Bolton
    Nick Bolton about 13 years
    Kimvais, you should accept Cody Wilson's answer, as this answer refers to version 1.3 limitations -- so is partially incorrect.
  • steve cook
    steve cook about 9 years
    Also seems to require going into Edit.. Settings and selecting "Elevate mode" for both client & server.
  • Nathan Osman
    Nathan Osman over 8 years
    How does one configure Synergy to run as a service?
  • Sudhir
    Sudhir about 8 years
    I also tried that but its not working for me either.