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
Solved

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

Posted on 2006-06-12
5
206 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
  • 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

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…
The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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