Microsoft Windows: Swap Caps Lock, Alt, Control Keys

By Xah Lee. Date: . Last updated: .

How to swap Lock and Control key?

Install AutoHotkey, and create a file with the following content, then double click the file.

; AutoHotkey
; make capslock do control

How to swap Alt and Control keys?

; AutoHotkey
; swap alt and control

To install AutoHotkey, see: AutoHotkey Tutorial

See also: Useful AutoHotkey Scripts

Buy a Gaming Keyboard

Best solution for setting keys is to buy a gaming keyboard, because they offer unparalleled ease in defining complex keyboard shortcuts.

I recommend:

logitech g710plus keyboard
Logitech G710+ Mechanical Keyboard