Announcement

Collapse
No announcement yet.

How to run a notifier-program when the server is ready to accept logon

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to run a notifier-program when the server is ready to accept logon

    I have the server in a small server room.
    I dont want it to stay on all of the time, so I'm building a control panel to turn it on and off remotely from the room where all computers are.
    The control panel is connected to a relay card on an APC UPS, so when i press the ON-button the UPS turns on and so does my server.
    When windows server 2003 is ready to accept logon I want it to run a program that activates an USB-relay that will turn on a LED on the control panel to indicate that its ok to try to logon.

    Possible solutions
    1) Create a service that starts automatically and maybe by chance will start not so long before network logon.
    http://support.microsoft.com/kb/137890

    2) Create a winlogon notification package for the Startup event. But i think that server 2008 doesnt support notification packages and I want a solution that can be ported to win server 2008.
    http://msdn.microsoft.com/en-us/libr...44(VS.85).aspx

    3) Create a service that uses Service Control Manager (SCM) notifications. However there is no notification for startup.
    http://technet.microsoft.com/en-us/l...61(WS.10).aspx

    Anybody with experience or ideas of how to solve this?

  • #2
    Re: How to run a notifier-program when the server is ready to accept logon

    Sounds like a fun project. If you go with option 1, you could setup your notification service to be dependent on Netlogon so that it does not start until after Netlogon is up and running.

    Comment

    Working...
    X