Skip to content

Instantly share code, notes, and snippets.

@Cierra-Runis
Last active December 22, 2025 03:38
Show Gist options
  • Select an option

  • Save Cierra-Runis/4a1eb00a97c1f07d052b7ce3e40fe639 to your computer and use it in GitHub Desktop.

Select an option

Save Cierra-Runis/4a1eb00a97c1f07d052b7ce3e40fe639 to your computer and use it in GitHub Desktop.
New-Item "HKCU:\Control Panel\Input Method\Hot Keys\00000010" -Force | Out-Null
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000010" "Key Modifiers" ([byte[]](0x00,0xC0,0x00,0x00))
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000010" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
New-Item "HKCU:\Control Panel\Input Method\Hot Keys\00000070" -Force | Out-Null
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000070" "Key Modifiers" ([byte[]](0x00,0xC0,0x00,0x00))
Set-ItemProperty "HKCU:\Control Panel\Input Method\Hot Keys\00000070" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
New-Item "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" -Force | Out-Null
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" "Key Modifiers" ([byte[]](0x02,0xC0,0x00,0x00))
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" "Target IME" ([byte[]](0x00,0x00,0x00,0x00))
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000010" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
New-Item "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000070" -Force | Out-Null
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000070" "Key Modifiers" ([byte[]](0x02,0xC0,0x00,0x00))
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000070" "Target IME" ([byte[]](0x00,0x00,0x00,0x00))
Set-ItemProperty "Registry::HKEY_USERS\.DEFAULT\Control Panel\Input Method\Hot Keys\00000070" "Virtual Key" ([byte[]](0xFF,0x00,0x00,0x00))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment