sc 使用

sc config RpcSs start= auto 注意等号后面后空格

sc create命令行添加/创建/修改服务
添加服务:
sc create BITS binpath= "C:\WINDOWS\system32\svchost.exe -k netsvcs" type= share start= auto displayname= "Background Intelligent Transfer Service" depend= RpcSs/EventSystem

posted @ 2009-03-03 11:35  dzqabc  阅读(277)  评论(0编辑  收藏  举报