>It sounds like you have a situation where *any* downtime starts generating support calls. If that's the case you should ideally be looking at high availability e.g. clustering. If you're able to use HA then again most if not all of these issues go away.
I just need to find why the OnCustomCommand() event does not trigger when I send a command to restart from the command line. Then, I will able to resolve that issue.
I have been checking into winsvc.h. This is where all the code values are sent to that event from reflection. I just cannot find that file on my PC and all those that I find on the Internet are not adequate, old or partial. I cannot even find the PRESHUTDOWN code in there despite the fact that I know it is 100.