Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running windows 7. Every 10 seconds, a script will run that will send a popup command line box and close at the end of the script.

In the meantime, when I'm using other applications, I am continuously interrupted by the poppups, which seizes focus away from my current application.

Is it possible to disable the focus of the popup command line boxes so that they will still appear but stay in the background ?

share|improve this question

migrated from Aug 1 '10 at 17:59

This question came from our site for professional and enthusiast programmers.

Is this your script? – Kylotan Jul 31 '10 at 10:58
sounds like a serverfault question. – Talvi Watia Jul 31 '10 at 11:03
If there's no good reason for those to be popping up (like Kylotan said, is it your script? Or are you on a corporate network?), then you may have a virus. – Merlyn Morgan-Graham Jul 31 '10 at 11:29
I've had this before working on corporate machines - very annoying. Shame Windows doesn't do stuff nicely in the background like a *NIX box with cron would.. – Dentrasi Nov 10 '10 at 1:28

First, is this your script?

If so:

  • Consider running the program with hstart. It hides the console Window, preventing anybody from seeing it. Note that its best to use some kind of log file since errors won't show up either.

If not:

  • Check your scheduled tasks and see if there is anything that runs very frequently and delete it. Next, do a virus scan. See if you can spot the process in task manager or System Explorer.
share|improve this answer
Absolutely agree. No script (especially not one running that frequently) should be running in a console window for the interactive user. – jcrawfordor Nov 9 '10 at 23:31

You must log in to answer this question.