Problem solve Get help with specific problems with your technologies, process and projects.

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.
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 last published in August 2005

Dig Deeper on Windows Server Virtualization and Microsoft Hyper-V



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.