📜 VBScript (WSH)

Check "Disable Sticky Keys Shortcut Prompt" Status (VBScript)

Reads the registry value behind the "Disable Sticky Keys Shortcut Prompt" tweak to confirm whether it's applied.

By WindowsScripting.com · 681 B
CheckDisableStickyKeysPromptStatus.vbs
' ============================================================
' CheckDisableStickyKeysPromptStatus.vbs
'
' Checks whether "Disable Sticky Keys Shortcut Prompt" is currently applied.
'
' Usage: cscript CheckDisableStickyKeysPromptStatus.vbs
' ============================================================

Option Explicit

Dim objShell, currentValue
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
currentValue = objShell.RegRead("HKCU\Control Panel\Accessibility\StickyKeys\Flags")

If Err.Number <> 0 Then
    WScript.Echo "'Flags' is not set (using the Windows default)."
Else
    WScript.Echo "Current value of 'Flags': " & currentValue
End If
On Error Goto 0