Registry scancode values for keyboard keys

Registry scancode values for keyboard keys
Here is a list of hex values (Scancode values)  for keyboard keys which can be used to disable or remap your keyboard keys in windows . If you wants to know how to use these values ,Please [ Read my Article on How to disable Keyboard Keys from HERE ].






ALPHABET

[A] - 1E 00

[B] - 30 00

[C] - 2E 00

[D] - 20 00

[E] - 12 00

[F] - 21 00

[G] - 22 00

[H] - 23 00

[ I ] - 17 00

[ J ] - 24 00

[K] - 25 00

[L] - 26 00

[M] - 32 00

[N] - 31 00

[O] - 18 00

[P] - 19 00

[Q] - 10 00

[R] - 13 00

[S] - 1F 00

[T] - 14 00

[U] - 16 00

[V] - 2F 00

[W] - 11 00

[X] - 2D 00

[Y] - 15 00

[Z] - 2C 00

NUMBER PAD KEYS

[NumLk] - 45 E0

[ / ] - 35 E0

[ * ] - 37 00

[ - ] - 4A 00

[ + ] - 4E 00

[Enter] - 1C E0

[ . ] - 53 00

[ 0 ] - 52 00

[ 1 ] - 4F 00

[ 2 ] - 50 00

[ 3 ] - 51 00

[ 4 ] - 4B 00

[ 5 ] - 4C 00

[ 6 ] - 4D 00

[ 7 ] - 47 00

[ 8 ] - 48 00

[ 9 ] - 49 00

NUMBERS

[ 1 ] - 02 00

[ 2 ] - 03 00

[ 3 ] - 04 00

[ 4 ] - 05 00

[ 5 ] - 06 00

[ 6 ] - 07 00

[ 7 ] - 08 00

[ 8 ] - 09 00

[ 9 ] - 0A 00

[ 0 ] - 0B 00

[ = ] or [ + ] - 0D 00

[ - ] or [ _ ] - 0C 00

FUNCTION KEYS

[ F1 ] - 3b 00

[ F2 ] - 3c 00

[ F3 ] - 3d 00

[ F4 ] - 3e 00

[ F5 ] - 3f 00

[ F6 ] -  40 00

[ F7 ] - 41 00

[ F8 ] - 42 00

[ F9 ] - 43 00

[ F10] - 44 00

[ F11 ] - 57 00

[ F12 ] - 58 00
>br />

OTHER KEYS

[Esc] - 01 00

[ ; ] or [ : ] - 27 00

[ [ ] or [ { ] - 1A 00

[ ] ] or [ } ] - 1B 00

[ | ] or [ \ ] - 2B 00

[Backspace] - 0E 00

[Break] - 45 00

[Caps Lock] - 3A 00

[ DEL ] - 53 E0

[Home] - 47 E0

[Pg Up] - 49 E0

[Pg Dn] - 51 E0

[ End ] - 4F E0

[Enter] - 1C 00

[Insert] - 52 E0

[ ' ] or [ " ] - 28 00

[ < ] or [ , ] - 33 00

[ > ] or [ . ] - 34 00

[ ? ] or [ / ] - 35 00

Left [Shift] - 2A 00

Right [Shift] -36 00

[Tab] -0F 00

Left [Ctrl] -1D 00

Left [Win] -5B E0

Left [Alt] - 38 00

[Space] - 39 00

Right [Ctrl] - 1D E0

Right [Menu] - 5D E0

Right [Win] - 5C E0

Right [Alt] - 38 E0

ARROW KEYS

[ Up ] - 48 E0

[Down] -50 E0

[Left] - 4B E0

[Right] - 4D E0

If you Wants to disable or remap more than one keyboard key - [ please read This Article]

post first image

8 comments:

favicon LincolnVu said...

thanks alot. Hepl me mapping another key for a lost plastic key.

favicon Unknown said...

what about special characters such as Registered Trademark?

favicon learnitstepbystep said...

You are welcome !

favicon learnitstepbystep said...

Sorry We don't have codes for such keys.

favicon Unknown said...

Thank you for your article. It is amazing. Please write, how do you know the letter V= hex:2F 00 or number 2= hex:03 00 etc? Please reply.

favicon Unknown said...

Hi, I'm having a problem with the [ ` ] key (the key on the top left, under escape), couldn't find the Hex for the key, please tell. Thanks!

favicon learnitstepbystep said...

Try - 52 (F052) or (28 00)

favicon Anonymous said...

Print screen value