[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

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
0
chuckalicious
Asked:
chuckalicious
  • 2
1 Solution
 
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
 
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now