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?
smillionAsked:
Who is Participating?
 
Mohamed OsamaConnect With a Mentor Senior 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
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
import the same REG file on your destination server.
you will have to restart the services "server" & "Workstation"


0
 
p_nutsCommented:
no it doesn't repricate share rights only ntfs
0
 
smillionAuthor Commented:
Any thoughts on how this could be done?  
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
brwwigginsIT ManagerCommented:
have you thought about using domain based DFS shares?
0
 
p_nutsCommented:
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.
Peanuts
0
 
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

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.