Disable Sticky Keys and High Contrast

From Wiki

Revision as of 15:32, 23 June 2008 by SYNACK (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>