This is how to booby trap Windows XP so it logs off when you double click a shortcut.
Step 1: Step 1
Open notepad and paste the following 2 lines:
shutdown -l -f
Save it in My Documents as:
Go to My Documents, right click on it and and go to
Send to: Desktop(create shortcut)