Hello,
Thank you for posting in Q&A forum.
Yes, in Windows 10 Pro, you can prevent applications from stealing focus by modifying the registry. However, please note that editing the registry can be risky if you're not careful. Make sure to back up your registry before making any changes.
Here are the steps:
- Press
Win + R
to open the Run dialog box. - Type
regedit
and press Enter to open the Registry Editor. - Navigate to the following path: HKEY_CURRENT_USER\Control Panel\Desktop
- Look for a value named
ForegroundLockTimeout
. If it doesn’t exist, you will have to create it. - Right-click on the right pane, select
New
, thenDWORD (32-bit) Value
, and name itForegroundLockTimeout
. - Double-click on
ForegroundLockTimeout
and set its value to30d40
(Hexadecimal) or200000
(Decimal). - Click OK and close the Registry Editor.
- Restart your computer for the changes to take effect.
This setting should help prevent applications from stealing focus. However, be aware that not all applications respect this setting, especially older or poorly designed ones.
I hope the information above is helpful.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.