We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Windows 2003/XP logoff script timout - 10 minutes

TUmphress
TUmphress asked
on
Medium Priority
319 Views
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.  :)
Comment
Watch Question

Author

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

Author

Commented:
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.
TUmphress,
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.

EE_AutoDeleter

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.