[SQL9.com] iihero实验室首页 .PostgreSQL .综合技术 .随笔 .MySQL|Others .Oracle .Sybase .图书|工具

Add service dependency for a service[为Windows服务添加依赖项]

发布栏目:综合技术|发布时间:2012-06-06

These days,  I'm so out to get this worked.

I just tried a method to change the registry table:  HKLMSYSTEMCurrentControlSetServices, DependOnService, input the new name.

But this will not take effect immediately.

We should use HKLMSYSTEMCurrentSet001ServicesSybaseMessagingService as the KEY.

Another way, very effective:

sc config
Modifies a service entry in the registry and Service Database.
SYNTAX:
sc config [service name] ...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
 type=
 start=
 error=
 binPath=
 group=
 tag=
 depend=
 obj=
 DisplayName=
 password=


上一篇:Ellison,真的很让人佩服

下一篇:发布ETL工具:JmyETL1.0.2


本文评论

姓名:
内容:

avofvkvajzn说USA
快速通道
综合技术栏目
[SQL9.com] iihero实验室首页

↑Top

友情链接
taoCMS 中国精密仪器

报时:2018-01-21 14:15:45