DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
 
Results 1 to 4 of 4

Thread: New Command-Line Switches for Sc.exe

  1. #1
    nitinagarwal1988's Avatar
    nitinagarwal1988 is offline Microsoft MVP
    Join Date
    Jan 2009
    Location
    Pilani, India
    Posts
    1,570

    Lightbulb New Command-Line Switches for Sc.exe

    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.

    New switches for specifying required privileges for a service include:



    -privs Sets the required privileges for a service.

    -qprivs Queries for the required privileges of a service.

    New switches that support per-service SIDs include:

    -sidtype Changes a service’s SID.

    -qsidtype Retrieves the setting for service’s SID.

    New switches to enable configuration of the FailureActionsOnNonCrashFailures setting include:

    -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. This enables postmortem reliability analysis to find out reasons (by examining the event logged by the SCM with the stop reason) an administrator would stop a service.

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

  2. #2
    leofelix is offline Member
    Join Date
    Oct 2008
    Location
    Italy
    Posts
    1,668

    Default

    thanks for the useful tips

  3. #3
    tweakwindows's Avatar
    tweakwindows is offline Microsoft MVP
    Join Date
    Jul 2008
    Location
    intowindows.com
    Posts
    1,285

    Default

    Good list. Keep up the good work mate.

  4. #4
    nitinagarwal1988's Avatar
    nitinagarwal1988 is offline Microsoft MVP
    Join Date
    Jan 2009
    Location
    Pilani, India
    Posts
    1,570

    Default

    ^thanks for supporting.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22