Follow Us on Twitter

Manage services on a Microsoft system with ‘sc’

by Ytzen Fokkema on March 30, 2010 · 0 comments

Most people don’t know Microsoft has a utility to manage your services – sc.

I give two examples that might be useful for you:

Example 1: deletion of a service, Oracle installs sometimes services you don’t want or need:

C:\>sc delete
DESCRIPTION:
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 <server> delete [service name]
C:\>sc delete Oracledb10iSQL*Plus
[SC] DeleteService SUCCESS

Example 2: adding or changing the description of a service to make it selfexplaining

C:\>sc description
DESCRIPTION:
Sets the description string for a service.
USAGE:
sc <server> description [service name] [description]
C:\>sc description OracleDBConsoleocp10g "OEM DBconsole produktie"
[SC] ChangeServiceConfig2 SUCCESS

Do you want to know more, look here

Manage services on a Microsoft system with 'sc', 5.0 out of 5 based on 1 rating
Ratings:
VN:F [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)
Tags: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Previous post:

Next post:

About Whitehorses
Company profile
Services
Technology

Whitehorses website

Home page
Whitebooks
Jobs

Follow us
Blog post RSS
Comment RSS
Twitter