Skip to content

Instantly share code, notes, and snippets.

@jiahut
Last active December 19, 2020 16:32
Show Gist options
  • Save jiahut/9b8c95fe15b0ae9a11a745ef62ab1cf3 to your computer and use it in GitHub Desktop.
Save jiahut/9b8c95fe15b0ae9a11a745ef62ab1cf3 to your computer and use it in GitHub Desktop.
win helper reg script
Windows Registry Editor Version 5.00
; https://superuser.com/questions/949385/map-capslock-to-control-in-windows-10
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\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
; and swap Backspace with Backslash
; "Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,0e,00,2b,00,2b,00,0e,00,\
; 1d,00,3a,00,00,00,00,00
Windows Registry Editor Version 5.00
; https://www.maketecheasier.com/disable-lock-screen-shortcut-key-windows/
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableLockWorkstation"=dword:00000001
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/75295-windows-key-enable-disable.html
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,5b,e0,00,00,5c,e0,00,00,00,00
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; http://www.sevenforums.com
; Tutorial: http://www.sevenforums.com/tutorials/75295-windows-key-enable-disable.html
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoWinKeys"=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoWinKeys"=-
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment