Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-12-2005, 12:35 PM   #1
Beta Member
 
Join Date: May 2005
Posts: 5
Default Logoff Script

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.
__________________

Spaterson is offline   Reply With Quote
Old 10-12-2005, 06:30 PM   #2
BSOD
 
pcmxkeith's Avatar
 
Join Date: Dec 2004
Posts: 842
Send a message via AIM to pcmxkeith Send a message via MSN to pcmxkeith Send a message via Yahoo to pcmxkeith
Default Re: Logoff Script

Good deal, I was going to say i have a backup script for you to try!

If u still want let me know
__________________

pcmxkeith is offline   Reply With Quote
Old 10-12-2005, 06:58 PM   #3
Beta Member
 
Join Date: May 2005
Posts: 5
Default Re: Logoff Script

Actually that would be fantastic if you wouldn't mind?

Cheers
Spaterson is offline   Reply With Quote
Old 10-12-2005, 07:05 PM   #4
BSOD
 
pcmxkeith's Avatar
 
Join Date: Dec 2004
Posts: 842
Send a message via AIM to pcmxkeith Send a message via MSN to pcmxkeith Send a message via Yahoo to pcmxkeith
Default Re: Logoff Script

Sure, its located http://www.keithalmli.com/scripts/backup.zip Iit contains a .exe and a .txt (readme) i got it off some other website awhile back... its a manual script but its easy to edit :-D

hope it works for you.
pcmxkeith is offline   Reply With Quote
Old 10-13-2005, 10:31 AM   #5
Beta Member
 
Join Date: May 2005
Posts: 5
Default Re: Logoff Script

This is great, thanks a ton!!
Spaterson is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:37 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0