Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Does anyone know how to set focus follows mouse, focus auto-raise, and auto-raise delay in Windows 7?

I've tried Ultimate Windows Tweaker, but that doesn't seem to have any mouse settings.

I found a site Here that shows how to edit the registry to get focus follows mouse and auto-raise, but I'd like to be able to set the delay now.

Ideally there's some software out there - like x-mouse for XP - which lets you control all three without having to edit the registry.

share|improve this question
up vote 6 down vote accepted

To control just having auto-focus and auto-raise, type "change how" in the start menu search, select the "Change how your mouse works" item, and check the checkbox for "Activate a window by hovering over it with the mouse".

The delay requires reg tweaking (or a third party program), I believe the key is

HKEY_CURRENT_USER\Control Panel\Desktop\ActiveWndTrkTimeout

If the key doesn't exist, create it as a new DWORD value. Here's the documentation for the key: You also need to log out and in for the changes to take effect.

Note that ActiveWndTrackTimeout does not appear to affect auto-focus/auto-raise, while ActiveWndTrkTimeout does.

share|improve this answer
You shouldn't necessarily be against a reg-tweak. Once you set it how you like it you can export these reg-tweaks to an .reg file, which you can then save in a library folder somewhere. Then, whenever you get a new computer, you can just merge in all these settings/files, and voila! your new computer now works how you like. :) – eidylon Nov 1 '09 at 17:27
Thanks! I'll give this a try tonight. – Scott Nov 2 '09 at 15:34
@eidylon Your idea is a good one, but I'm concerned they'll change keys on me. – Scott Nov 2 '09 at 15:35
I tried that registry entry and it had no effect. Is a restart required? – ericslaw May 24 '11 at 23:30

Change registry setting \\Computer\HKEY_CURRENT_USER\Control Panel\Mouse\MouseHoverTime to 2000

See here for more info.

share|improve this answer

This entry ( in sinewalker's lab book looks to be essentially the same as solution number three on sevenforums, as noted above, but includes some extra discussion on specific values for HKEY_CURRENT_USER\Control Panel\Desktop\UserPreferencesMask

share|improve this answer

Here (sevenforums) is a posting with three ways to accomplish this.
I am using the third solution because I do not want the active window to be automatically raised, but this is a matter of personal preference.
The second method highlighted there uses a third-party application, which is the most easy to use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.