Home > Ask the Windows Server Experts > Archive: Windows Desktop Management Questions & Answers > Can I automatically execute a 'batch file' on logout in WinXP?
Ask The Windows Server Expert: Questions & Answers
EMAIL THIS

Can I automatically execute a 'batch file' on logout in WinXP?

Serdar Yegulalp EXPERT RESPONSE FROM: Serdar Yegulalp

Pose a Question
Other Windows Server Categories
Meet all Windows Server Experts
Become an Expert for this site


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 28 July 2005
I am wondering if you can help me with a scenario where I would like to automatically execute a 'Batch File' on 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.

>
Yes, it is possible to set something (like a script) to run at shutdown by creating a Group Policy configuration for it, provided your computer hasn't been locked down from doing so bya n administrator. Select Start | Run and type gpedit.msc, then click OK; then look in Computer | Configuration | Windows Settings | Scripts (Startup/Shutdown). Double click Shutdown in the right-hand pane, then click Add to add one or more scripts as needed.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Archive: Windows Desktop Management
Can I change network settings on the fly?
How FAT and NFTS differ
SMS installer won't work with 64-bit Vista's HKLM Registry key
Use RoboCopy to copy files from crashed hard disk drives
Give domain users permission to do disk defragmentation locally
How can I restore a disabled Administrator account?
Add domain group to local admins group on XP workstations at one time
Why does Explorer crash so frequently?
I lost my Windows XP product key
Rename multiple computers programmatically

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Windows Server Solutions - Intel Hardware Solutions
HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts