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.

modifying service account

Discussion in 'Windows Server System' started by tiwang, 2005/04/11.

Thread Status:
Not open for further replies.
  1. 2005/04/11
    tiwang

    tiwang Inactive Thread Starter

    Joined:
    2005/01/14
    Messages:
    53
    Likes Received:
    0
    hi out there
    I just stumbled over a simple problem - or I thought so - I need to modify a service from a script so that it will be started under a given acocunt - this can easily be done from either sc.exe or directly from .wsh etc etc - but - this account which has to run this service might not have the permission to start/run a service.
    Can somebody tell me how I grant a user this permission from a script?
     
  2. 2005/04/11
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Could you explain a little more of the situation where you need to do this.

    My first thought is, "you can't" but maybe with some particulars ...
     
    Newt,
    #2

  3. to hide this advert.

  4. 2005/04/12
    tiwang

    tiwang Inactive Thread Starter

    Joined:
    2005/01/14
    Messages:
    53
    Likes Received:
    0
    Hi newt
    when we run a installation we have to install a service with a useraccount which is a normal non-priviliged user - we do want this user to be permitted to run a service - but we need to "batch" it - run this user-modification from a script. so that when we start the service it will run under this user-account. We we normally use the MMC for modifying a service the user is automatically granted this privilige but this is not the case when we install the service with f.ex. sc or modify the setup from wsh - any suggestions?

    regards /ti
     
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.