Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Synergy to use my three PCs with only one keyboard and mouse. My problem is that when I press Windows + L to lock a PC, it always locks the main PC (the one functioning as the Synergy server.) I would like to have a command to lock/unlock all three PCs at once.

Does anyone know of a tool or have a suggestion on how to do it?

share|improve this question

1 Answer 1

You can use this command rundll32.exe user32.dll, LockWorkStation to lock the current workstation so you should be able to use psexec to run it on the other two machines. If you were to put the three commands into a batch file that should do the job.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.