Solved

is it possible to send a message to users after a reboot / startup before login?

Posted on 2006-06-12
5
207 Views
Last Modified: 2010-04-19
hi , i wanted to send users a message when the server is rebooted and give them time to save there work, which i've managed by doing just a batch file  (net send * "server reboot in 5 mins, please save your work"
call sleep.exe 300
net stop msexchangesa /y
shutdown /r)
and being lazy i just opt for clicking the batch file rather than trying to tie it onto the shutdown commands

but what i wanted to do was get a message which would appear when the server restarted, i've already got it to do it with a logon script,  but is there a way i can get a net send message (or any better way of sending a message if there is one)  to be sent when the server starts without having to log onto the server?

many thanks
matt
0
Comment
Question by:devoncider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 350 total points
ID: 16884632
Sure, you can use the Health Monitor to do this for you by sending an Alert, essentially based on a particular System Event.  Since the system automatically sends the Administrator an alert when the server comes back up (via email) you just need to create one that sends a message through messenger.

Open Administrative Tools > Health Monitor.  Create a New Action that is Script Based, and then base that action on the "System Up Time" Alert.

Jeff
TechSoEasy
0
 

Author Comment

by:devoncider
ID: 16884926
um i've managed to make a new script event, but could you tell me how i base it on the uptime?  also the health monitor only seams to show up the connect time of today at 1:32  (server has been up for weeks now) any ideas to what im doing wrong here?
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 16891137
In the Core Server Alerts, right click System Uptime and select Properties > Actions.  Add your new Script action to this monitor and then you'll have to reboot the server to test it.

Jeff
TechSoEasy
0
 

Author Comment

by:devoncider
ID: 17057333
i've not had any luck with this im afraid, (a more pressing problem seams to have sprung up that the inetinfo process is eating an awfle lot of memory and making the server grind to a hault ((it's at 1.7gb of memory usage atm) but you might as well have the points as its not your fault i've failed abjectly to use your advice

matt
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 17062735
Okay, thanks... take a look at this newsgroup thread for your inetinfo issue:  http://snipurl.com/sw3d

Jeff
TechSoEasy
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Small Business Server 2011. NOTE: This guide has been written using the preview version of SBS2011 therefore some of the screens may …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question