Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ending Program...Please Wait

Status
Not open for further replies.

Tim58

Technical User
Feb 1, 2004
68
CA
When shutting down my Windows XP Pro Notebook, the message "Ending Program...Please Wait" displays.

The program "Ending" is Pervasive.SQL Version 8. I'm having performance issues with the Pervasive application on this Notebook and I'm wondering if there is any connection with this message.

Can anyone tell me why I might be getting this message?
 
When you do a shutdown a "broadcast" is made to all open processes to clean up and close. If a process does not do so in a timely fashion the message you have been receiving appears.

This is likely tied to performance in only one case that I can think of -- XP is saying it needs more RAM.
 
From my notes:

Patience is a virtue, but if Windows is taking too long to shut down recalcitrant programs, you can tell it to show the End Program option sooner. In fact, you can make Windows close the hung application without bothering you with a dialog box at all. Keep in mind, however, that if you choose the promptless option, you may damage your system settings by squashing a hung Windows process too quickly. (There's a middle road: You can retain the prompt and use a shorter timeout interval, since the dialog box always gives you the option of waiting longer.)

To make Windows automatically end hung processes, launch the Registry Editor as described previously, and navigate to and select HKEY_CURRENT_USER\Control Panel\Desktop. Double-click the AutoEndTasks icon in the right pane, change 'Value data' to 1, and press <Enter>. (Change it back to 0 if you later decide to revert to manual shutdown control.)

Next, double-click the HungAppTimeout icon in the same pane, and edit the 'Value data' field to reflect the time (in milliseconds) you are willing to wait for an unresponsive application.

The default setting is '5000', or 5 seconds. To reset the wait time for a program that is slow to shut down when Windows exits, double-click the WaitToKillAppTimeout icon in the same Registry pane, change the default of '20000' (milliseconds, or 20 seconds) to the maximum wait time of your choice, and press <Enter>.
 
Thanks for the replies.

I thought this could be related to RAM, so I increased the memory from 512MB to 1 GB. Hasn't made any difference. The curious thing is, I'm running the same application on an XP Desktop PC with 512MB RAM and there is no problem. The Desktop shuts down without displaying the message.


 
I'd refer you to this thread if I could work out what they are talking about.



310353 - How to Perform a Clean Boot in Windows XP

316434 - HOW TO: Perform Advanced Clean-Boot Troubleshooting in Windows XP

310560 - How to Troubleshoot By Using the Msconfig Utility in Windows XP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top