<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\07517569914\46blogName\75Any+Arb+Stuff\46publishMode\75PUBLISH_MODE_BLOGSPOT\46navbarType\75BLACK\46layoutType\75CLASSIC\46searchRoot\75http://bossmanthe.blogspot.com/search\46blogLocale\75en_US\46v\0752\46homepageUrl\75http://bossmanthe.blogspot.com/\46vt\75-408083323528599245', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>
 

How to shutdown your computer (Windows XP) using an email with a special subject line!

Stewart Moss's Technology tip:

Here is a great tech tip.

How to shutdown your computer (Windows XP) using an email with a special subject line!

Prerequisites:
1. Outlook (not Outlook express) I tried this using Outlook 2003 from MS Office 2003.
2. Windows XP (The batch file I am going to show you is for Windows XP, but you can change it for Windows 98 up to Windows Vista)
3. Internet Connection (Duh)

Methodology:

Note: If you have any problems during this process, please consult the MS Office documentation about setting up rules.

Step 1:
Make a batch file on your hard drive which will shut down your computer.

Here is an example of my batch file for Windows XP:
@echo off
shutdown -s

I called my batch file "shutdowncomputer.bat".

Step 2:
Open Outlook and go to the "Tools" menu. Choose "Rules and Alerts"
Step 3:
On the opened "Rules Dialog" choose "New Rule"
Step 4:
Choose "Start with a blank rule" and make sure that "Check messages when they arrive" is selected. Click "Next".
Step 5:
Choose the rule to activate with "Specified words in the Subject". Click on "Specified words" hyperlink and add in your subject line you want. The command will fire when outlook sees an email with that subject line. I chose "Shutdown my computer" but I suggest something way more secure than that!
Click "Next"
Step 6:
Choose the action "Start Application". It is quite far down the list.
Step 7:
Click on the hyperlink "application" and change the file dialog to "Show all files (*.*)". Choose the batch file to run. Then click "Next".
Step 8:
Click "Finish" to end adding a new rule. Outlook will prompt you that this type of rule (to execute commands) can only be run from the client and while the client pc is running.

I hope you enjoyed this tech tip!
Stewart Moss

Labels: ,

There

  1. Anonymous Anonymous | June 22, 2008 at 6:50 AM |  

    does this work if the person your sending it to is not using MS outlook but are using hotmail.com or something instead?

  2. Blogger RexMan | June 24, 2008 at 11:07 AM |  

    No anonymous, it will not work with webmail, however it will work if you receive your hotmail emails into Outlook. This tip is for Outlook only.

  3. Blogger RexMan | June 24, 2008 at 11:09 AM |  

    This article was mentioned on http://www.techcult.com/high-tech-pranks/.

  4. Blogger vaishakhbn | October 9, 2011 at 11:58 AM |  

    Hi there is another way to remotely shutdown the computer its a small(400KB) utility. It is available for download from www.shutitdown.co.cc
    A detailed blog is available here
    http://nanu-nanna-nenapu.blogspot.com/2011/10/shut-up-remote-shut-down-application.html