- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
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
您可能关注的文档
- fdisk分区挂载(国外英语资料).doc
- EPSON 打印机改装供墨禁止提醒应用非原装墨盒(国外英语资料).doc
- festo德国气缸(国外英语资料).doc
- fft2(国外英语资料).doc
- flash as3 电子书(模拟翻书页(国外英语资料).doc
- Flomerics MicroStripes 最新版三维电磁仿真软件(国外英语资料).doc
- fgf(国外英语资料).doc
- F2L提速典籍——瞻前顾后(国外英语资料).doc
- fluent各个边界条件(国外英语资料).doc
- Foxmail使用及修复技巧大全(国外英语资料).doc
- 答案基础知识水平技能模块纸中博f6uk dec.pdf
- 成果william h mcraven知识点结文WilliamH Mcraven.pdf
- 此内容已从iopscience向下滚动以查看全文tmrice epl 011.pdf
- diet节菜肴人会相信健康ufc holiday dishes04 Ufcdolce饮食假.pdf
- crs全球征税背景下大陆高净值人士财产隐身与税务筹划攻略土豪必读.pdf
- 浙江联合利华俱乐部大三二面大二.pdf
- 冬季假期阅读级单词计数访问各级别级本书.pdf
- 在洪水力系数上开口端短长度挤压电影阻尼器从理论到练习后背gt2017-63152.pdf
- 该由印刷页面空白页一个报告组成.pdf
- sigma-a4978共aldrich安全数据表.pdf
文档评论(0)