Solved

Sync specific folders to file server on logoff

Posted on 2012-03-16
3
788 Views
Last Modified: 2012-03-17
Hello

I have 20 users joined to active directory version 2008.  I want some specific folders (ex. c:\my.files ) to automatically be synced with my fileserver (for backup purposes), when my users logoff or shutdown their computers, .

I am thinking to create a batch file which simply xcopy these folders to my fileserver using logoff scripts in group policy.

Is there any other way to do?  What if i want to sync files and not copy all data every time a user logoff/shutdown?

Thanks
0
Comment
Question by:p0wned
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 37731631
robocopy.exe c:\my.files \\fileserver\share\%username%\my.files

put that in a logoff script. Robocopy only copies files that have been modified. This script will not delete files that have been deleted from the source, but it will overwrite files. You should still protect files in case a user Overwrites a document with a blank document and then logs off. The backup copy on the file server will get replaced too. If you use shadow copies on your file server you would be in pretty good shape.
0
 
LVL 29

Expert Comment

by:pwindell
ID: 37733077
Why not just use folder Redirection and be done with it?  That is what it was designed for.

The files just have to be located within folders that folder Redirection is designed to work with (My Documents, Desktop, etc)
0
 
LVL 29

Expert Comment

by:pwindell
ID: 37733183
Sorry,...I should have said Offline Files.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now