Is it possible in Windows 10 to prevent an opening application from stealing focus?

In Linux I can do this but can you do this in Windows?

I launch a new application and it takes awhile to load. In the mean time I am tying text in an application or searching for an application in classic shell. While typing the launching application finally takes focus and interrupts my typing. Is there a way to prevent this in windows?

I did see this Preventing applications from stealing focus but that was back pre Windows 8.x days. Does anyone know since the newer OSes that this has become possible?


Solution 1:

  1. Start the Registry Editor (Start button + R, then type regedit)
  2. Search for HKEY_CURRENT_USER\Control Panel\Desktop\ForegroundLockTimeout
  3. Change the value from 0 to 30d40
  4. Save and restart the computer

(…) it does not stop 100% of applications from stealing focus, it's considerably better.

Source: https://social.technet.microsoft.com/Forums/en-US/c22363e5-802c-4f43-b4e3-8a7259865648/windows-10-stop-any-application-from-stealing-focus-ever-is-it-possible?forum=win10itprogeneral#123b4fea-0a57-491d-bdfa-a5ee0771f2de