'Restart the waitress server when machin restarts

I am using the python waitress server to serve back code and IIS to server UI app. Right now the code is present in physical machine. So whenever the machine restart happen I need to login into the machine and need to start the waitress server on command line. Is there any way to start the waitress server when machine gets restarted without user login?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source