How do I replicate folder shares in Server 2008?

Posted on 2009-12-27
Last Modified: 2012-05-08
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?
Question by:smillion
    LVL 13

    Expert Comment

    no it doesn't repricate share rights only ntfs

    Author Comment

    Any thoughts on how this could be done?  
    LVL 23

    Accepted Solution

    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"

    LVL 20

    Expert Comment

    have you thought about using domain based DFS shares?
    LVL 13

    Expert Comment

    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.

    Author Comment

    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

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
    This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

    729 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

    18 Experts available now in Live!

    Get 1:1 Help Now