In case an 'Exchange ' is installed on our server, we will notice that the 'Shutdown' process takes forever. This is because 'Exchange' has many services that run on the background such as: HttpFilter, Http, IISAdmin, Msechangesa, Msexchangemgmt, Msexchangemta, Msexchangeis
Sometimes, when shutting down our server for some reason (such as maintenance perhaps), Windows will wait 10 minutes by default for all the services to stop. In case Windows did not succeed, it will close them by force.
:One way to speed things a little bit is to change the default waiting time that can be found in Registry
"Search for an object named: "WaitToKillServiceTimeOut
Change 'Value data' from 600000 to 1000 and press OK. Shut down your server and you will feel the difference
Dennis