Enter your email address:

 

 
 

You can use the sc.exe command to start, stop, configure, and manage various aspects of services in the same way that you can on earlier versions of Windows. On Windows Vista, however, the sc.exe command has been enhanced with new command-line switches.

-privs Sets the required privileges for a service.

-qprivs Queries for the required privileges of a service.

-sidtype Changes a service’s SID.

-qsidtype Retrieves the setting for service’s SID.

-failureflag Changes the setting of the FailureActionsOnNonCrashFailures flag.

-qfailureflag Retrieves the setting for the FailureActionsOnNonCrashFailures flag.

-showsid Displays the service SID string corresponding to an arbitrary name.

-stop This is an old setting that has been enhanced in Windows Vista to specify the stop reason.

For more information about these new command-line switches for sc.exe, type sc /? at a command prompt.

Related Articles

About Hari Maurya

Hariprasad Maurya is a Technology writer, Web Developer & Designer when not busy with his Engineering Studies. He is a Community Champ for Mumbai IT Professional user group and always eager to help his friends and peers in whatever way he can.

Follow on: Facebook | Twitter | Website

 Leave a Reply

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>

   
© 2011 Techsurface Copyright Policy | About Us | Contact Us | Site Map | Friends