SLCentral - Your logical choice for computing and technology
Latest Deals   
Navigation
  • Home
  • Search
  • Forums
  • Hardware
  • Games
  • Tech News
  • Deals
  • Prices
  • A Guru's World
  • CPU/Memory Watch
  • Site Info
  • SL Newsletter
    Recieve bi-weekly updates on news, new articles, and more


    Forum home My SLBoards (Control Panel)View the calendar View the members list Read the FAQ Search the forums

    Go Back   SLCentral Forum > Technology > Software / Operating Systems
    User Name
    Password


    Reply
     
    Thread Tools Search this Thread Display Modes
      #1  
    Old 02-20-02, 06:55 PM
    Vendetta's Avatar
    Vendetta Vendetta is offline
    Registered User
     
    Join Date: Feb 2002
    Location: KC, KS
    Posts: 3
    Vendetta is off the scale
    Send a message via ICQ to Vendetta
    Question Windows 2000 Services

    i've gotta problem setting up a new custom service in windows 2000 server.

    i'm attempting to get a hlds (half-life) server to run as a service so that it doesn't take up desktop / taskbar space and would be somewhat fault tolerant (restarts itself). i'm trying to setup the thing to take a set of paramters and start as a non privelaged user but when i try to put that information into the mmc service manager it tells me file not found. i know its refering to some registry key but i'll be damned if i know what keys it wants. does anyone know where i can find a REAL good faq / readme / tutorial on how to add custom services to 2k?

    any assistance is appreciated!

    TIA

    --Vendetta
    Reply With Quote
      #2  
    Old 02-21-02, 05:25 AM
    bmhowe bmhowe is offline
    Registered User
     
    Join Date: Oct 2001
    Location: The Lone Star State
    Posts: 18
    bmhowe is off the scale
    Default

    As far as I know, you cannot just run any .exe file as a service - I tried to do this with a program that I wrote about a month ago.

    The .exe file has to have special code in it to respond to the Windows Service Control Manager. Most programs than can be installed as a service document some way sort of option like...

    program.exe installasservice

    If your a programmer, perhaps you could write a wrapper program with the SCM interface in it.
    Reply With Quote
      #3  
    Old 02-25-02, 03:29 AM
    Vendetta's Avatar
    Vendetta Vendetta is offline
    Registered User
     
    Join Date: Feb 2002
    Location: KC, KS
    Posts: 3
    Vendetta is off the scale
    Send a message via ICQ to Vendetta
    Default

    found out the trick.
    srvany.exe is a program on the resource kit that interfaces with the control manager for you.
    from there you tell it what program you want to run as a service and it'll run it for you. wonderful spiffy keen n all that except it doesn't provide for when your service program dies.
    because srvany is technically your service the OS doesn't recognized that your real service has died and doesn't restart it. so half the point of creating your own service is null and void right there d: NERF. now i'm hunting for either a better interface or else a command line option to make it detect when your service dies.
    Reply With Quote
    Reply


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    vB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump



    All times are GMT -8. The time now is 04:41 PM.

    Archive - Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Top
    Browse the various sections of the site
    Hardware
    Reviews, Articles, News, All Reviews...
    Gaming
    Reviews, Articles, News...
    Regular Sections
    A Guru's World, CPU/Memory Watch, SLDeals...
    SLBoards
    Forums, Register(Free), Todays Discussions...
    Site Info
    Search, About Us, Advertise...
    Search Engine Friendly URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc. Legal | Advertising | Site Info