Skip to content

Instantly share code, notes, and snippets.

@uzuki-P
Created May 18, 2024 12:17
Show Gist options
  • Save uzuki-P/5afa402ca556d1f3605dde0f3f7730e3 to your computer and use it in GitHub Desktop.
Save uzuki-P/5afa402ca556d1f3605dde0f3f7730e3 to your computer and use it in GitHub Desktop.
Remap useless thinkpad shortcut fn + f9-11 to media (prev, play/pause, next). Copied from https://github.com/csavalas/thinkpadhotkeyfix/blob/8e8945b43b674be304bc3f32892fbe8f3fd17d38/update.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_96]
"AppType"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_96\Desktop]
"File"="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
"Parameters"="-WindowStyle hidden (New-Object -ComObject WScript.Shell).SendKeys([char]177)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_97]
"AppType"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_97\Desktop]
"File"="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
"Parameters"="-WindowStyle hidden (New-Object -ComObject WScript.Shell).SendKeys([char]179)"
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_98]
"AppType"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\ShortcutKey\AppLaunch\Ex_98\Desktop]
"File"="C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"
"Parameters"="-WindowStyle hidden (New-Object -ComObject WScript.Shell).SendKeys([char]176)"
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teams]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment