How to get UAC to co-operate with synergy2

11

3

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?

Kimvais

Posted 2010-01-19T08:36:33.073

Reputation: 3 809

Answers

15

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.

Cody Wilson

Posted 2010-01-19T08:36:33.073

Reputation: 166

Also seems to require going into Edit.. Settings and selecting "Elevate mode" for both client & server. – steve cook – 2015-04-30T17:35:56.827

How does one configure Synergy to run as a service? – Nathan Osman – 2016-01-26T20:02:19.620

8

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.

nhinkle

Posted 2010-01-19T08:36:33.073

Reputation: 35 057

1Kimvais, you should accept Cody Wilson's answer, as this answer refers to version 1.3 limitations -- so is partially incorrect. – Nick Bolton – 2011-05-19T13:09:06.860

1

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

It works for me.

Stoinov

Posted 2010-01-19T08:36:33.073

Reputation: 264

I also tried that but its not working for me either. – Sudhir – 2016-06-28T06:26:04.317

It doesn't work for me. – tylerl – 2010-10-01T05:14:20.087