On Windows 10 global hotkeys of nonelevated apps do not work from elevated apps

2

I run some apps on startup like Greenshot, Winamp, that have registered global hotkeys.

But these hotkeys do not work in apps that I run with Administrator privileges, so to use hotkeys I first need to switch to another noneleveted app and this is pretty annoying.

When running same Winamp as Administrator, it's hotkeys work fine in both non- and eleveted apps.

On Windows 7 I had not any problems with this. Searching Google had not give me any clues on how to fix this.

Petr Kun

Posted 2018-01-17T16:27:13.783

Reputation: 23

Answers

2

That's by design in Windows' User Account Control: it would be a potential security issue if any application were able to spy on key presses in applications with elevated permissions.

If you trust a specific program using a hotkey, you can configure it to always run with administrator privileges. As you're mentioning Greenshot specifically, that's one of the workarounds we suggest for this behavior.


Disclosure: I am member of the Greenshot team.

jklingen

Posted 2018-01-17T16:27:13.783

Reputation: 311