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.

OpenSCManager failed

Discussion in 'Legacy Windows' started by bigfatsumoguy, 2002/03/17.

Thread Status:
Not open for further replies.
  1. 2002/03/17
    bigfatsumoguy

    bigfatsumoguy Inactive Thread Starter

    Joined:
    2002/02/09
    Messages:
    22
    Likes Received:
    0
    I installed an http server application logged in with Administrator rights. I changed the user rights to Power User and the source .exe works ok (sort of...it doesn't minimize or disappear anymore) but the shortcuts do not work at all. They give me an "OpenSCManager failed" error in the console window. Any suggestions on where to go and what to do to allow this appliation to work under Power User? Thanks!!

    btw, the shortcut commands that do not work are:
    "F:\Program Files\Blah\Blah.exe" -w -n "Blah" -k start


    ((bfsg))
     
    Last edited: 2002/03/17
  2. 2002/03/17
    Bursley

    Bursley Well-Known Member Alumni

    Joined:
    2001/12/29
    Messages:
    462
    Likes Received:
    2
    What does this application do? Most application should be able to run as a normal power user, but if this application requires certain permissions allow by an administrator, there may be nothing you can do.
    :)
     

  3. to hide this advert.

  4. 2002/03/17
    unixfan

    unixfan Inactive

    Joined:
    2002/01/26
    Messages:
    282
    Likes Received:
    0
    It looks like Apache. If you have installed the service, does "net start apache" work?
     
  5. 2002/03/17
    bigfatsumoguy

    bigfatsumoguy Inactive Thread Starter

    Joined:
    2002/02/09
    Messages:
    22
    Likes Received:
    0
    Good guess ;) It is apache, and it works both through the administrative tools-->services menu and when I type in net start apache. It just stopped working when I reference it through shortcuts. I'm not familiar enough with permissions on Win2k to understand what needs to be done. Any ideas?
    thanks-->
     
  6. 2002/03/17
    bigfatsumoguy

    bigfatsumoguy Inactive Thread Starter

    Joined:
    2002/02/09
    Messages:
    22
    Likes Received:
    0
    oh but there's more!!
    I just realized that when I use administrative tools-->services OR "net start apache ", it opens up two instances of apache rather than just one. Any clues?
     
    Last edited: 2002/03/17
  7. 2002/03/18
    unixfan

    unixfan Inactive

    Joined:
    2002/01/26
    Messages:
    282
    Likes Received:
    0
    I think 2 processes is normal for the Windows version. The parent process will create a new child if the child terminates unexpectedly.

    I would guess that the console command(s) are trying to access specific registry keys but rather than modifying the system, use Win2k's runas command (or check the "Run as different user" box in the shortcut properties). If you want to give an ordinary user rights to start/stop a service use SCAcl or create a new security template (using the mmc).
     
    Last edited: 2002/03/19
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.