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

Is it possible to remap keys in Windows, but not for the whole computer, but only for the particular user. I'm aware about the "Scancode Map" key in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and some sites mentios a similar for HKEY_CURRENT_USER. But I tried, the latter doesn't work in Windows 7.

share|improve this question
up vote 4 down vote accepted

This would also be possible in AutoHotKey, its pretty easy to map keys to another key, you could create this script which would run when a user logs in, once the AutoHotKey script is closed (User logs out, or terminate from the System Tray) then it will stop mapping the keys instantly.

I think remapping is as simple as A::B and I think there is a tutorial on the AHK website:

share|improve this answer

My suggestion:

  • Set up the key remapping that you want for the user,
  • Export the registry key you mentioned above as, say, user1.reg
  • Create a Logon script for the user that will import user1.reg
  • For users that don't need key remapping, create a Logon script to delete the registry key
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.