Question Locked

I want MS Server 2003 to alert me when it has finished rebooting.

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a file and a scheduled task that reboots my server on a schedule. I want the server to either e-mail, SMS, or IM me that it has been rebooted.

I want to know so I know that all the services and programs are running normally (as they were before the server was rebooted).

I have created a Powershell script to send me an e-mail but it runs only after someone has logged into the machine (locally or remotely).

I want to e-mail me before someone logs into the server.

Any ideas?

Thank you!

4 replies

by pshiflet-24

Well, if you are in a domain you can set a startup script to run using Group Policy. It is similar to a logon script but it is executed when the computer is turned on.

Let me know if this is helpful or you have further questions. Thanks.

by scott_heath

1. The safest. Try setting up a script that is run through the Windows Scheduler using the ONSTART parameter. There is a seperate parameter for ONLOGON so I believe this should work but I have not tested it.

2. The dangerous. Go to the HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon key in regedit and add to the USERINIT value. It's how viruses like to startup, so why shouldn't it work for you? :)

Regards,
Scott

http://scottisageek.spaces.live.com

by andrew caple

Have a look at this app? Servers alive: http://www.woodstone.nu/salive/ I use it for monitoring services and uptime of servers. The software will allow you to monitor 10 servers (I think) for free and anymore than that you need to purchase a license.

This discussion is closed to new replies.