Applications stealing focus - reg key no longer fixes

Anonymous
2010-04-08T18:42:59+00:00

I want to prevent any applications from stealing focus in windows 7 (and Vista).  Tweakui used to modify the below Registry key to 0.  Then there was a key that affected the number of flashes a "want to steal focus" window would make in the taskbar.

ForegroundLockTimeout

HKEY_CURRENT_USER\Control Panel\Desktop

This reg key is apparently no longer working.  Focus stealing is a major problem, from canceling/oking window that pop-up, to getting virus's from IE windows.  Applications are still written to do this, including MS Office 2007.  If you are typing an email something can pop up and get the next key stroke.  I need to fix this.  Any ideas, or has Windows completely removed a needed feature.

tags: steal focus apps active regedit

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-10-23T11:13:03+00:00

I solved the problem in this way:

I noticed that just before the focus was "stolen", the PC got "busy" for a second (beside the mouse appeared the small circle indicating the processor is working hard on sth).

So I started the Task Manager and gave a close look at the processes. I noticed that one process took over a relevat percentage of CPU usage exactly an instant before the focus was stolen from the task manager window.

Since it was a process that I don't need to be active all the time (sth about Vodafone Mobile connection, which I rarely use) I just stopped the process and then didn't allow the process to be started every time I turn on the PC. I did this last step using Piriform's free software  "CCleaner", but I'm sure you can find different tools for this...

This was enough to fix it ...

Hope this helped!

Bye!

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

166 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-01-17T21:39:49+00:00

    @ Bedevere113,   Asking Microsoft to do something Intelligent for the users of its product...now that is funny.

    You know what even funnier, these forums, I get an email notification of a reply in this thread, I don't use HTML reading my email for security reasons since Windows is so insecure, it gives me no link back to this page , it does however give me a links to my Live Alerts and everything else I don't need, so I go to the live alerts link which could potentially point me back here, so I click the link for my live alerts. Just send me a link back to this thread live 99% of other forums do, not a fancy HTML message.

    "Thank-you for your interest in Windows Live Alerts. After much consideration we have decided to discontinue this service as part of the Windows Live offerings. Please sign up with Windows Live Alerts partners directly to  receive their newsletters or other content updates from them. Hotmail Calendar Alerts and reminders will continue to be managed by Windows Live Alerts for the time being."

    I suppose its too much to ask Microsoft to fix this also? Never mind.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-01-17T21:04:12+00:00

    This might not be exactly the same thing, but what bothers me about programs stealing focus all the time is when I launch a new program that takes 5 seconds or so to start up, I alt-tab to another program and start typing there while the new one is still loading, then when the new program comes up, it steals focus and if I'm typing, my typing goes into the new program.

    Replicate it by using Tortoise SVN, request a diff that will take several seconds to come up, switch to something else like IM and start typing, and when the diff comes up, it will steal focus back.

    Please make Windows a little bit smarter.  Obviously, if you launch a new program, you want it to get focus, but if the user selects any other window between the time of running a new program and that program actually coming up, then don't make the new one get focus.  It would be such an easy fix.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-01-14T04:29:05+00:00

    That cannot be true, as XP suppressed this behaviour just fine.

    I'm not sure it ever did it properly/fully. Does it have reminders to reboot windows after applying updates? I don't think the suppression has ever worked for that.

    Waiting for programmers to fix their code is not a practical option. It will never happen. Might as well just get it fixed in one place - the os.

    Was this answer helpful?

    0 comments No comments