How can you disabled the Server 2008 "Application hung" screen?


we have old legacy app used on terminal services, , hosted on server 2003.  now we've migrated server 2008 r2 , because it's old app, has no progress bar or similar when it's doing things , on server 2003 sit there until it's finished.  with server 2008 however, after few seconds displays white, translucent "application hung" screen , prompting terminate or wait, causing problems because users think it's crashed whereas thought slow.  can disable white hang screen , go how pre-2008?

hi,

how windows detect application hang:

when application (or more accurately, thread) creates window on desktop, enters implicit contract desktop window manager (dwm) process window messages in timely fashion. dwm posts messages (keyboard/mouse input , messages other windows, itself) thread-specific message queue. thread retrieves , dispatches messages via message queue. if thread not service queue calling getmessage(), messages not processed, , window hangs: can neither redraw nor can accept input user. operating system detects state attaching timer pending messages in message queue. if message has not been retrieved within 5 seconds, dwm declares window hung. can query particular window state via ishungappwindow() api.

in research, i cannot find information how disable feature or how customize 5 seconds ttl. afraid cannot disable default behavior how windows handles application hang.

preventing hangs in windows applications

http://msdn.microsoft.com/en-us/library/dd744765(vs.85).aspx

 

 

 

 

 

 

 

 

 

 

 



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

RDS 2012 r2 collections show black screen and then close