4

I have applied following answer Map Caps Lock to Ctrl in Windows 10 (https://superuser.com/a/997448/723632). Now if possible, I want to revert it:

In case anyone needed this done via PowerShell:

$hexified = "00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00".Split(',') | % { "0x$_"};
$kbLayout = 'HKLM:\System\CurrentControlSet\Control\Keyboard Layout';    
New-ItemProperty -Path $kbLayout -Name "Scancode Map" -PropertyType Binary -Value ([byte[]]$hexified);

Run it as Administrator and reboot.

How can I revert this operation where I want to use Caps Lock as its default mapping?

Run5k
  • 16,463
  • 24
  • 53
  • 67
alper
  • 200

1 Answers1

6

Do this :

  • Use regedit and position to the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Keyboard Layout.
  • Right-click the item Scancode Map and select Delete
  • Reboot.
harrymc
  • 498,455