Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-12
5
Medium Priority
?
213 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 1050 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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 …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

926 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