i do this to kids that leave their computers logged on at school
it works on XP. right click, new, shortcut, under the type location of shortcut write logoff. than just click ok and you have a shortcut that will log you off when you click it. What i usually do is change it to be named internet explorer, change the icon to the internet icon and delete the persons real internet explorer shortcut.