type=<own|share|interact|kernel|filesys|rec|userown|usershare>(默认=own)start=<boot|system|auto|demand|disabled|delayed-auto>(默认=demand)error=<normal|severe|critical|ignore>(默认=normal)binPath=<.exe 文件的 BinaryPathName>group=<LoadOrderGroup>tag=<yes|no>depend=<依存关系(以/(斜杠)分隔)>o...
Move-SCVMHostGroup New-CloudService New-CloudVMRoleSizeProfile New-SCApplicationProfile New-SCBaseline New-SCCapabilityProfile New-SCCloud New-SCCodeIntegrityPolicy New-SCCustomProperty New-SCDCBSettings New-SCDefaultGateway New-SCExternalJob New-SCGatewayRoleConfiguration New-SCGuestOSProfile New-SCHar...
BINARY_PATH_NAME : C:\WINNT\system32\services.exe //启动文件路径 LOAD_ORDER_GROUP : Event log TAG : 0 DISPLAY_NAME : Event Log DEPENDENCIES : SERVICE_START_NAME : LocalSystem 启动类别包括auto_start(自动)DEMAND_START(手动)DISABLED(禁止) 4.启动一个服务 sc start 服务名 5.暂停一个服务 sc ...
服务二进制文件的路径名,这里没有默认值,这个字符串是必须设置的。 group=---(string) 这个服务属于的组,这个组的列表保存在注册表中的ServiceGroupOrder下。默认是nothing。 tag=---(string) 如果这个字符串被设置为yes,sc可以从CreateService call中得到一个tagId。然而,SC并不显示这个标签,所以使用这个没有多...
group= <loadordergroup>指定此服务所属的群组的名称。 群组列表存储在注册表中的 HKLM\System\CurrentControlSet\Control\ServiceGroupOrder 子项中。 默认值为 null。 tag= {yes | no}指定是否从 CreateService 调用获取 TagID。 标记仅用于引导-启动和系统-启动驱动程序。
group= <loadordergroup>指定此服务所属的群组的名称。 群组列表存储在注册表中的 HKLM\System\CurrentControlSet\Control\ServiceGroupOrder 子项中。 默认值为 null。 tag= {yes | no}指定是否从 CreateService 调用获取 TagID。 标记仅用于引导-启动和系统-启动驱动程序。
The qc operation displays the following information about a service: SERVICE_NAME (service's registry subkey name), TYPE, ERROR_CONTROL, BINARY_PATH_NAME, LOAD_ORDER_GROUP, TAG, DISPLAY_NAME, DEPENDENCIES, and SERVICE_START_NAME. Administrators can use SC to determine the binary name of any ...
type= <own|share|interact|kernel|filesys|rec|userown|usershare>(默认 = own)start= <boot|system|auto|demand|disabled|delayed-auto>(默认 = demand)error= <normal|severe|critical|ignore>(默认 = normal)binPath= <.exe 文件的 BinaryPathName>group= <LoadOrderGroup>tag= <yes|no>depend= <依存关系...
group=---(string) 这个服务属于的组,这个组的列表保存在注册表中的ServiceGroupOrder下。默认是nothing。 tag=---(string) 如果这个字符串被设置为yes,sc可以从CreateService call中得到一个tagId。然而,SC并不显示这个标签,所 以使用这个没有多少意义。默认是nothing depend=---(space separated string)有空格...
语法 Sc[ServerName]create[ServiceName][type={own|share|kernel|filesys|rec|adapt|interacttype={own|share}}][start={boot|system|auto|demand|disabled}][error={normal|severe|critical|ignore}][binpath=BinaryPathName][group=LoadOrderGroup][tag={yes|no}][depend=dependencies][obj={AccountName|Obje...