Server.exe not closing after crash in windows server 2008
Hello,
We have a windows server 2008 32bit system and some times a day our server crash and do not close. After it crash it says "Server.exe has stopped working" then it gives 2 options:
"Close the program"
"Check for solutions"
We checked in Google about solutions and did them all and it didn't fixed yet. We were able to make the message dissaper but the server.exe still didn't close after it crashed.
How to make the server.exe close after it crashes in windows server 2008?
Thanks.
Re: Server.exe not closing after crash in windows server 2008
How about killing it from cmd window?
tasklist
taskkill /IM MyPTServerName.exe
Or from GUI tool Task Manager?
Or restart Windows?
Re: Server.exe not closing after crash in windows server 2008
The thing is we need to attach an auto restarter to it, and if it doesn't close automatic then it's bad. We need find the thing which cause it not to close automatic.
Re: Server.exe not closing after crash in windows server 2008
You need to disable the Error Reporting Service in services.msc (or other equivalent tool).
This service shows that dialog when a program crashes, giving you the option to sent the crash dump to Microsoft so they can improve compatibility with programs which haven't been hacked.
Unfortunately, I don't know of a means to disable error reporting for only one application, or making the service "time-out" that dialog... which would be how I would have written the service if I where at Micro$oft.
They had enough problems with the Automatic Update Service rebooting peoples servers without them asking it too, you'd think they would have considered the error reporting service locking up essential background tasks on a server which would otherwise have restarted them. Of course we are supposed to run such programs via the SCM (Service Control Manager) and it *will* restart any such registered service automatically if it crashes. And simply report the crash dump in the Event Logs. But I know of other server services which run graphically under a user account. (It's not right, but PT isn't quite unique in this "wrongness". For example, we used the Mercury Email Server.)