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. :)