@echo off
:: ============================================================
:: SetDisableStickyKeysPrompt.bat
::
:: Disable Sticky Keys Shortcut Prompt.
:: Stops the Sticky Keys dialog from popping up when Shift is pressed 5 times.
:: ============================================================

reg add "HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys" /v "Flags" /t REG_SZ /d "506" /f

if %ERRORLEVEL% EQU 0 (
    echo Disable Sticky Keys Shortcut Prompt applied.
) else (
    echo Failed to apply tweak. Try running this script as Administrator.
)
pause