1 打开cmd
2 查找windows服务的PID:SC queryex service_name
3 杀掉进程:taskkill /PID service_pid /f
4 卸载服务 sc delete servicename