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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my latop, Windows 7 x64 automatically detects when I am at the office and when I am at home and switches the external monitor layout. I also use different ISPs at home then at work (naturally different IP ranges). At home, I also connect to a specific wifi network, while at the office the connection is wired.

Is it possible to automatically switch the keyboard layout to A when I am at home, based on one of the triggers above? In every other situation (office, on the street, etc) I would like to use layout B.

I know it can't be done via command line, but there might be another way to switch it.

share|improve this question

This might provide some clues for how to do it via a command:

Once you've worked that bit out, I would then use the task scheduler to run the command to change the keyboard layout when the right action occurs (e.g. connect to home wireless network)

share|improve this answer

Another way might be to use AutoHotKey to remap the keyboard. That would work at a different level to changing the layout through windows, but could do the trick. You could trigger that through task scheduler as well.

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.