Hi,
We always need to have script for starting / stopping services for our operators.
If during non work hours or holidays something happens to a service (like a backup server, a web server, etc.) sometimes it can be operative again with a simply restart of the different components (instead of restarting the full server).
In this case, probably is a good idea to stop all CMS or DS related services before trying to upgrade/patch SQL Server but is not the only case where the script will be used.
These scripts are used when we need to stop all our machines in an ordered way. We have a procedure for stopping machines in the right order (for example, DNS servers are the latests ones because they are needed for accessing other machines). During the stopping of a server, we try to stop things in repeatable order if possible.
We don't know if Windows always stops and starts the services in the same order. We also don't know if the order is important for CMS services (we know that there are services dependant of others: for example, Altiris Client Message Dispatcher depends on Altiris Service).
Any idea would be very appreciated.
Thanks.