• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 959
  • Last Modified:

How do I replicate folder shares in Server 2008?

I am replicating a folder between two Server 2008 Standard servers using DFS.   Some folders created on the primary server have shares on them and I can't see a way to have DFS replicate the settings.  Is there a way to replicate share information as well?
1 Solution
no it doesn't repricate share rights only ntfs
smillionAuthor Commented:
Any thoughts on how this could be done?  
Mohamed OsamaSenior IT ConsultantCommented:
after you copied the files to the new server if the shares are located in the same physical path , from your source server export the below registry key
import the same REG file on your destination server.
you will have to restart the services "server" & "Workstation"

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

have you thought about using domain based DFS shares?
domain based dfs shares don't replicate share rights only ntfs
why don't you set the share rights to everyone full and just use NTFS to secure.
smillionAuthor Commented:
I created a script that copies the registry and then stops and starts the approriate services. There are lots of share with different security.  Might not be the best way, but that's where I'm at now. Thanks admin3k. Looks good so far.
REG COPY \\xxx\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares /s /f

net stop dfs
net stop server
net start server
net stop SessionEnv
net stop Netlogon
net stop workstation
net start workstation
net start Netlogon
net start SessionEnv
net start dfs

Open in new window


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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