需要的工具有如下两个
instsrv.exe和srvany.exe
链接:https://pan.baidu.com/s/1N1WyCCL7-uleTIpYv7llLw
提取码:ranw
下载后将文件解压出来, 放到如下路径中
C:WindowsSysWOW64
打开cmd命令窗口, 进入到C:WindowsSysWOW64下
运行如下命令生成一个名称为MyService的服务
C:WindowsSysWOW64>instsrv MyService C:WINDOWSSysWOW64srvany.exe The service was successfuly added! Make sure that you go into the Control Panel and use the Services applet to change the Account Name and Password that this newly installed service will use for its Security Context.
看到提示The service was successfuly added!



