installutil /u service文件路径 (卸载原有服务) installutil /i service 文件路径 (安装服务) 转载于:https://www.cnblogs.com/jchen361/p/3990852.html