Windows 2003/XP logoff script timout - 10 minutes

Posted on 2006-03-30
Last Modified: 2012-06-27
Not sure if this should be asked in the OS topic area or here, so I am trying here.

I have a logoff script that I need to run to zip up some rather large files (VPC's) and store them on a network location.  The script works very well when run while logged in, but when we have it execute via a logoff script it gets terminated by the OS after 10 minutes of execution.  The process takes more time than this on large files or multiple files.  It does work if we are working with small files that can get done in less than 10 minutes.

There is a Group Policy/registry setting for removing or extending the default of 600 seconds for script completion:
  "Computer Configuration/Windows Settings/Administrative Templates/System/Scripts - Maximum wait time for Group Policy Scripts"
The problem is that this does not work for logoff scripts, just logon, startup and shutdown scripts.  This seems really strange to me.  I did go ahead and set this to '0' anyways.  It did make a little change in that it no longer makes an Event Log entry stating that the script was terminated, but it still terminates the script.

I talked to MS support and they say that there is not a setting to change this.  I have trouble buying this, so I am coming to you all for ideas.

Thanks in advance for any ideas.  I am offering high point values because MS says that it can not be done.  :)
Question by:TUmphress

    Author Comment

    I forgot to mention that the desktop machines are running Windows XP SP2 and are members of a Windows 2003 Domain.

    Author Comment

    Well, we came up with a work around.

    Remove the logoff and shutdown capability from the Start menu, create our own LogOff button that calls a script to complete the needed stuff and when that is completed programatticly log the user off of the machine.

    Accepted Solution

    Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
    Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now