The reboot time of exchange server machine generaly takes time and in Domian controller it takes more time. To enable the quick reboot for the exchange server follow the below steps.
1. Create a batch file called ExchShutdown.bat.
Open notepad and type the following
net stop MSExchangeES /y
net stop MSExchangeIS /y
net stop MSExchangeMTA /y
net stop MSExchangeSA /y
net stop WinHttpAutoProxySvc /y
2. Open the gpedit.msc
Computer settings --> windows settings --> Scripts(startup/shutdown) --> right pane - shutdown properties --> add --> Choose ExchShutdown.bat
3. Close all and run gpupdate to refresh the group policy.
The procedure is completed.