Sunday, August 22, 2010

A Nifty Trick...

A trick is to make any PC shut down in a specified time with a horrifying message. No harm will be done of course. We will just make a small executable of ".exe" format for our mischief.
The executable will work its magic only when clicked, so expect no "virus-action", but it can be easily disguised as some other program. 
Here are the steps:
  1. On your Desktop, Right click->New->Shortcut
  2. Dialog Box appears, type in: shutdown -s -t 20 -c "YOUR MESSAGE"
  3. Now click on Next.
  4. Shortcut Name is asked, call it "shutdown.exe"
  5. Click on finish.
    shutdown.exe will be created on the desktop.
Note that the file I created has a string argument "YOUR MESSAGE", which can be replaced by anything. example: "FATAL ERROR: SYSTEM CRASH REPORTED". Also, the final output will look somewhat like this on your desktop, Ive shown the portion the the Taskbar that displays the message. The value 20 is the time delay in seconds.

The coolest part is that Alt+F4 or Task manager cannot terminate this file!!!
To terminate: Start->Run->"shutdown -a" and press enter. Moreover this file is easily deletable.

Now for a finishing touch:

  1. Rename the executable to a commonly used program, example: My computer
  2. Right Click->Properties->Shortcut Tab->Change Icon
  3. Now the Icon image must be chosen according to the name given, here it is My computer

Apply any standard icon image and name to your file, send it to friends or have them click it on your PC and watch their faces.

1 comment: