Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

run batch script after windows server restart

I am trying to run a script to startup some services after windows reboot.

I have tried one method: copying shortcuts of batch script in shell:startup folder. which eventually will start the scripts automatically but someone has to login to the system.

I am thinking about the possible ways to run the script after server restart without logon to the server.

Any help will be highly appreciated.

like image 235
Pandit Avatar asked Mar 16 '17 14:03

Pandit


1 Answers

Create a Windows scheduled task and set it to run on system startup:

enter image description here

like image 135
Rawns Avatar answered Oct 18 '22 16:10

Rawns