Unix has tools like upstart, angel, god, etc to keep processes running constantly on system start and can restart processes that have failed. Does windows have the ability to do this natively?
Create a custom service in Windows using
sc . For relevant setup information, enter
sc create /? in a command prompt.
After service creation, you can use the Services applet to configure parameters using a GUI if you prefer that. Run
services.msc to open the applet. You can define parameters for service start on boot, restart actions, services account for the executable to run under, etc.