Applies to XPHome, don't know about XPPro or Vista:
No need for a program. Be warned, this technique directly executes the Shutdown, Restart, or Logoff without generating a confirmation message. So, don't click on them until you're prepared for them to execute.
Create 3 shortcuts, 1 each for Shutdown, Restart, and Logoff.
Shutdown:
Link: C:\WINDOWS\system32\shutdown.exe
Arguments: -s -t 00 (-t 00 sets the time delay to zero seconds, default is I think 30 seconds, you can put some seconds in there if you like but it's pretty useless. Note the space after s and t.)
Run: Minimized (gets rid of an annoying dos window popping up briefly)
Restart:
Link: C:\WINDOWS\system32\shutdown.exe
Arguments: -r -t 00 (-t 00 sets the time delay to zero seconds, default is I think 30 seconds, you can put some seconds in therre if you like but it's pretty useless. Note the space after r and t.)
Run: Minimized (gets rid of an annoying dos window popping up briefly)
Logoff:
Link: C:\WINDOWS\system32\shutdown.exe
Arguments: -l (You have probably figured out that's a lowercase "L", not the number 1. Don't think the time delay parameter works for logoff, try it if you like.)
Run: Minimized (gets rid of an annoying dos window popping up briefly)