Solved

Software or Script to receive alerts about PC shutdowns/reboots

Posted on 2009-07-07
3
314 Views
Last Modified: 2013-11-10
Hi All,
Does anyone know of any free software out there that can alert me when a PC is shutdown or rebooted?
Alternatively, can this be accomplished using a VB Script or similar?
If you suggest scripting, please be clear in your solution as I am a novice at scripting.

I had a look at Spiceworks, which I really liked but the email feature to send alerts won't work because SMTP has been disabled in McAfee by our Corporate Security. I don't think I should risk trying to enable it.

So, let me know if you have any ideas. Thanks in advance.
0
Comment
Question by:MIKOAKE
[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 Comments
 
LVL 10

Accepted Solution

by:
Kieran_Burns earned 250 total points
ID: 24795130
You can use a simple recursive ping command and then blat (http://www.blat.net/) to send an email when it fails. If you sleep.exe for pasue for say 1 minute between loops you won't be sat there pinging all the time
:ping
sleep 10
ping <servername> -n 1
if errorlevel=0 goto ping
blat <send email>
goto ping
 
If you need the exact syntax just reply, but all the freebies you need are all available
0
 
LVL 6

Assisted Solution

by:Asif Bacchus
Asif Bacchus earned 250 total points
ID: 24888075
hmmm... I like the Blat solution, never seen that before.  A solution may be to put the blat command into a shutdown script on the machine.  You could write a simple batch file to activate blat or if you are in a networked environment, simply send a quick NET SEND message.  You can access shut down scripts via group policy Computer Configuration > Windows Settings > Scripts (Startup/Shutdown) and then edit the shutdown script.  That way, the script will autorun as the system is shutting down.  This is a great way to run any other shut down tasks you might want to as well.

Hope this helps!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SLI adding 16ms latency? 6 229
question about DDR3 memory in a DELL Inspiron 2 65
Tweak monitor detection / screen resolution 4 130
Windows XP under Hyper-V Server 2016 15 340
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
More and more people are using the enhanced small form-factor pluggable (SFP+) tranceivers, and speed is of utmost importance. Testing of speeds are critical to ensure that the devices will meet the speed requirements. There are some testing challen…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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