Home > General > Sc.exe

Sc.exe

Top of page Syntax sc [ServerName] queryex [type= {driver|service|all}] [type= {own|share|interact|kernel|filesys|rec|adapt}] [state= {active|inactive|all}] [bufsize= BufferSize] [ri= ResumeIndex] [group= GroupName] Top of page Parameters ServerName   : Specifies the name of the remote server on which the service is located. Microsoft Customer Support Microsoft Community Forums United States (English) Sign in Home Library Wiki Learn Gallery Downloads Support Forums Blogs We’re sorry. Syntax sc [ServerName] boot [{bad|OK}] Top of page Parameters ServerName   : Specifies the name of the remote server on which the service is located. The content you requested has been removed.

how to open URL Field link in new window SharePoint 2013 How are beats formed when frequencies combine? Should you experience an actual problem, try to recall the last thing you did, or the last thing you installed before the problem appeared for the first time. demand A service that must be manually started. The default is error= normal. http://ss64.com/nt/sc.html

Value Description boot A device driver that is loaded by the boot loader. ServiceName   : Specifies the service name returned by the getkeyname operation. { paramchange | netbindadd | netbindremove | netbindenable | netbinddisable | UserDefinedControlB } : Specifies a control to send type= { own | share | kernel | filesys | rec | adapt | interact   type= { own | share }}   : Specifies the service type.

The .exe extension on a filename indicates an executable file. the SC config command allows the executable of a service to be changed. Very good in case the end user is not an expert –user193655 Jan 29 '14 at 12:54 8 Also if you need to pass extra parameters in the binPath that For more information about how to run a batch or VBS file upon failure, see Remarks.

This parameter must be used in conjunction with the reset= parameter. There is no information about the author of the file. critical The error is logged (if possible). https://support.microsoft.com/en-us/kb/251192 up vote 4 down vote favorite 2 I am using sc.exe command to install C# windows service.

The file size is 37,376bytes. The program uses ports to connect to or from a LAN or the Internet. all Specifies that both drivers and services are enumerated. bufsize=   BufferSize   : Specifies the size (in bytes) of the enumeration buffer.

To run SC.exe locally, ignore this parameter. http://ss64.com/nt/sc.html type= { own | share | interact | kernel | filesys | rec | adapt }   : Specifies the type of services or type of drivers to enumerate. more hot questions question feed lang-cs about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation This is the default.

You can get the KeyName by running: SC GetKeyName commands: query [qryOpt] Show status queryEx [qryOpt] Show extended info - pid, flags GetDisplayName Show the DisplayName GetKeyName Show the ServiceKeyName To run SC.exe locally, ignore this parameter. bufsize=   BufferSize   : Specifies the size (in bytes) of the enumeration buffer. Idiomatic Expression that basically says "What's bad for you is good for me" Transparent NoData through WMS in leaflet Shortest code to produce non-deterministic output GLM in R dummy variables, do

The application has no file description. Top of page Syntax sc [ServerName] continue [ServiceName] Top of page Parameters ServerName   : Specifies the name of the remote server on which the service is located. I have a problem with Panda continuously flagging the file on my screen. interact The service can interact with the desktop, receiving input from users.

Top of page Remarks Use the pause operation to pause a service before shutting it down. Administrators can use SC to determine the binary name of any service and find out if it shares a process with other services by typing the following at the command line: Recommended: Identify sc.exe related errors If sc.exe is located in a subfolder of "C:\Program Files", the security rating is 69% dangerous.

severe The error is logged (if possible).

Additional referencesCommand-Line Syntax Key Show: Inherited Protected Print Export (0) Print Export (0) Share IN THIS ARTICLE Is this page helpful? Top of page Examples The following examples show how you can use the sc getkeyname command: sc getkeyname "remote procedure call (rpc)" sc getkeyname "internet connection sharing" sc getkeyname clipbook sc Not the answer you're looking for? Did the page load quickly?

The default is 1024 bytes. /? : Displays help at the command prompt. To run SC.exe locally, ignore this parameter. The name must use the UNC format ("\\myserver"). filesys File system driver.

filesys File system driver. Your answers came after Donal's .. –sivaL Apr 17 '15 at 15:16 add a comment| up vote 1 down vote sc.exe "TestService1" description "This is my service description" share|improve this answer The name must use the UNC format ("\\myserver"). Therefore, you should check the sc.exe process on your PC to see if it is a threat.

The queryex operation displays the following information about a service: SERVICE_NAME (service's registry subkey name), TYPE, STATE (as well as states that are not available), WIN32_EXIT_B, SERVICE_EXIT_B, CHECKPOINT, WAIT_HINT, PID, and You’ll be auto redirected in 1 second. sc config binPath= "\"c:\path with spaces in it\service_executable.exe\" " In other words, use \ to escape any "'s you want to survive the transit into the registry. disabled A service that cannot be started.

Value Description driver Specifies that only drivers are enumerated. ServiceName   : Specifies the service name returned by the getkeyname operation. Syntax SC [\\server] [command] [service_name] [Options] Key server : The machine where the service is running service_name : The KeyName of the service, this is often but not always the same