Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hook a hotkey from windows logon screen

i built a program that hooks the keyboard and when some hotkey pressed it openning the door (that connected to the COM1 serial port of the computer).

this works fine, until i locking the computer (winkey+L). i want to be able to open the door with the same hotkey from the logon screen.

i using Windows XP & C#.

how do i do that?

thanks.

like image 540
DxCK Avatar asked Feb 28 '23 04:02

DxCK


1 Answers

You need to write a Windows service that does this. Services and drivers can run outside of user logins, and services are a lot easier to write than drivers.

like image 105
Anthony Mills Avatar answered Mar 12 '23 18:03

Anthony Mills