Hello jbum112,
To restore the keyboard, run regedit.exe and delete the "Scancode Map" entry from HKEY_CURRENT_USER (and log off/on), or from HKEY_LOCAL_MACHINE
(and reboot), depending on which section of the registry you changed.
edit Use the Caps Lock key as Ctrl. Particularly while touch typing, it can be useful to remap the keyboard so that pressing CapsLock is the same
as pressing Ctrl.
This change makes it easy to press Ctrl-[ as an alternative to pressing Esc.
The following applies to the current user (log off and log on to apply). Alternatively, an administrator can apply the change to all users (reboot
to apply) by replacing
[HKEY_CURRENT_USER\Keyboard Layout] with
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
Map CapsLock to LeftCtrl (press CapsLock to generate LeftCtrl):
REGEDIT4
[HKEY_CURRENT_USER\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00
An alternative would be to replace the "Scancode Map" line with the following to swap CapsLock and LeftCtrl:
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,1d,00,1d,00,3a,00,00,00,00,00
Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore,
make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up annd restore the registry, click the following
article number to view the article in the Microsoft Knowledge Base:
322756 (http://support.microsoft.com/kb/322756
) How to back up and restore the registry in Windows.
Hope this helps.
Regards,
Manasa P – Microsoft Support.