How do I run a batch file at system shutdown?

    Requires Free Membership to View

There are a couple of ways to do this. You can edit Group Policy, under Computer Configuration | Windows Settings | Scripts (Startup/Shutdown); there you can add entries for any number of things to run at shutdown. Or, you could create a batch file which runs whatever you want and then shuts the computer down by using the SHUTDOWN command. Depending on your needs, you can use either approach.

This was first published in May 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.