Moving directories between servers & retaining file security permissions

Posted on 2009-04-21
Last Modified: 2013-12-23
I need to move around 60 GB of data from a NT server to a W2K3 server. what is the best utility to use which will retain the file security permissions already in place.
Question by:saliyam
    LVL 82

    Accepted Solution

    robocopy.exe; the next best is robocopy.exe (part of the W2k3 Resource Kit,
    You'll need the /copyall switch to copy the permissions.
    Check robocopy.doc in the installation folder for details, it's a very useful tool and a very userful documentation. I've used to copy hundreds of GB without issues.

    LVL 6

    Expert Comment

    xcopy /O  
    /O           Copies file ownership and ACL information.
    LVL 82

    Expert Comment

    Oh, and just in case you don't like the command line or are overwhelmed with its features, here are GUI wrappers for robocopy:
    RoboCopy GUI

    Utility Spotlight Robocopy GUI
    LVL 2

    Expert Comment

    robocopy is the way to go.
    robocopy.exe c:\source d:\destination /Z /E /SEC /R:3 /w:3
    --> the /SEC copies over the security
    the beauty of robocopy is that you can use it to synchronize after the first copy as well- so you can make a copy now, then run it a few more times to make sure both directories are identical (you could use the /mir switch).  then, when it is time to do the actual cut-over, you do a last synchronization, then cut over.  there are hundreds of switches - that allow you to do whatever you want with it.  
    My only caution is to test it first, because if you mess up the order (source destination), you can blow your data away in a second.  

    Author Closing Comment

    Thanks. It worked great.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 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