Are you are running Hyper-V and trying to lock down your computer with Scancode Map to assign a key to do nothing or simple reassign keys and don’t get it work? It is probably because you are running the virtual machine in enhanched mode, if you disable enhanched mode this will work as expected.
If you want to lock CTRL and ALT, paste the text below into a .reg file and run it
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
“Scancode Map”=hex:00,00,00,00,00,00,00,00,05,00,00,00,00,00,38,00,00,00,1d,00,\
00,00,38,e0,00,00,1d,e0,00,00,00,00
For more information regarding Scancode Map
http://msdn.microsoft.com/en-us/library/aa299374%28v=vs.60%29.aspx