So I want to remap Capslock to Ctrl using Autoit
;3A00 = Caps
;1D00 = Ctrl
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout","Scancode Map","REG_BINARY","000000000000000002000000E0473A0000000000")
However it isn't doing anything. And I have no idea why my code doesn't work.