Logoff Script

Spaterson

Beta member
Messages
5
Hi. I am trying to make a logoff script to backup some files to another computer. I am using a batch file and robocopy to achieve this. The batch file runs properly, and I have no problems. But when I logoff the script starts to run but doesn't finish and the computer shuts down. I just made a local group policy on the computer to run that batch file on shutdown. At the shutdown screen it shows it running logoff scripts for a couple seconds and than shuts down. How would I force this batch file to run in it's entirety before shutting down? Or a better way of doing this would be great too.

Thanks
Shawn

EDIT - I figured this out. There is a policy to enforce a maximum wait time for scripts to run.
 
Back
Top Bottom