|

How to Disable Sticky Keys on Windows 10 and 11 (Registry Method)

Windows 11 disable Sticky Keys using Registry Editor tutorial guide for accessibility settings modification

To permanently disable Sticky Keys on Windows 10 or 11 using Registry Editor, navigate to HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys, change the Flags value to 506, and add a new string value named KeyboardPreference set to On. This stops both the feature and the annoying popup prompt from appearing when you press Shift five times.

Applies to: Windows 10 (22H2) and Windows 11 (23H2, 24H2, 25H2) | Last updated: May 27, 2026

How to Disable Sticky Keys in Windows 10 & 11 Using Registry Editor

Key Takeaways

  • The registry fix is more reliable than Settings — the Settings toggle doesn’t always prevent the Sticky Keys popup from interrupting gameplay or fast typing; the registry method does
  • Two registry changes are needed: set Flags to 506 at HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys, and add a KeyboardPreference string value set to On
  • The fix works on both Windows 10 and Windows 11 — the registry path and values are identical across both versions
  • To re-enable Sticky Keys, change Flags back to 510 or go to Settings > Accessibility > Keyboard and toggle it on
  • Winhance can apply this automatically — my free Winhance utility lets you disable Sticky Keys and other accessibility prompts without any manual registry editing

Quick Steps

  1. Press Windows + R, type regedit, and press Enter
  2. Navigate to HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys
  3. Double-click Flags and change the value to 506, click OK
  4. Right-click empty space in the right panel > New > String Value
  5. Name it KeyboardPreference, double-click it, set value to On, click OK
  6. Close Registry Editor and restart your PC

Why Use the Registry Instead of Windows Settings?

During my years running a computer repair business, Sticky Keys was one of the most common accidental interruptions I saw — customers would hit Shift five times mid-game or while typing quickly and suddenly get a dialog box asking them if they wanted to turn on Sticky Keys. The regular Settings toggle (Settings > Accessibility > Keyboard) does disable the feature, but it doesn’t always reliably prevent the popup prompt from appearing.

The registry method directly modifies the system-level configuration. By changing the Flags value and adding KeyboardPreference, you’re telling Windows to disable Sticky Keys at a deeper level — not just toggling a UI preference. This is especially useful if you’re setting up computers for others or want a clean Windows experience without any accessibility prompts you didn’t ask for.

Note: If you’d rather skip Registry Editor entirely, Winhance includes a toggle to disable Sticky Keys and other accessibility interruptions through a simple interface.

How to Disable Sticky Keys via Registry (Step-by-Step)

Step 1: Open Registry Editor

Press Windows + R to open the Run dialog. Type regedit and press Enter. If User Account Control prompts you for permission, click Yes.

Step 2: Navigate to the StickyKeys Registry Path

Paste the following path directly into the Registry Editor address bar and press Enter — it’s faster than clicking through the folder tree manually.

HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys

Step 3: Change the Flags Value to 506

In the right panel, find the entry called Flags. Double-click it to open the edit window. Change the value data from whatever it currently shows to 506 and click OK. This value tells Windows to disable Sticky Keys at the system level.

Step 4: Create the KeyboardPreference String Value

Right-click anywhere in the empty white space on the right side of the Registry Editor window. Select New > String Value. Name the new entry KeyboardPreference exactly as shown, then press Enter. This name is case-sensitive.

Step 5: Set the KeyboardPreference Value to On

Double-click the new KeyboardPreference entry. In the Value data field, type On and click OK. This additional setting ensures Windows respects your keyboard preference and won’t quietly re-enable Sticky Keys on the next login.

Step 6: Restart Your Computer

Close Registry Editor and restart your PC. After restarting, Sticky Keys will be fully disabled and the popup prompt will no longer appear when you press Shift five times.

One-Command Alternative

If you’d rather handle this from the command line, you can run the following commands in an elevated Command Prompt or PowerShell to apply both changes at once without opening Registry Editor:

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

Restart your PC after running both commands for the changes to take effect.

How to Manage More Windows Settings Without Registry Editing

The registry approach is effective, but it’s not exactly user-friendly — especially if you’re managing multiple PCs or want to apply several tweaks at once. I built Winhance for exactly this kind of situation. It’s a free Windows enhancement utility that covers Sticky Keys, privacy settings, bloatware removal, and a lot more through a straightforward UI.

There are also other registry guides on the site that follow the same format if you’re customizing a fresh Windows install. I’ve covered disabling location services, disabling the advertising ID, and disabling Windows telemetry — all using similar registry approaches that work on both Windows 10 and 11.

Troubleshooting

Registry Editor won’t open. Make sure you’re running Windows on an administrator account. If your organization’s Group Policy has disabled Registry Editor access, you’ll need admin rights or the policy removed before you can proceed.

Can’t find the StickyKeys folder. The HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys path exists by default on all standard Windows installations. If it genuinely doesn’t appear, try pasting the full path into the Registry Editor address bar instead of navigating manually. If it still isn’t there, Sticky Keys may already be disabled on your system.

Changes don’t take effect after restart. Double-check that you entered the values exactly as shown: 506 for Flags and On (with a capital O) for KeyboardPreference. Registry string values are case-sensitive and must match precisely.

Sticky Keys popup still appears in games. Some games run in exclusive fullscreen mode and bypass certain Windows settings. Try running the reg add commands above from an elevated prompt, then restart — this ensures the registry values are written correctly. You can also check for other Windows features that might be interfering.

Frequently Asked Questions

What are Sticky Keys and why would I want to disable them?

Sticky Keys is a Windows accessibility feature that lets you press keyboard shortcuts one key at a time instead of holding them simultaneously — useful for people who can’t hold multiple keys at once. Most users disable it because the activation prompt appears when Shift is pressed five times in a row, which happens constantly during gaming or fast typing and interrupts what you’re doing.

Is it safe to edit these registry values?

Yes. The Flags value and KeyboardPreference string under the StickyKeys path are standard Windows accessibility settings — modifying them only affects the Sticky Keys feature, nothing else. I’ve applied this change on hundreds of systems during my time running a repair business and have never seen it cause issues. Just stick to the exact values in this guide and you’ll be fine.

Will Windows updates re-enable Sticky Keys?

Major Windows feature updates (like moving from 23H2 to 24H2) can sometimes reset accessibility settings back to defaults. If Sticky Keys comes back after an update, just repeat the registry steps or run the reg add commands again. On my test systems running Windows 11 24H2, the setting has stayed put through cumulative updates — it’s mostly the big annual feature updates that occasionally reset things.

Can I re-enable Sticky Keys later if I need it?

Absolutely. To re-enable it via the registry, go back to HKEY_CURRENT_USER\Control Panel\Accessibility\StickyKeys and change Flags back to 510. You can also delete the KeyboardPreference string value you created. Alternatively, go to Settings > Accessibility > Keyboard and toggle Sticky Keys back on — the Settings app will update the registry values automatically.

Does this work on both Windows 10 and Windows 11?

Yes. The registry path and the values are identical on Windows 10 (22H2) and Windows 11 (23H2, 24H2, 25H2). I’ve confirmed this on both versions — the same two changes apply and produce the same result regardless of which version you’re running.

Similar Posts