admin管理员组

文章数量:1613391

Windows Resource Kit Tools 下载地址:rktools.exe

Windows Resource Kit Tools有很多功能,和创建服务有关的有instsrv.exesrvany.exe。默认安装路径安装时位于C:\Program Files (x86)\Windows Resource Kits\Tools
以管理员打开 CMD,键入如下命令以装载服务。1

instsrv.exe [服务名] "C:\Program Files (x86)\Windows Resource Kits\Tools\srvany.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.

注意,要给出 srvany.exe 的完整路径。
执行完以上的命令,服务已装入注册表的[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\服务名]
编辑install.reg如下:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\服务名\Parameters]
"Application"="程序路径"
"AppParameters"="程序参数"
"AppDirectory"="运行路径"

注意,路径中\要写成\\
双击安装即可。


  1. 狐行傲雪 开机自动挂载 VHD 的方法 ↩︎

本文标签: 优先级程序resourceWindowsTools