Wednesday, December 17, 2008

The usage of "sc" command.

Sometimes, we need to control the services which are defined in services.msc. We could use cmd to control that. For instance:

Start a service:
C:\> sc start [ServiceName]

Stop a service:
C:\> sc stop [ServiceName]

Delete a service:
C:\> sc delete [ServiceName]

For more information, we could see the help of sc command.

No comments:

Post a Comment