使用 Windows Resource Kit Tools 创建服务实现任意程序的高优先级开机启动

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 的方法 ↩︎

Windows Server 2003 Resource Kit Tools 其中包括的工具有: Acctinfo.dll (documented in Readme.htm) Adlb.exe: Active Directory Load Balancing Tool,AD负载均衡 Admx.msi: ADM File Parser,ADM文件解析 Atmarp.exe: Windows ATM ARP Server Information Tool Atmlane.exe: Windows ATM LAN Emulation Client Information Autoexnt.exe: AutoExNT Service Cdburn.exe: ISO CD-ROM Burner Tool,ISO光盘刻录 Checkrepl.vbs: Check Replication,检查复制 Chklnks.exe: Link Check Wizard,链接检查 Chknic.exe: Network Interface Card Compliance Tool for Network Load Balancing Cleanspl.exe: Spooler Cleaner,打印池清理 Clearmem.exe: Clear Memory,内存清理 Clusdiag.msi: Cluster Diagnostics and Verification Tool,集群诊断和检验 Clusfileport.dll: Cluster Print File Port Clusterrecovery.exe: Server Cluster Recovery Utility,集群恢复 Cmdhere.inf: Command Here Cmgetcer.dll: Connection Manager Certificate Deployment Tool Compress.exe: Compress Files,压缩文件 Confdisk.exe: Disk Configuration Tool,磁盘配置 Consume.exe: Memory Consumers Tool,内存消耗 Creatfil.exe: Create File,创建文件 Csccmd.exe: Client-Side Caching Command-Line Options Custreasonedit.exe: Custom Reason Editor (documented in Readme.htm) Delprof.exe: User Profile Deletion Utility,用户配置删除 Dh.exe: Display Heap Diskraid.exe: RAID Configuration Tool,RAID配置 Diskuse.exe: User Disk Usage Tool,磁盘使用情况 Dnsdiag.exe: SMTP DNS Diagnostic Tool (documented in Readme.htm) ,SMTP/DNS诊断 Dumpfsmos.cmd: Dump FSMO Roles Dvdburn.exe: ISO DVD Burner Tool,ISO DVD刻录 Empty.exe: Free Working Set Tool Eventcombmt.exe: Check Replication Fcopy.exe: File Copy Utility for Message Queuing,消息队列文件复制 Frsflags.vbs Getcm.exe: Connection Manager Profile Update,连接管理配置文件更新 Gpmonitor.exe: Group Policy Monitor,组策略察看 Gpotool.exe: Group Policy Objects,组策略对象 Hlscan.exe: Hard Link Display Tool Ifilttst.exe: IFilter Test Suite Ifmember.exe: User Membership Tool Inetesc.adm: Internet Explorer Enhanced Security Configuration Iniman.exe: Initialization Files Manipulation Tool Instcm.exe: Install Connection Manager Profile Insts
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值