I would like to have an application restart automatically if a server crashes. It would have to restart without needing a user to login to an account. (run a program before login)
Based on my research I came up with a list of options
- Autologin to account + trigger application to start through windows service or task scheduler
- Wrap the application in a windows service
- Schedule application to be run when computer is powered on using windows task scheduler (Is this even possible?)
- Find a windows utility or free program that can do this
Are there any better ones? I just want the easiest solution to implement.