how to copy SHARE permissions to new volume


we are rebuilding one of our 2003 servers at work to 2008 and in the process we are going to provision a bigger drive to store our data.
but i need to copy this data from 1 volume to another maintaing its share permissions and ntfs permissions.

i can use robocopy to do the ntfs but that doesnt copy the share permissions

Robocopy "D:\Temp" "\\NEWSERVER\d$\Temp" /S /E /COPY:DATS /PURGE /XO /SEC /R:3 /TEE /log:newserver.txt

ive had a look at perm copy but i cant figure that out either... never used it before so im not sure how it exactly works...

any suggestions on what i should use or do?

let me know if you need any more info...
Who is Participating?
Michael MachieConnect With a Mentor Full-time technical multi-taskerCommented:
I had one scenario where a manual process was required, just be careful with the Sharing method you choose as using one method at one time and the other at another can cause problems with object ownership etc. You are using NTFS so I recommend using the Advanced Sharing method instead of Simple Sharing method. In one scenario my co-worked used Simple after I had built the new shares using Advanced and it caused all sorts of headaches and disruptions until I cleared it all up.
Always use Advanced where possible and once you do, never use Simple.
BakerSydAuthor Commented:
Ok thanks.. I'll try them out tomorrow and see how it goes
BakerSydAuthor Commented:
having mixed results using the FSMT tool

it does copy the share name, data and NTFS persmissions... which is great.. but it did not copy the share permissions correctly.

on the source server we have domain users setup and it did not copy this over to the new location.

reading up on FSMT, it says that it does not copy local groups to a new server.. i see no mention of it not copying domain groups.

is the domain users group considered as a local group?

does this sound right or am i doing something wrong?
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Michael MachieFull-time technical multi-taskerCommented:
Apparently the Mods deleted my post because it contained a link to the info you need. So, you can use the /MIR switch with robocopy to copy permissions.
BakerSydAuthor Commented:
But does that copy the NTFS or share permissions?

Pretty sure ive tried it and it didn't work...
Michael MachieFull-time technical multi-taskerCommented:
NYes, it mirrors the existing files and properties, and overwrites the destination properties if the structure already exists. You may want to try /sec, that copies files with security and is better for a clean copy, not an overwrite. /secfix will attempt to repair security during copy, if necessary.
BakerSydAuthor Commented:
Ok thanks.. I'll have a play around with those settings and see if I can get it to work

I'll post back next week
BakerSydAuthor Commented:
no good guys

i tired something really basic, to see if the share information would copy over.

Robocopy "D:\Temp" "\\SERVER\d$\Temp" /MIR

this simple command did not copy over the share permissions.
folder was not shared

i think this is going to be a manual process... damn it
BakerSydAuthor Commented:
thanks for all your help but i had to do the shares manually.

im closing this question.
Michael MachieFull-time technical multi-taskerCommented:
I thought you may have to do it that way.

Good luck going forward.
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.