Monday, January 9, 2012

How To Shutdown A Computer With A Cell Phone

First you need to create a batch file to perform shutdown etc .you can write them down yourself.

* Open your notepad and type the following

EX: c:\windows\system32\shutdown -s -f -t 00
or
 shutdown -s -t 10 -c “shutting down”
And save it as shutdown.bat (Executable file)
----
Now open up Microsoft Outlook. I am assuming that you have already configured it for your Email . Now we will need to make it so that Outlook checks your inbox about every minute.

You can do this by going to Tools->Options. Then click on Mail Setup tab, and then, the Send/Receive button.

----
Make sure that the Schedule an automatic send/receive every… box is checked, and set the number of minutes to 1 or anytime you may like. Now you may close all of these dialog boxes.



Now go to Tools-->Rules and Alerts. Click on E-mail Rules tab. In new window select Check messages when they arrive and click Next.


Now in next page, check on, on this machine only and with specific words in the subject.
After checking these two values, click on specific words underlined.


 Search Text window will open, in the input field type the command that shuts down the PC. You can use any commands. For prevention of accidental execution I kept %shutdown% as a command. Click on Add button after you are done and click on OK.


Now click on Next.
In the next window check mark on start application. In the lower screen, click on application link.


 Now you’ll be welcomed to your familiar file open window. Load all files. And select the batch file that you’ve created to shutdown your PC.

Click on Next, again click on next (don’t choose any things in this step). And finally click on Finish button.


You’ll have %shutdown% alert shown in the E-mail Rules tab.


Now, when you send a message from your phone to your e-mail address with the Subject  %shutdown% your computer will trigger shutdown.bat file and instantly executes the command in that batch file finally leading to shutdown the PC.


:)


0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More