3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Booby trap Windows XP

Booby trap Windows XP
This is how to booby trap Windows XP so it logs off when you double click a shortcut.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Step 1

Step 1
Open notepad and paste the following 2 lines:
cd\
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)
« Previous StepDownload PDFView All StepsNext Step »
8 comments
Aug 19, 2011. 5:36 AMLefrançois says:
Tant qu'à faire mettre dans démarrage...
Nov 5, 2009. 6:39 PMshoyru_master_11 says:
Does not work... sorry!
Jun 26, 2010. 11:42 AMFlonine says:
U must not be using xp
Feb 25, 2011. 6:21 PMthelonesun says:
It works on any OS that uses batch scripting.

(basically win98 and on if my memory serves me correctly)
Jul 11, 2009. 1:23 AMerikals says:
Can u log back in after the shortcut has done its work? by the way, what a great instructable
Sep 5, 2009. 8:03 AMxc1024 says:
All it does is it logs you off, so you should be able to log back in. If you wanted to block logon afterwards, this would be even more complex.
Mar 14, 2009. 1:41 PMjs259 says:
Tres amusing

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
1
Author:mmaddogg