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

Sample image

I have a number of older, custom applications that perform long-running tasks. In previous versions of Windows the programs would become unresponsive while running a given task. Sometimes the UI would update, sometimes it would not.

Under Windows 7, however, when the UI becomes unresponsive, the entire window is greyed out and the UI is never updated so long as the task continues to run.

While this may be a result of a bad code (not spawning separate processes for long-running tasks), modifying them is not an option.

Is it possible to disable the greying/fading-out of unresponsive/busy programs in Windows 7?

share|improve this question
Processes running in a debugger aren't ghosted. Is writing a mini-debugger acceptable? Something like... CreateProcess(); DebugActiveProcess(); for(;;)WaitForDebugEvent();. – Damon Nov 14 '13 at 15:21
up vote 1 down vote accepted

You remember the HungAppTimeout setting, they messed with for shutdown. it supposedly would work in this situation.

this is the closests and most accurate similarity to your situation, with a well written fix.

I would try it because it cannot hurt anything if it is wrong.

share|improve this answer

Is it possible to disable the greying/fading-out of unresponsive/busy programs in Windows 7?

Yes, but it has to be done by the application itself. It has to call the DisableProcessWindowsGhosting() function. Obviously, if you make the choice that

modifying them is not an option

then your applications won't call this function and you'll get the "ghosting". This "ghosting" replaces an unresponsive window with a responsive window that allows a limited number of UI interactions (minimization, moving, and closure), by the way.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .