Solved

Software or Script to receive alerts about PC shutdowns/reboots

Posted on 2009-07-07
3
312 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virus On motherboard 6 85
I have AMD video card.... I can swap out with an nvidea though, right? 9 67
Windows 7 and Pro update issues 5 94
gmail problem on smartphone 56 126
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
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…

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