Windows Server Launching Application on reboot

WinAutomation

New Member
I have an application that needs to be launched automatically upon reboot.
The application has login and password, so I need to have a script to pass out the login info.
Please let me know if we can do it with .bat script and if you have an example.
Appreciate it!
 

Neemobeer

Principal Cybersecurity Architect
Staff member
The batch file could simple be
start <programpath>

You can add it to the startup group policy
  • Press [win key + r]
  • Type gpedit.msc
  • Computer Configuration > Windows Settings > Scripts > Startup
  • Click Add... navigate and select the script
  • Reboot and test
 

Neemobeer

Principal Cybersecurity Architect
Staff member
This is literally all you need in the script.
start.PNG
 

Neemobeer

Principal Cybersecurity Architect
Staff member
Then you will want to run it as a scheduled task, on the general tab you can specify which account to run it as and under trigger you can make it trigger at startup.
 

WinAutomation

New Member
I see ! One challenge I am seeing is that the login and password of the application is different from those of Windows account.
Should the login and password of the application and Windows account be the same?
 

Neemobeer

Principal Cybersecurity Architect
Staff member
Ok then that probably won't work. May need to contact the vendor and see if there is a way to auto login the application.
 

Neemobeer

Principal Cybersecurity Architect
Staff member
If the login is in the application it probably doesn't use windows authentication, so that wouldn't work. What application is it?
 
Top