Logoff scripts in Windows XP Professional Edition (unfortunately the gpedit.msc function is not available in the Home Edition.)
there can be some valid reasons to use a logoff script. I use a logoff scripts for two purposes:
- housekeeping - I run a batch command of Empty Temp Folders
- backup - I run the MMM.exe command that is part of the NUTS suite.
Both tools can be found on my Freeware page.
Step 1: start the Windows Group Policy editor.
Start the Group Policy editor by issueing the following command:

The Group Profile editor will be started. The following screen will appear:

Select the Logoff options as shown in above screen with a double click. The following screen appears:

Step 2: add the preffered scripts to as logoff scripts.
This windows shows existing logoff scripts. You are able to add scripts that you want. Be carefull: only scripts that run from the MSDos command line can be added here. Select the <add> button and the following windows appears:

Fill in the application that you want to run and the required parameters. After clicking <Ok> you are finished. (Hint: use the <Browse> button to find the application name to avoid typing errors.
Good luck!