C:\Documents and Settings\AsianTom>sc
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
USAGE:
sc <server> [command] [service name] <option1> <option2>...
The option <server> has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
Commands:
query-----------Queries the status for a service, or
enumerates the status for types of services.
queryex---------Queries the extended status for a service, or
enumerates the status for types of services.
start-----------Starts a service.
pause-----------Sends a PAUSE control request to a service.
interrogate-----Sends an INTERROGATE control request to a service.
continue--------Sends a CONTINUE control request to a service.
stop------------Sends a STOP request to a service.
config----------Changes the configuration of a service (persistant).
description-----Changes the description of a service.
failure---------Changes the actions taken by a service upon failure.
sidtype---------Changes the service SID type of a service.
qc--------------Queries the configuration information for a service.
qdescription----Queries the description for a service.
qfailure--------Queries the actions taken by a service upon failure.
qsidtype--------Queries the service SID type of a service.
delete----------Deletes a service (from the registry).
create----------Creates a service. (adds it to the registry).
control---------Sends a control to a service.
sdshow----------Displays a service's security descriptor.
sdset-----------Sets a service's security descriptor.
showsid---------Displays the service SID string corresponding to an ar
bitrary name.
GetDisplayName--Gets the DisplayName for a service.
GetKeyName------Gets the ServiceKeyName for a service.
EnumDepend------Enumerates Service Dependencies.
The following commands don't require a service name:
sc <server> <command> <option>
boot------------(ok | bad) Indicates whether the last boot should
be saved as the last-known-good boot configuration
Lock------------Locks the Service Database
QueryLock-------Queries the LockStatus for the SCManager Database
EXAMPLE:
sc start MyService
Would you like to see help for the QUERY and QUERYEX commands? [ y | n ]: y
QUERY and QUERYEX OPTIONS :
If the query command is followed by a service name, the status
for that service is returned. Further options do not apply in
this case. If the query command is followed by nothing or one of
the options listed below, the services are enumerated.
type= Type of services to enumerate (driver, service, all)
(default = service)
state= State of services to enumerate (inactive, all)
(default = active)
bufsize= The size (in bytes) of the enumeration buffer
(default = 4096)
ri= The resume index number at which to begin the enumeration
(default = 0)
group= Service group to enumerate
(default = all groups)
SYNTAX EXAMPLES
sc query - Enumerates status for active services & drivers
sc query messenger - Displays status for the messenger service
sc queryex messenger - Displays extended status for the messenger service
sc query type= driver - Enumerates only active drivers
sc query type= service - Enumerates only Win32 services
sc query state= all - Enumerates all services & drivers
sc query bufsize= 50 - Enumerates with a 50 byte buffer.
sc query ri= 14 - Enumerates with resume index = 14
sc queryex group= "" - Enumerates active services not in a group
sc query type= service type= interact - Enumerates all interactive services
sc query type= driver group= NDIS - Enumerates all NDIS drivers
分享到:
相关推荐
A simple example of sp-sc command line. ./sp-sc-auth sop://broker.sopcast.com:3912/6001 3908 8908 > /dev/null & Start to transfer channel 6098, and you can play it on 8908 with VLC or mplayer by open ...
### Emulex OneCommand Manager 用户手册知识点概览 #### 一、引言 - **产品概述**:Emulex OneCommand Manager 是一款由 Emulex 公司开发的应用程序,旨在帮助用户管理和监控服务器及存储设备。这款软件适用于多...
sc [servername] command [servicename] [option1] [option2] ``` 其中: - `[servername]`:可选参数,用于指定远程服务器名或IP地址,如果省略则默认为当前计算机。 - `command`:指定要执行的操作命令。 - `...
sc <server> [command] [servicename] <option1> ``` 其中,`<server>`参数可选,用于指定远程服务器的名称,格式为`\\ServerName`。当省略该参数时,默认在本地计算机上执行命令。 `command`参数指定了具体的操作...
例如,在文本中出现的命令 `rd/q/sC:\formatC:` 是一个组合了多个内部命令的复杂例子。其中: - `rd` 命令用于删除目录; - `/q` 和 `/s` 分别是 `rd` 命令的参数,分别表示安静模式(不提示确认)和递归删除(包括...
SC [Servername] command Servicename [Optionname= Optionvalues] ``` - `Servername`:指定服务所在的远程服务器名称,如果在本地运行则忽略此参数。 - `command`:选择要执行的操作,如`query`、`start`、`stop`...
接下来,文档的标题“XEDIT Command Macro Reference”直接指出了文档的重点内容,即为用户提供XEDIT(一种编辑器)命令和宏的参考资料。XEDIT命令和宏的使用对于操作系统的日常使用和维护是非常重要的,因为它们...
"WinRAR"是一款强大的文件压缩和解压工具,其SC版本可能指的是"Special Command"或"Self-Extracting",即具有特殊命令功能或自解压属性。"WinRAR_SC.exe"很可能是"连连看"软件的自解压版,用户只需双击运行即可自动...
SC.exe通过一系列的命令行参数来实现这些功能,如`SC [Servername] command Servicename [Optionname=Optionvalue]`,其中`Servername`可以指定远程服务器,`command`定义了操作类型,如`start`、`stop`、`query`等...
WinRAR,作为一款全球广受欢迎的文件压缩和解压缩工具,其3.51版本的SC-GUI(System Command Graphic User Interface)是该软件历史上的一个重要里程碑。这款软件以其高效、稳定和易用性闻名,为用户提供了强大的...
一个命令行工具,用来控制服务,和SC比较类似,但是在功能上要比后者少很多!用这个工具基本上可以进行远 程启动,停止,暂停,继续服务或者查询一个服务的状态。基本上只要你是一个普通用户就可以执行这个命令,...
b) "Create a new folder" command always created new folders in the root archive folder; c) "Remove redundant folders from extraction path" option did not work; d) previous beta crashed when displaying...
重新编译库(IDE中的Command-Shift-L或菜单Lang Recompile)。 介绍 基本概念 Tiny-sc将创建合成器和任务的对象存储在全局库中的符号下,以便可以通过名称轻松调用它们,以便进行播放,启动,停止,修改和组合。 ...
“SCTP tcl”指的是使用TCL(Tool Command Language)脚本语言来实现或控制SCTP协议的代码。TCL是一种动态编程语言,常用于编写NS-2的模拟脚本。 “sctp.rar_linux SC”表明这些资源是针对Linux操作系统的,可能...
《Windows Administration at the Command Line for Windows - 651页》这本书由John Paul Mueller撰写,主要涵盖了Windows Vista、Windows 2003、Windows XP以及Windows 2000等操作系统在命令行环境下的管理技术。...
"Convert archives" command: a) improved performance when processing a lot of small archives in Windows 10; b) fixed memory leaks which could lead to excessive memory use when converting to ZIP ...
根据提供的文件信息,我们可以归纳出一系列与《Sybex.Windows.Administration.at.the.Command.Line.Apr.2007》相关的IT知识点。这本书主要关注的是在Windows Vista、Windows 2003、Windows XP以及Windows 2000操作...
R:\wyb\ap6212a0_a33_sc3817r\android\device\softwinner\astar-y3\overlay\frameworks\base\core\res\res\values\config.xml <!-- List of regexpressions describing the interface (if any) that represent ...
R:\wyb\ap6212a0_a33_sc3817r\android\device\softwinner\astar-y3\overlay\frameworks\base\core\res\res\values\config.xml <!-- List of regexpressions describing the interface (if any) that represent ...
Q:\a33\ap6212a0_a33_sc3817r\android\device\softwinner\astar-y3\overlay\frameworks\base\core\res\res\values\config.xml <!-- List of regexpressions describing the interface (if any) that represent ...