Hello,

I have a script set up to run on user logoff through GP on Windows 7 to backup a file from the user area to the network drive. When the user logs off I can see the script flash up (so i take it it's running) but the file doesn't get updated on the network area. The only thing I can think is that the network share is getting disconnected before the script can copy the file.

 

Is there any other place I should run the script or is there any way to keep the network share linked until the file has copied?

Answer Summary:
Robocopy seemed to fixed my issue. I had been using xcopy which didn't seem to work on logoff but the robocopy did.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Try this test while I attempt to get you a better answer,

On one computer create a scheduled task to run your script at logoff. Make sure you check Run whether user is logged on or not. If it fails, it should write an entry in the Windows system log and (kinda) tell you why.

Answered 05/18/2012 by: Tentacle Master
Fourth Degree Black Belt

Please log in to comment

Answers

0
Answered 05/18/2012 by: Moedius
Blue Belt

Please log in to comment
0

Robocopy seemed to fixed my issue. I had been using xcopy which didn't seem to work on logoff but the robocopy did.

Answered 05/21/2012 by: alphabeta
Third Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity