Introduction: Booby Trap Windows XP

Picture of Booby Trap Windows XP

This is how to booby trap Windows XP so it logs off when you double click a shortcut.

Step 1: Step 1

Picture of Step 1

Open notepad and paste the following 2 lines:
shutdown -l -f

Save it in My Documents as:

log off.bat

Go to My Documents, right click on it and and go to

Send to: Desktop(create shortcut)

Step 2: Step 2

Picture of Step 2

Right click on the shortcut and go to properties

Change the icon by browsing to (C:) then Program Files then choose a program like Mozilla Firefox, Internet Explorer or Microsoft Word.

In the comment box type in:

Location: C:\Program Files\insert program name here*

Change the name of the shortcut to the program you chose or give it another name. If the program name already exists then type (2) after it


tanyutsharma (author)2014-06-23

Absolutely wonderful.

Lefrançois (author)2011-08-19

Tant qu'à faire mettre dans démarrage...

shoyru_master_11 (author)2009-11-05

Does not work... sorry!

Foyet (author)shoyru_master_112010-06-26

U must not be using xp

thelonesun (author)Foyet2011-02-25

It works on any OS that uses batch scripting.

(basically win98 and on if my memory serves me correctly)

erikals (author)2009-07-11

Can u log back in after the shortcut has done its work? by the way, what a great instructable

js259 (author)2009-03-14

Tres amusing

mmaddogg (author)2009-03-09

comment and rate : )

About This Instructable




More by mmaddogg:Booby trap Windows XP
Add instructable to: