1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Service Start Parameters

Discussion in 'Legacy Windows' started by GreeneSys, 2004/04/14.

Thread Status:
Not open for further replies.
  1. 2004/04/14
    GreeneSys

    GreeneSys Inactive Thread Starter

    Joined:
    2004/04/14
    Messages:
    1
    Likes Received:
    0
    I have a custom service that requires a start parameter to be passed at service startup. The only way I have found is to manualy enter in the Start Parameters text area of the service applet. This data does not stay entered if the service stopped, or restarted.
    I would like to "hard code" this info into the registry to prevent having to re-enter this data every time, therefore allowing the service to start automatic.
     
  2. 2004/04/14
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Newt,
    #2

  3. to hide this advert.

  4. 2004/04/14
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    What kind of service is this?
    Yopu could probably make a batch file or script that enters the wanted parameters then launches the service.
     
    Last edited: 2004/04/14
  5. 2004/04/18
    rambler

    rambler Inactive

    Joined:
    2003/03/08
    Messages:
    85
    Likes Received:
    0
    Locate the service under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and add the parameter to the end of the ImagePath entry.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.