How Can I Synchronise A Network Folder With A Local Windows Folder Using Active Directory 2000?

Since before I started working at my current employer, a login script has run for all users which copies new content from a folder on the network, \\servername\share\templates to c:\template on each users PC (Windows XP Pro).

The reasons for this were more applicable when they were introduced than they are now, however a large portion of our setup now assumes that the files in c:\template will be available.

The script essentially uses XCOPY /Q/Y, which does work, however, it never deletes. So, if we clear out sections of the network folder, without deleting c:\template and recopying (which kills the network), we have to accept that there will be many unused files on each user PC.

So, what I'd like to know is, is it possible, using Active Directory 2000, or other technology, to better manage the folder on the users PC?

Ideally I'd like it if while the users were connected to the LAN, they all accessed the server folder, but if working offline, they were automatically directed to c:\template

Thanks in advance
LVL 4
chuckaliciousAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zelron22Commented:
Robocopy has a mirror option, where you can basically mirror a folder.  So if the folder on the network has files x, y, and z, you can set robocopy (in a script like your xcopy script) to copy those files over.  Then, if the files change to a, b, x, it'll replace the x, y, z with a, b, x.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zelron22Commented:
And robocopy is free :)  Richcopy may be another option, not sure if that has a command line.
0
chuckaliciousAuthor Commented:
Thanks, I'll check out Robocopy.

I take it this isn't really do-able using Active Directory on it's own?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.