Start Services at boot time with script

If you, like me, have had problems with services that doesn’t start after rebooting a server, you can do this.

Create a PowerShell script that starts the service that you need to have started. When this is done create a Task Schedule that have a trigger that runs the task “At startup” and check the “Delay task for” and add some minutes. I have added 15 in this example.

Start Services at boot time with script

Belowe are some example scripts you can use or get inspired from.

First Script

 Second Script

Another Script

This script is just showing all Startup Types and their status if you need to see this by PowerShell.


No comments yet.

Leave a Reply