auto restart windows service by python install and using PStools to monitor service install anaconda edit ps_check_service.cnf run script done :P Have a nice day :p