Fix the automatic window focus changing problem in windows

by Rohit Khurana on April 25, 2008



One of our reader Selva reported a problem saying: “My computer affected by focus changing. It automatically changes the focus within a particular time interval.

windows focus

It could happen if some of the registry keys in windows related to the focus setting of windows gets altered by virus or any other program.


Let’s see how can we fix this trouble.


Follow the steps below:



1. Open Start >> Run and type “regedit” (without quotes)

2. Navigate to the following path:

[HKEY_CURRENT_USER\Control Panel\Desktop]

3. Right Click on the empty space and create a new DWORD value, or modify the existing value named ‘ForegroundLockTimeout’, set or modify the value to 0. (this value will cause the application to take the focus instantly.)

4. That’s it Done, exit registry and restart windows for changes to come into effect.


TIP: You can also set the registry keys to auto focus for a windows where you drag your mouse. Follow the procedure below

1. Open Registry Edit as explained above, Navigate to the following path in the registry:

[HKEY_CURRENT_USER/Control Panel/Mouse/ActiveWindowTracking]

2. Set the value to 1

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 1 comment… read it below or add one }

steve kenneth October 2, 2010 at 6:30 am

thanks so much guys i didnt actually think i would find a working online solution as easy and as helpful as this website has provided, especially since of the lack of knowledge on this particular problem :)

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2016 . All Rights Reserved.