Server Fault is a question and answer site for system and network administrators. 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

Basically what I want to do is this:

When somebody tries to reboot a server, before the shutdown/reboot process actually begins, a warning window will popup saying "Have you stopped X service before rebooting? Click Okay to continue with shut down or Cancel to cancel the shut down and stop the service before attempting to shut down the system again."

Is something like this even possible or is this just a far-fetched dream?

Thanks in advance.

share|improve this question
up vote 2 down vote accepted

You can always build your own scripts that will shut these services down for you when you double-click them to reboot the server. I'm assuming that you want this to occur because you have some services that are interdependent on each other. Exchange 2003 is an infamous example of this.

Something like this which was build for shutting down Exchange 2003, or this.

share|improve this answer
It is because one of our servers has a proprietary software called NimbraVision on it. If NimbraVision isn't properly shutdown before being shutting down the server it can cause the mysql database it uses to be corrupted. Since our NOC guys have to use this server I can't properly control this. I think I will remove the Log Off/Shutdown buttons from the Start Menu, and add a desktop shortcut script like you mentioned...hopefully that should resolve the issue. Thanks. – ThingsToDo Aug 24 '10 at 14:58
+1 for adding a shutdown script. Get your NOC guys to give you the proper commands to do your shutdown. – gWaldo Aug 24 '10 at 15:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.