retaining permissions from server to server

I need to copy bunch of information from one server to another. It's a 2003 server to a 2008 server with NTFS permissions.  Is there a way for me to retain the current permissions so I don't have to redo it?
WellingtonISAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Adam BrownSr Solutions ArchitectCommented:
Yeah. You can use Robocopy to do a mirrored copy from the Windows 2008 server. http://ss64.com/nt/robocopy.html has the command line syntax info.
0
the_endjinnCommented:
As long as the the permissions relate to domain users/groups rather than to local users/groups then doing a robocopy with the /copyall or /copy:DATS you will retain security. If it is a one time copy then I would recommend against using mirror unless you know what it does.

If the users/groups are local then you will probably have to export the permissions with icacls, modify any computer names and then import them on the new server when you have created the local users/groups with the same names.
0
WellingtonISAuthor Commented:
All accounts are domain accounts.  I'm in a middle of domain migration and rebuilding a server so some users are in the old domain and some in the new.  I need to retain the old so I can add the new.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

WellingtonISAuthor Commented:
Trying to run the command it's telling me the path can not be found???
ROBOCOPY\\welfs01\P_Share\*.*/s \\wrmsf01\P-Share
0
the_endjinnCommented:
Hi Wellington,

The syntax you have is wrong, please see below for the correct robocopy syntax for the above command.

robocopy <source> <destination> <files_to_copy> <options>

robocopy \\welfs01\P_Share\ \\wrmsf01\P-Share *.* /s
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WellingtonISAuthor Commented:
Had to take out the *.* and just use /s but it worked thanks
0
WellingtonISAuthor Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.