Q

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

Dig deeper on Windows Server Virtualization and Microsoft Hyper-V

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close