网站大量收购独家精品文档,联系QQ:2885784924

SC服务命令详解(国外英文资料).doc

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SC服务命令详解(国外英文资料)

SC服务命令详解(国外英文资料) The SC service command is detailed The basic format of SC: Sc server [command] [service name] option1, option2 This is his basic format, which only needs to add \ \ IP address to the SC when managing a remote host Sc \ \ query eventlog Check the status of a service Sc query service name C: \ tools sc query eventlog SERVICE_NAME: eventlog / / display service name TYPE: 20 WIN32_SHARE_PROCESS STATE: 4 RUNNING / / RUNNING STATE (NOT_STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN) / / below WIN32_EXIT_CODE: 0 (0x0) SERVICE_EXIT_CODE: 0 (0x0) CHECKPOINT: 0 x0 WAIT_HINT: 0 x0 The status of running is: stopped/running/start_pending (waiting to start) (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN) This information displays the control command that the service can accept, which is / / cannot stop / / cannot suspend/accept the shutdown View the configuration information for a service Sc qc service name C: \ tools sc qc eventlog (SC) GetServiceConfig SUCCESS SERVICE_NAME: eventlog TYPE: 20 WIN32_SHARE_PROCESS START_TYPE: 2 AUTO_START / / boot category NORMAL ERROR_CONTROL: 1 BINARY_PATH_NAME: C: \ WINNT \ system32 \ service.exe / / start the file path LOAD_ORDER_GROUP: Event log TAG: 0 DISPLAY_NAME: the Event Log DEPENDENCIES: SERVICE_START_NAME: LocalSystem The boot category includes auto_start (automatic) DEMAND_START (manual) DISABLED (forbidden) Start a service Sc start service name Suspend a service Sc pause service name Continue a service Sc continue service name Stop a service Sc stop service name Not a service Sc service name config start = disabled A service? To run automatically The sc service name, config start = auto Set up a service to run manually Sc service name config start = demand Create a service Sc create service name parameter 1 parameter 2... The following is a list of parameters Type = own | share |, | filesys | rec Start = boot | system | auto | disabled Error = normal | severe | critical | ignore BinPath = BinaryPathName Gr

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档