Schedule Plus as a windows service

Discussion in 'C-Touch/HomeGate/SchedulePlus/PICED Software' started by Matty, May 28, 2010.

  1. Matty

    Matty

    Joined:
    Oct 15, 2004
    Messages:
    131
    Likes Received:
    0
    There are a few good reasons for running Schedule plus as a service in windows. The main reason is that Schedule plus can run with predefined permissions whenever the PC is on. It can also be run hidden so that no UI's are visible that can be changed by the current user.

    Supported Operating Systems: Windows Server 2003; Windows XP

    Here are the steps to set up Schedule plus as a service.

    1. Download and install the windows resource kit available here http://www.microsoft.com/downloads/...69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
    A description of how to do this is also available on the microsoft website here http://support.microsoft.com/kb/

    2. Open a command shell and type in the following:

    "c:\Program Files\Windows Resource Kits\Tools\instsrv.exe" SchedulePlus "c:\Program Files\Windows Resource Kits\Tools\srvany.exe"

    You should see the following information to indicate that the service has been successfully created.

    3. In the same command shell type in "regedit" and press enter

    4. You're now in the windows registry editor so watch your step otherwise your computer goes boom.

    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SchedulePlus

    5. Right mouse click on the SchedulePlus key and select 'New|Key'
    Make the key name 'Parameters'

    6. Right mouse click on Parameters and select New|String Value
    Make the name of the new value 'Application'

    7. Edit the string value and change its data to contain the following:
    "C:\Clipsal\SchedulePlus\Schedule Plus Runtime.exe" "C:\Clipsal\SchedulePlus\Projects\My Project\My Project.ctd" "/cgate"

    (use the path to your Schedule Plus, and your project name)

    8. Close the registry editor

    9. Go to the control panel and open Administrative Tools. Open the Services program and go down the list until you find SchedulePlus. Double click on the SchedulePlus service.

    10. Under the Log On tab you can set the account to run Schedule Plus. If you leave this as local you can run Schedule Plus with the UI visible. If 'Allow service to interact with desktop' is not selected Schedule Plus will run in the background and you won't be able to interact with it. This may be a good thing.

    11. Close the everything and you're done.

    To remove Schedule plus running as a service, open a command shell and type in the following

    "sc delete SchedulePlus"

    You should see the following

     
    Last edited by a moderator: May 28, 2010
    Matty, May 28, 2010
    #1
  2. Matty

    sambo

    Joined:
    Oct 14, 2009
    Messages:
    9
    Likes Received:
    0
    Location:
    Tasmania
    schedule plus as a service

    Anyone know if it is possible to run schedule plus as a service on server 2008 R2? Matty has provided a great post on this for server 2003, but I seem to be unable to find resource kit tools for server 2008. Has anyone else tried to locate these?
    Otherwise can anyone advise how to auto run a scheduleplus project without being logged on to the computer.

    Thanks

     
    sambo, Oct 3, 2011
    #2
  3. Matty

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,391
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    You may be able to use one of the commercial products that do this kind of thing, for example I have use FireDaemon (google it) in the past with some success.

    Server 2008, Vista, and Win7 all have differences to XP in how services are run especially preventing interaction with the desktop. So you may have other difficulties to overcome.
     
    ashleigh, Oct 3, 2011
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.