sc.exe

Associated Error Codes

Below lists error codes and symbolic names found for this module.

CodeFound inDescription
0x11011DESCRIPTION: SC is a command line program used for communicating with the Service Control Manager and services. USAGE: sc [command] [service name] ... The option 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 (persistent). description-----Changes the description of a service. failure---------Changes the actions taken by a service upon failure. failureflag-----Changes the failure actions flag of a service. sidtype---------Changes the service SID type of a service. privs-----------Changes the required privileges of a service. managedaccount--Changes the service to mark the service account password as managed by LSA. 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. qfailureflag----Queries the failure actions flag of a service. qsidtype--------Queries the service SID type of a service. qprivs----------Queries the required privileges of a service. qtriggerinfo----Queries the trigger parameters of a service. qpreferrednode--Queries the preferred NUMA node of a service. qmanagedaccount-Queries whether a services uses an account with a password managed by LSA. qprotection-----Queries the process protection level of a service. quserservice----Queries for a local instance of a user service template. 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 arbitrary name. triggerinfo-----Configures the trigger parameters of a service. preferrednode---Sets the preferred NUMA node of a service. 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
0x21011QUERY 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, userservice, all) (default = service) state= State of services to enumerate (inactive, all) (default = active) bufsize= The size (in bytes) of the enumeration buffer (default = %1) 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 eventlog - Displays status for the eventlog service sc queryex eventlog - Displays extended status for the eventlog 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= interact - Enumerates all interactive services sc query type= driver group= NDIS - Enumerates all NDIS drivers
0x31011DESCRIPTION: Modifies a service entry in the registry and Service Database. USAGE: sc config [service name] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. To remove the dependency, use a single / as dependency value. type= start= error= binPath= group= tag= depend= obj= DisplayName= password=
0x41011DESCRIPTION: Creates a service entry in the registry and Service Database. USAGE: sc create [service name] [binPath= ] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= (default = own) start= (default = demand) error= (default = normal) binPath= group= tag= depend= obj= (default = LocalSystem) DisplayName= password=
0x578.11011DESCRIPTION: Changes the actions upon failure USAGE: sc failure [service name] ... OPTIONS: reset= (Must be used in conjunction with actions= ) reboot= command= actions= > (Must be used in conjunction with the reset= option)
0x678.11011DESCRIPTION: Starts a service running. USAGE: sc start [service name] ...
0x778.11011DESCRIPTION: Sends a PAUSE control request to a service. USAGE: sc pause [service name]
0x878.11011DESCRIPTION: Sends an INTERROGATE control request to a service. USAGE: sc interrogate [service name]
0x978.11011DESCRIPTION: Sends a CONTROL code to a service. USAGE: sc control [service name] = user-defined control code = See also sc stop, sc pause, etc.
0xa78.11011DESCRIPTION: Sends a CONTINUE control request to a service. USAGE: sc continue [service name]
0xb78.11011DESCRIPTION: Sends a STOP control request to a service. USAGE: sc stop [service name] = Optional reason code number for service stop formed with the following elements in the format: Flag:Major reason:Minor reason [E.g., 1:2:8 means Hardware: Disk (Unplanned)] Flag Major reason ------------------ --------------------------- 1 - Unplanned 1 - Other 2 - Custom 2 - Hardware 4 - Planned 3 - Operating System 4 - Software 5 - Application 64-255 - Custom Minor reason ----------------------------------- 1 - Other 2 - Maintenance 3 - Installation 4 - Upgrade 5 - Reconfiguration 6 - Hung 7 - Unstable 8 - Disk 9 - Network Card 10 - Environment 11 - Hardware Driver 12 - Other Driver 13 - Service Pack 14 - Software Update 15 - Security Fix 16 - Security 17 - Network Connectivity 18 - WMI 19 - Service Pack Uninstall 20 - Software Update Uninstall 22 - Security Fix Uninstall 23 - MMC 256-65535 - Custom = Optional comment for the reason above (127 characters maximum)
0xc78.11011DESCRIPTION: Sets the description string for a service. USAGE: sc description [service name] [description]
0xd78.11011DESCRIPTION: Queries the configuration information for a service. USAGE: sc qc [service name]
0xe78.11011DESCRIPTION: Retrieves the description string of a service. USAGE: sc qdescription [service name]
0xf78.11011DESCRIPTION: Retrieves the actions performed on service failure. USAGE: sc qfailure [service name]
0x1078.11011DESCRIPTION: Queries the Lock Status for a SC Manager Database. USAGE: sc querylock
0x1178.11011DESCRIPTION: Deletes a service entry from the registry. If the service is running, or another process has an open handle to the service, the service is simply marked for deletion. USAGE: sc delete [service name]
0x1278.11011DESCRIPTION: Indicates whether the last boot should be saved as the last-known-good boot configuration on the local machine. If specified, the server name is ignored. USAGE: sc boot
0x1378.11011DESCRIPTION: Gets the display name associated with a particular service USAGE: sc GetDisplayName
0x1478.11011DESCRIPTION: Gets the key name associated with a particular service, using the display name as input USAGE: sc GetKeyName
0x1578.11011DESCRIPTION: Enumerates the Services that are dependent on this one USAGE: sc EnumDepend
0x1678.11011DESCRIPTION: Displays a service's security descriptor in SDDL format USAGE: sc sdshow
0x1778.11011DESCRIPTION: Sets a service's security descriptor USAGE: sc sdset
0x2378.11011SERVICE_NAME: %1 DESCRIPTION: %2
0x2478.11011Name = %1
0x2578.11011%1
0x2678.11011IsLocked : TRUE
0x2778.11011IsLocked : FALSE
0x2878.11011LockOwner : %1 LockDuration : %2 (seconds since acquired)
0x2978.11011[SC] Tag = %1
0x2a78.11011[SC] %1: entriesread = %2
0x2b78.11011
0x2d78.11011Active database is locked. To unlock via API, press u:
0x2e78.11011[SC] Will be unlocking database by exiting
0x2f78.11011SERVICE_NAME: %1 %2 TYPE : %3 %4 %5 STATE : %6 %7 (%8, %9, %10) WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16
0x3078.11011SERVICE_NAME: %1 DISPLAY_NAME: %2 TYPE : %3 %4 %5 STATE : %6 %7 (%8, %9, %10) WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16
0x3178.11011SERVICE_NAME: %1 %2 TYPE : %3 %4 %5 STATE : %6 %7 (%8, %9, %10) WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16 PID : %17 FLAGS : %18
0x3278.11011SERVICE_NAME: %1 DISPLAY_NAME: %2 TYPE : %3 %4 %5 STATE : %6 %7 (%8, %9, %10) WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16 PID : %17 FLAGS : %18
0x3378.11011SERVICE_NAME: %1 RESET_PERIOD (in seconds) : %2 REBOOT_MESSAGE : %3 COMMAND_LINE : %4
0x3478.11011FAILURE_ACTIONS : RESTART -- Delay = %1 milliseconds.
0x3578.11011RESTART -- Delay = %1 milliseconds.
0x3678.11011FAILURE_ACTIONS : REBOOT -- Delay = %1 milliseconds.
0x3778.11011REBOOT -- Delay = %1 milliseconds.
0x3878.11011FAILURE_ACTIONS : RUN PROCESS -- Delay = %1 milliseconds.
0x3978.11011RUN PROCESS -- Delay = %1 milliseconds.
0x3a78.11011SERVICE_NAME: %1 TYPE : %2 %3 %4 START_TYPE : %5 %6 ERROR_CONTROL : %7 %8 BINARY_PATH_NAME : %9 LOAD_ORDER_GROUP : %10 TAG : %11 DISPLAY_NAME : %12 DEPENDENCIES : %13
0x3b78.11011: %1
0x3c78.11011SERVICE_START_NAME : %1
0x6478.11011[SC] %1 SUCCESS
0x6578.11011[SC] %1 FAILED %2: %3
0x6678.11011[SC] %1 needs %2 bytes
0x6778.11011[SC] %1: more data, need %2 bytes start resume at index %3
0x6878.11011[SC] %1: more data, need %2 bytes
0x6978.11011ERROR: Invalid %1 field
0x6a78.11011ERROR: Invalid Option
0x6b78.11011ERROR: Cannot specify a service name when enumerating a group
0x6c78.11011ERROR: A service name is required
0x6d78.11011ERROR: Unrecognized command
0x6e78.11011ERROR: The reset and actions options must be set simultaneously
0x6f78.11011u
0x7178.11011DESCRIPTION: Changes the failure actions flag setting of a service. If this setting is 0 (default), the Service Control Manager (SCM) enables configured failure actions on the service only if the service process terminates with the service in a state other than SERVICE_STOPPED. If this setting is 1, the SCM enables configured failure actions on the service if the service enters the SERVICE_STOPPED state with a Win32 exit code other than 0 in addition to the service process termination as above. This setting is ignored if the service does not have any failure actions configured. USAGE: sc failureflag [service name] [flag]
0x7278.11011DESCRIPTION: Retrieves the failure actions flag setting of a service. If this setting is 0 (default), the Service Control Manager (SCM) enables configured failure actions on the service only if the service process terminates with the service in a state other than SERVICE_STOPPED. If this setting is 1, the SCM enables configured failure actions on the service if the service enters the SERVICE_STOPPED state with a Win32 exit code other than 0 in addition to the service process termination as above. This setting is ignored if the service does not have any failure actions configured. USAGE: sc qfailureflag [service name]
0x7378.11011SERVICE_NAME: %1 FAILURE_ACTIONS_ON_NONCRASH_FAILURES: TRUE
0x7478.11011SERVICE_NAME: %1 FAILURE_ACTIONS_ON_NONCRASH_FAILURES: FALSE
0x7578.11011DESCRIPTION: Changes the service security identifier (SID) type setting of a service. If this setting is "unrestricted", the Service Control Manager (SCM) will add this service's SID to the service process token when the service process starts the next time due to the first service in the process being started. This setting is valid only for Win32 user mode services. If this setting is "restricted", the Service Control Manager (SCM) will add this service's SID to the service process token when the service process starts the next time due to the first service in the process being started. In addition, this service's SID will also be added to the restricting SID list in the process token. The process token will be a restricted token. See MSDN for details on restricted token. This setting is valid only for Win32 user mode services. In addition, for a share process service, all services cohosted in the process must have this SID type set for this to take effect. If this setting is "none", the SCM will not add the service's SID to the service process token. USAGE: sc sidtype [service name] [type] OPTIONS: type =
0x7678.11011DESCRIPTION: Queries the service security identifier (SID) type setting of a service. If this setting is "unrestricted", the Service Control Manager (SCM) will add this service's SID to the service process token when the service process starts the next time due to the first service in the process being started. This setting is valid only for Win32 user mode services. If this setting is "restricted", the Service Control Manager (SCM) will add this service's SID to the service process token when the service process starts the next time due to the first service in the process being started. In addition, this service's SID will also be added to the restricting SID list in the process token. The process token will be a restricted token. See MSDN for details on restricted token. This setting is valid only for Win32 user mode services. In addition, for a share process service, all services cohosted in the process must have this SID type set for this to take effect. If this setting is "none", the SCM will not add the service's SID to the service process token. USAGE: sc qsidtype [service name]
0x7778.11011SERVICE_NAME: %1 SERVICE_SID_TYPE: UNRESTRICTED
0x7878.11011SERVICE_NAME: %1 SERVICE_SID_TYPE: NONE
0x7978.11011SERVICE_NAME: %1 PRIVILEGES : %2
0x7a78.11011: %1
0x7b78.11011DESCRIPTION: Queries the required privileges setting for a service. The privilege settings take effect when the service process starts due to the first service in the process being started. At that time, the Service Control Manager (SCM) computes the union of all privileges required by all services that will be hosted in the same process and then creates the process with those privileges. An absence of this setting is taken to imply that the service requires all the privileges that the security subsystem allows for a process running in the service's configured account. USAGE: sc qprivs [service name]
0x7c78.11011DESCRIPTION: Changes the required privileges setting of a service. The privilege settings take effect when the service process starts due to the first service in the process being started. At that time, the Service Control Manager (SCM) computes the union of all privileges required by all services that will be hosted in the same process and then creates the process with those privileges. An absence of this setting is taken to imply that the service requires all the privileges that the security subsystem allows for the process running in the service's configured account. USAGE: sc privs [service name] [privileges] OPTIONS: privileges = [E.g., SeBackupPrivilege/SeRestorePrivilege]
0x7d78.11011SERVICE_NAME: %1 SERVICE_SID_TYPE: RESTRICTED
0x7e78.11011SDDL right Right value ---------- ----------- GA - GENERIC_ALL GR - GENERIC_READ GW - GENERIC_WRITE GX - GENERIC_EXECUTE RC - READ_CONTROL SD - DELETE WD - WRITE_DAC WO - WRITE_OWNER RP - SERVICE_START WP - SERVICE_STOP CC - SERVICE_QUERY_CONFIG DC - SERVICE_CHANGE_CONFIG LC - SERVICE_QUERY_STATUS SW - SERVICE_ENUMERATE_DEPENDENTS LO - SERVICE_INTERROGATE DT - SERVICE_PAUSE_CONTINUE CR - SERVICE_USER_DEFINED_CONTROL
0x7f78.11011SDDL right Right value ---------- ----------- GA - GENERIC_ALL KA - GENERIC_ALL GR - GENERIC_READ GW - GENERIC_WRITE GX - GENERIC_EXECUTE RC - READ_CONTROL SD - DELETE WD - WRITE_DAC WO - WRITE_OWNER RP - SC_MANAGER_QUERY_LOCK_STATUS WP - SC_MANAGER_MODIFY_BOOT_CONFIG CC - SC_MANAGER_CONNECT DC - SC_MANAGER_CREATE_SERVICE LC - SC_MANAGER_ENUMERATE_SERVICE SW - SC_MANAGER_LOCK
0x8078.11011SERVICE_NAME: %1 %2 TYPE : %3 %4 %5 STATE : %6 %7 WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16
0x8178.11011SERVICE_NAME: %1 DISPLAY_NAME: %2 TYPE : %3 %4 %5 STATE : %6 %7 WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16
0x8278.11011SERVICE_NAME: %1 %2 TYPE : %3 %4 %5 STATE : %6 %7 WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16 PID : %17 FLAGS : %18
0x8378.11011SERVICE_NAME: %1 DISPLAY_NAME: %2 TYPE : %3 %4 %5 STATE : %6 %7 WIN32_EXIT_CODE : %11 (0x%12) SERVICE_EXIT_CODE : %13 (0x%14) CHECKPOINT : 0x%15 WAIT_HINT : 0x%16 PID : %17 FLAGS : %18
0x8478.11011WARNING: The service %1 is configured as interactive whose support is being deprecated. The service may not function properly.
0x858.11011NAME: %1 SERVICE SID: %2 STATUS: Active
0x8678.11011DESCRIPTION: Displays the service SID string corresponding to an arbitrary name. The name can be that of an existing or non-existent service. USAGE: sc showsid [name]
0x8778.11011[SC] %1 FAILED with error %2.
0x888.11011DESCRIPTION: Changes the trigger parameters of a service. USAGE: sc triggerinfo [service name] ... OPTIONS: start/device/UUID/HwId1/... start/custom/UUID/data0/.. stop/custom/UUID/data0/... start/strcustom/UUID/data0/.. stop/strcustom/UUID/data0/.. start/lvlcustom/UUID/data0/.. stop/lvlcustom/UUID/data0/.. start/kwanycustom/UUID/data0/.. stop/kwanycustom/UUID/data0/.. start/kwallcustom/UUID/data0/.. stop/kwallcustom/UUID/data0/.. start/networkon stop/networkoff start/domainjoin stop/domainleave start/portopen/parameter stop/portclose/parameter start/machinepolicy start/userpolicy start/rpcinterface/UUID start/namedpipe/pipename delete
0x8978.11011SERVICE_NAME: %1
0x8a78.11011DEVICE INTERFACE ARRIVAL : %1 [INTERFACE CLASS GUID]
0x8b78.11011CUSTOM : %1 [ETW PROVIDER UUID]
0x8c78.11011IP ADDRESS AVAILABILITY : %1 [NO IP ADDRESS AVAILABLE]
0x8d78.11011HUMAN INTERFACE DEVICE : %1 [INTERFACE CLASS GUID]
0x8e78.11011DESCRIPTION: Retrieves the trigger information of a service. USAGE: sc qtriggerinfo [service name]
0x8f78.11011DATA : %1
0x9078.11011The service %1 has not registered for any start or stop triggers.
0x9178.11011START SERVICE
0x9278.11011STOP SERVICE
0x9378.11011IP ADDRESS AVAILABILITY : %1 [FIRST IP ADDRESS AVAILABLE]
0x9478.11011DOMAIN JOINED STATUS : %1 [DOMAIN JOINED]
0x9578.11011DOMAIN JOINED STATUS : %1 [NOT DOMAIN JOINED]
0x9678.11011DESCRIPTION: Changes the preferred NUMA node for a Win32 service. This setting is valid only for own process services. To delete an existing setting, set the node number as -1. If an invalid preferred node number is supplied, then the change request will fail. USAGE: sc preferrednode [service name] [node number]
0x9778.11011DESCRIPTION: Queries the preferred NUMA node for a Win32 service. This setting is valid only for own process services. If the service has no preferred node setting, then the query will fail. USAGE: sc qpreferrednode [service name]
0x9878.11011PREFERRED NODE : %1
0x9978.11011[NOTE: Since the service start type is disabled, the triggers are inactive.]
0x9a78.11011FIREWALL PORT EVENT : %1 [PORT OPEN]
0x9b78.11011FIREWALL PORT EVENT : %1 [PORT CLOSE]
0x9c78.11011GROUP POLICY : %1 [MACHINE POLICY PRESENT]
0x9d78.11011GROUP POLICY : %1 [USER POLICY PRESENT]
0x9e8.11011NAME: %1 SERVICE SID: %2 STATUS: Inactive
0xa28.11011NETWORK EVENT : %1 [RPC INTERFACE EVENT]
0xa38.11011NETWORK EVENT : %1 [NAMED PIPE EVENT]
0xa68.11011CUSTOM SYSTEM STATE CHANGE EVENT : %1
0xa78.11011This error may occur if another service is already using a Named Pipe or RPC trigger for the same endpoint or interface as the given service.
0xa88.11011DESCRIPTION: Changes whether the account in which the service runs uses a managed password. If this setting is "true", the Service Control Manager (SCM) will request the account password from NetLogon when starting the service. If this setting is "false", the SCM will use the configured account password. USAGE: sc managedaccount [service name] [type] OPTIONS: type =
0xa98.11011ACCOUNT MANAGED : %1
0xaa8.11011DESCRIPTION: Queries whether the account configured for this service has a managed account password. USAGE: sc qmanagedaccount [service name]
0xab8.11011ERROR: Invalid trigger data value
0xac8.11011DESCRIPTION: Queries whether the service is marked to start in a protected process. Note that this setting cannot be changed. USAGE: sc qprotection [service name]
0xad8.11011SERVICE %1 PROTECTION LEVEL: NONE.
0xae8.11011SERVICE %1 PROTECTION LEVEL: WINDOWS.
0xaf8.11011SERVICE %1 PROTECTION LEVEL: WINDOWS LIGHT.
0xb08.11011SERVICE %1 PROTECTION LEVEL: ANTIMALWARE LIGHT.
0xb18.11011SERVICE %1 PROTECTION LEVEL: INVALID VALUE.
0xb21011DESCRIPTION: Queries for a user service instance for the current user in the same session created from the user service template specified. USAGE: sc quserservice
0xb31011USER SERVICE TEMPLATE %1, LOCAL SERVICE INSTANCE %2.
0x17DESCRIPTION: SC is a command line program used for communicating with the Service Control Manager and services. USAGE: sc [command] [service name] ... The option 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 (persistent). description-----Changes the description of a service. failure---------Changes the actions taken by a service upon failure. failureflag-----Changes the failure actions flag of a service. sidtype---------Changes the service SID type of a service. privs-----------Changes the required privileges 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. qfailureflag----Queries the failure actions flag of a service. qsidtype--------Queries the service SID type of a service. qprivs----------Queries the required privileges of a service. qtriggerinfo----Queries the trigger parameters of a service. qpreferrednode--Queries the preferred NUMA node 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 arbitrary name. triggerinfo-----Configures the trigger parameters of a service. preferrednode---Sets the preferred NUMA node of a service. 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
0x278.1QUERY 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 = %1) 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 eventlog - Displays status for the eventlog service sc queryex eventlog - Displays extended status for the eventlog 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= interact - Enumerates all interactive services sc query type= driver group= NDIS - Enumerates all NDIS drivers
0x37DESCRIPTION: Modifies a service entry in the registry and Service Database. USAGE: sc config [service name] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= start= error= binPath= group= tag= depend= obj= DisplayName= password=
0x47DESCRIPTION: Creates a service entry in the registry and Service Database. USAGE: sc create [service name] [binPath= ] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= (default = own) start= (default = demand) error= (default = normal) binPath= group= tag= depend= obj= (default = LocalSystem) DisplayName= password=
0x7078.1y
0x857NAME: %1 SERVICE SID: %2
0x887DESCRIPTION: Changes the trigger parameters of a service. USAGE: sc triggerinfo [service name] ... OPTIONS: start/device/UUID/HwId1/... start/custom/UUID/data0/.. stop/custom/UUID/data0/... start/strcustom/UUID/data0/.. stop/strcustom/UUID/data0/.. start/networkon stop/networkoff start/domainjoin stop/domainleave start/portopen/parameter stop/portclose/parameter start/machinepolicy start/userpolicy delete
0x18.1DESCRIPTION: SC is a command line program used for communicating with the Service Control Manager and services. USAGE: sc [command] [service name] ... The option 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 (persistent). description-----Changes the description of a service. failure---------Changes the actions taken by a service upon failure. failureflag-----Changes the failure actions flag of a service. sidtype---------Changes the service SID type of a service. privs-----------Changes the required privileges of a service. managedaccount--Changes the service to mark the service account password as managed by LSA. 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. qfailureflag----Queries the failure actions flag of a service. qsidtype--------Queries the service SID type of a service. qprivs----------Queries the required privileges of a service. qtriggerinfo----Queries the trigger parameters of a service. qpreferrednode--Queries the preferred NUMA node of a service. qrunlevel-------Queries the run level of a service. qmanagedaccount-Queries whether a services uses an account with a password managed by LSA. qprotection-----Queries the process protection level 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 arbitrary name. triggerinfo-----Configures the trigger parameters of a service. preferrednode---Sets the preferred NUMA node of a service. runlevel--------Sets the run level of a service. 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
0x38.1DESCRIPTION: Modifies a service entry in the registry and Service Database. USAGE: sc config [service name] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= start= error= binPath= group= tag= depend= obj= DisplayName= password=
0x48.1DESCRIPTION: Creates a service entry in the registry and Service Database. USAGE: sc create [service name] [binPath= ] ... OPTIONS: NOTE: The option name includes the equal sign. A space is required between the equal sign and the value. type= (default = own) start= (default = demand) error= (default = normal) binPath= group= tag= depend= obj= (default = LocalSystem) DisplayName= password=
0x9f8.1DESCRIPTION: Changes the lowest run level for a service. This setting is valid only for services of start type auto start, demand start and disabled and non plug and play (PNP) driver services. A service cannot have a lower run level setting than a service it depends on. A run level of 0 can be specified to delete the run level setting. If an invalid run level is supplied, then the change request will fail or the service will fail to start. USAGE: sc runlevel [service name] [runlevel number]
0xa08.1DESCRIPTION: Queries the lowest run level for a service. This setting is valid only for services of start type auto start, demand start and disabled and non plug and play (PNP) driver services. A service that has no run level setting specified will have a value of 0. USAGE: sc qrunlevel [service name]
0xa18.1LOWEST RUNLEVEL : %1
135 entries