注册、启动、停止windows服务

找到本机InstallUtil.exe命令

命令行下注册服务InstallUtil.exe D:\XXXXService.exe 

启动服务 net start XXXXService

停止服务net stop XXXXService

注销服务 InstallUtil.exe /u d:\XXXXService.exe 

也可手动启动windows服务

 

posted on 2015-03-24 09:26  Anthony.Zhao  阅读(246)  评论(0编辑  收藏  举报