Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I always keep my keyboard repeat rate at the maximum and the delay at the minimum for optimal keyboard responsiveness.

Under Windows 7 however, I have found that the rate and delay are reset to the defaults (ie the one’s that are set with a fresh Windows installation) whenever the system resumes from sleep and requires opening the keyboard control panel applet (which already shows the desired settings) and manually setting them again by pressing Enter.

I have seen a couple of posts in the Microsoft support forums, but no solutions. Does anyone know of a way to fix this?

share|improve this question
It seems to be a power management issue. Do you use a notebook? – NGLN Dec 20 '11 at 18:03
@NGLN, no; desktop. – Synetech Dec 20 '11 at 19:56

I had the same problem. Very irritating. So I wrote a little task bar application that resets the keyboard repeat rate and delay when it's double-clicked. It's supposed to reset the rate and delay when it comes out of sleep but sometimes it works, sometimes it doesn't. But double-clicking the little task bar icon is so easy I haven't bothered debugging it that far.

Download the source here:
Download just the app here:

Hope this helps.

EDIT: Fixed link. Sorry for the wrong link.

share|improve this answer
Thanks for the work-around. I saw a similar solution presented in a Microsoft Answers thread—possibly from you. (I hope Maggie somehow gets better.) – Synetech Mar 8 '11 at 19:05
You're welcome. Like I said, I feel your pain on that one which I why I made the app. And thanks for your thoughts on Maggie. She was a wonderful woman but she's in a better place now. – chris Mar 11 '11 at 14:09
Oops, sorry; I didn’t notice that part. We lost a cat (who was like a child) to lung cancer a couple of years ago. He was not feeling well, so we brought him to the vet to get better, and had to put him to sleep and go home without him. I’m not sure which is better, a long lead-in or sudden loss. – Synetech Mar 11 '11 at 19:27
Thanks Chris, I uploaded your sources here: . I plan to add some changes and keep it open source. – Elias Bachaalany Jul 28 '14 at 11:30

The selected answer by chris did not work on my Win 8 64 bit install. This line can be run from a batch file to reset the rate.

mode con: rate=32 delay=1

I just run it from a shortcut.



The batch file can be added as a scheduled task to execute after the laptop wakes from sleep. It briefly pops up a command line window but it avoids having to worry about running it manually.

Set up the task with a custom trigger with this filter

  <Query Id="0" Path="System">
    <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-Power-Troubleshooter'] and (Level=4 or Level=0) and (EventID=1)]]</Select>
share|improve this answer
I think the settings whould be: "mode con: rate=31 delay=0" – Skorunka František Aug 1 '15 at 16:50

The command form Goose's answer works on my system, but I wasn't satisfied with running it each time manually. If you also wish to automate the process, follow these simple instructions:

  1. Download NirCmd
  2. Put nircmd.exe in your Windows folder
  3. Open Task Scheduler
  4. Create new task and name it as you wish
  5. Crete new trigger with these settings: (Begin the task: On an event, Log: System, Source: Power-Troubleshooter, Event ID: 1)
  6. Create new action with these settings: (Action: Start a program, Program/script: nircmd, Add arguments (optional): execmd mode con: rate=32 delay=1)
  7. In Conditions tab uncheck "Start the task only if the computer is on AC power)
share|improve this answer

Same problem here (DELL Latitude E6500 laptop, Win 7 Pro 64b, 2.5GHz, 8GB, SSD). Although in my case it is not every time it comes out of sleep/hybernation. Sometimes it does, sometimes it doesn't, and I haven't been able to find out yet what determines that. Possibly it is a matter of the hard disk also having been shut down ('Resuming Windows' on awakening). I'll edit this post if I find out.

The OP's work-around can be simpler, though. Go to Control Panel, right-click Keyboards and Send to desktop (create shortcut). Drag the shortcut to the taskbar. If the problem occurs, click the Keyboards icon on the taskbar and click OK in the appearing Keyboard setting window. That's all I have to do; I don't have to change any setting (either).

By the way, it wouldn't be a Win 7 problem either (just as that it is not brand-determined). As you can see on this forum thread, the problem has been reported to also occur in XP. It would seem to be a generic Windows (power management-caused?) problem, because I have not seen any report of Apple machines being affected by it.

share|improve this answer
I have the same issue on Win8 and now on Win10. Lenovo Yoga 12. – Skorunka František Aug 1 '15 at 16:33

go into:

  1. control panel
  2. ease of access center
  3. make keyboard easier to use
  4. setup filter keys
  5. setup repeat and slow keys
share|improve this answer
Nice found, but it's not the wish to slow the keys down, but up. – NGLN Dec 20 '11 at 18:03
@robert I already have them set to the maximum repeat rate and minimum delay. The problem is that the settings are lost when I resume from standby (as the question clearly states). – Synetech Dec 20 '11 at 19:58

Run RegEdit and go to HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Responce


  • AutoRepeatDelay — 300 or something (that's probably milliseconds);
  • AutoRepeatRate — 15 or 30 (some guy claims that 15 equals 64 chars/second and 30 equals 32. 15 is fine for me);
  • BounceTime — 0 (the minimum time of keypress that Windows registers at all);
  • DelayBeforeAcceptance — 0 (pretty much the same as above);
  • Flags — 35 to show FilterKeys icon in tray, 34 to hide it. Requires reboot, presumably. I use 34.

Those settings can be reached through Control Panel->Ease of Access->Change how your keyboard works->FilterKeys->Set up Repeat and Slow Keys, but the values you can set there are way too slow. Hence the registry hacking.

share|improve this answer
You did not read the question. It doesn’t matter whether you set the keyboard rates from the Control Panel or the registry, they get reset on resume from standby. – Synetech Feb 5 '13 at 14:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .