To automate the stopping and starting of the services in the correct order, please create a scheduled task to run the powershell script anytime the server is restarted. Please follow the steps in this KB to automate the powershell script - https://support.quest.com/appassure/kb/144451
**Contents of the Powershell Script**
net stop "System Event Notification Service" /y
net stop "File Replication Service"
net stop "DHCP Server"
net stop "DFS Replication"
net stop "Background Intelligent Transfer Service"
net stop "WINS"
net stop "COM+ Event System"
net stop "COM+ System Application"
net stop "Distributed Transaction Coordinator"
net stop "Volume Shadow Copy"
net start "System Event Notification Service"
net start "File Replication Service"
net start "DHCP Server"
net start "DFS Replication"
net start "Background Intelligent Transfer Service"
net start "WINS"
net start "COM+ Event System"
net start "COM+ System Application"
net start "Distributed Transaction Coordinator"
net start "Volume Shadow Copy"