Delays during software installations in Windows are something that many Windows users experience from time to time. One of the most common causes is the spawning of an installation window in the background, especially if it is waiting for user input.
Installations won't commence until the user interacts with that window, which is bad if the window is not visible on the desktop.
Windows has a 200 second limit set for cases like this, which means that the operating system waits more than 3 minutes before the window waiting for input is pulled to the front.
Sure, it is possible to minimize all other windows to see if a window waiting for user input is delaying the software installation.
Changing the default interval from 200 seconds to a shorter interval is often a better option. Windows stores the value in the Windows Registry. To change the value, press Windows-R, type regedit, and hit the enter key on the keyboard.
Navigate to the Registry key HKEY_CURRENT_USER\Control Panel\Desktop and locate the parameter ForegroundLockTimeout on the right side of the Registry editor.
Definition: ForegroundLockTimeout, Specifies the time in milliseconds, following user input, during which the system keeps applications from moving into the foreground.
Double-click that parameter to edit it. Switching from hexadecimal to decimal to make the value changing easier. The values are listed in milliseconds, the default is set to 200000. Change the value to one between 10000 and 50000, which equals 10 to 50 seconds (just divide the number by 1000 to get seconds).
It is not recommended to change it to less than 10 seconds, considering that it will bring all windows requiring input to the front in that time, not only installation windows.
The changes are immediately active. It is always possible to go back and adjust the interval if the window changing is happening to fast or to slow.
Update: The preference is part of all recent versions of Windows as well including Windows 7, Windows 8 and Windows 10. The value of the preference has not changed at all, it is still set to 200 seconds by default.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.