Solved

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

Posted on 2006-06-12
5
204 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
My Company Web Migration? 8 60
1 CPU vs 2CPU in Hyper-V 9 90
IIS 7.5 to 8.0 6 75
Scan to email stopped working for 2 clients. 9 40
I’m often asked about newer and larger USB drives connected to SBS2008 and 2011 failing Windows Server Backup vs the older USB drives not failing. As disk space continues to grow and drive technology change SBS2008 and some SBS2011 end up with the f…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now