Solved

Software or Script to receive alerts about PC shutdowns/reboots

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Move XP PC to Vmware 22 128
Cooling a 'server' cabinet 7 40
PC will not start 26 85
Fan for HP TouchSmart 600-1265qd CTO Desktop PC 7 48
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

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

19 Experts available now in Live!

Get 1:1 Help Now