Jump to content

Recommended Posts

Posted

Is there any way to create a file (i was thinking a batch) that would toggle my windows services? sometimes i like to have bare bones services running but sometimes i need the default xp set-up. . .

thanks in advance. . .

Posted

that doesnt allow you to start disabled services, maybe i should have worded my question different. I would like to enable & disableĀ  (ie: Automatic, Disabled, Manual)

thanks again...

Posted

use this command to enable a service:

sc config servicename start= auto

More information:

C:>sc config
Modifies a service entry in the registry and Service Database.
SYNTAX:
sc <server> config [service name] <option1> <option2>...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
 type= <own|share|interact|kernel|filesys|rec|adapt>
 start= <boot|system|auto|demand|disabled>
 error= <normal|severe|critical|ignore>
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
 DisplayName= <display name>
 password= <password>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...