Windows服务安装方法

操作系统:Win8.1

安装方法:在命令行窗口中输入:InstallUtil service.exe 

出错原因:需要以管理员身份启动命令行。

原文地址:https://www.cnblogs.com/zhizouxiao/p/3741667.html