Ask the Expert

How can I execute a batch file during logout in WinXP?

I would like to automatically execute a batch file during logout in Windows XP. On launch, I can easily put a shortcut into the startup folder, yet I don't think there's any such mechanism for logout situations (well it's not easy to find!). If possible, I would like to find a way of doing this without utilizing any third-party tools.

    Requires Free Membership to View

Use Group Policy to run a script at logoff; there's a thread here that discusses how to do that in some detail. Group Policy is generally the best way to handle "automatic" actions like this without having to resort to third-party tools of some kind, and it'll work no matter what the other person's computer or where it is, so long as they're joined to the domain.

This was first published in August 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: