首页 > 代码库 > 注册和卸载window service
注册和卸载window service
自己开发的windows service编译之后会生成的exe文件,不能直接运行,必须通过工具注册进系统的Service。
使用cmd运行命令执行注册和卸载:
注册service:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil D:\MyService.exe
卸载Service:
C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil /u D:\MyService.exe
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。