Disable Sticky Keys and High Contrast

From Wiki

Jump to:navigation, search

Create a new .vbs file and paste the following in and you will disable high contrast and sticky keys. If you add this to group policy as a logon script you should be fine.

NOTE: The user must log off and on to disable the keys after the registry key has been set.

<VB>Dim RegKey Set WSHShell = WScript.CreateObject("Wscript.Shell")

'Disable Sticky Keys RegKey = "HKCU\Control Panel\Accessibility\Stickykeys\" WSHShell.RegWrite regkey & "Flags","506","REG_SZ"

'Disable High Contrast RegKey = "HKCU\Control Panel\Accessibility\HighContrast\" WSHShell.RegWrite regkey & "Flags","122","REG_SZ"</VB>