- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SC服务命令详解(国外英语资料)
SC服务命令详解(国外英语资料)
SC service commands detailed
The basic format of 1.SC:
SC, server, [command], [service, name], option1, option2
This is his basic format. When managing remote hosts, simply add the \\IP address to the SC
SC \\ query eventlog
2. look at the running state of a service
SC query service name
C:\toolssc query eventlog
SERVICE_NAME: eventlog / / display the name of the service
TYPE: 20, WIN32_SHARE_PROCESS
STATE: 4 RUNNING / / running state
(NOT_STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN) / / here
WIN32_EXIT_CODE: 0 (0x0)
SERVICE_EXIT_CODE: 0 (0x0)
CHECKPOINT: 0x0
WAIT_HINT: 0x0
The running state is: stopped (stop), /running (running), /start_pending (waiting to start) and so on
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
The information display control command of this service can be accepted, this is not / / stop / / / / accept shutdown cannot be suspended
3. look at the configuration information for a service
SC QC service name
C:\toolssc QC eventlog
[SC] GetServiceConfig SUCCESS
SERVICE_NAME: eventlog
TYPE: 20, WIN32_SHARE_PROCESS
START_TYPE: 2 AUTO_START / / start the class
ERROR_CONTROL: 1, NORMAL
BINARY_PATH_NAME: C:\WINNT\system32\services.exe / boot file path
LOAD_ORDER_GROUP: Event log
TAG: 0
DISPLAY_NAME: Event Log
DEPENDENCIES:
SERVICE_START_NAME: LocalSystem
The startup categories include auto_start (auto), DEMAND_START (manual), DISABLED (Prohibition)
4. start a service
SC start service name
5. pause a service
SC pause service name
6. continue a service
SC continue service name
7. stop a service
SC stop service name
8. prohibit a service
The SC service name is config start= disabled
9. will a service be available? For automatic operation
The SC service name is config start= Auto
10. set a service to manual operation
The SC service name is config start= demand
11. create a service
SC create service name, parameter 1, parameter 2...
Here is the list of parameters
Type= own|share|interact|kernel|filesys|rec|error
Start= boot|system|auto|deman
您可能关注的文档
最近下载
- 2023年合肥工业大学信息管理与信息系统专业《计算机网络基础》科目期末试卷A(有答案).docx VIP
- Unit+4+Looking+good,+feeling+good+Integrated+skills 牛津译林版英语必修第一册+.pptx VIP
- 中职世界历史 第2课 古代希腊罗马教学设计.doc
- 孤独症及其治疗.ppt
- 职业暴露处理流程图.doc
- 新人教版八年级九年级单词表完整版本(含音标).doc
- 团结互助我爱我班主题班会PPT课件.pptx VIP
- 自考07816《公共行政学》章节重点内容.doc
- Unit+4+Looking+good,+feeling+good+Integrated+skills高中英语牛津译林版(2020)必修第一册+.pptx VIP
- 泰安2018年度中小学幼儿园课堂教学创新课创新教育活动.PDF
文档评论(0)