Automatically copy a bunch of files at shutdown?

  • Thread starter Thread starter Noozer
  • Start date Start date
N

Noozer

Trying to figure out a backup solution and what I'd like to do is simply
have a script that, when I shut down windows, copies a bunch of files from
various locations to a backup drive on the network.

Can anyone suggest a solution?

Thx!
 
From: "Noozer" <[email protected]>

| Trying to figure out a backup solution and what I'd like to do is simply
| have a script that, when I shut down windows, copies a bunch of files from
| various locations to a backup drive on the network.
|
| Can anyone suggest a solution?
|
| Thx!
|

Easily done.

Local computer policy Shutdown Script.

GPEdit.msc
Computer configuration --> Windows settings --> Scripts (startup/shutdown)
 
In
David H. Lipman said:
Easily done.

Local computer policy Shutdown Script.

GPEdit.msc
Computer configuration --> Windows settings --> Scripts
(startup/shutdown)

....note that this script will not be able to run under any user credentials,
and so the source *computer* account itself will need at least 'modify'
permissions in the folder on the other computer. This is easy enough in a
domain, but I don't know how one might do it in a workgroup, although it's
possible this isn't that big a deal provided your security settings on the
destination computer are wide open.

Instead of a shutdown script, you could use a logoff script...but you'd need
to wait til it finished in order to log out.

Another option might be SecondCopy from www.centered.com - you can configure
your copy job, then choose the option in the software to shut down the
computer after running the job.
 
From: "Lanwench [MVP - Exchange]"
<[email protected]>


|
| ...note that this script will not be able to run under any user credentials,
| and so the source *computer* account itself will need at least 'modify'
| permissions in the folder on the other computer. This is easy enough in a
| domain, but I don't know how one might do it in a workgroup, although it's
| possible this isn't that big a deal provided your security settings on the
| destination computer are wide open.
|
| Instead of a shutdown script, you could use a logoff script...but you'd need
| to wait til it finished in order to log out.
|
| Another option might be SecondCopy from www.centered.com - you can configure
| your copy job, then choose the option in the software to shut down the
| computer after running the job.
|

Thanx for that clarification !
 
"Lanwench [MVP - Exchange]"
In

...note that this script will not be able to run under any user
credentials, and so the source *computer* account itself will need at
least 'modify' permissions in the folder on the other computer. This is
easy enough in a domain, but I don't know how one might do it in a
workgroup, although it's possible this isn't that big a deal provided your
security settings on the destination computer are wide open.

Instead of a shutdown script, you could use a logoff script...but you'd
need to wait til it finished in order to log out.

Thanks guys! I'm using a logoff script to execute the MS SyncToy. Works
well!
 
Back
Top