Discussion Locked

Moving Shared Directories & Permissions

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to move user home directories from server to server. I want to see if there is a way to move all the directories, their shares, and all associated permissions, without having to recreate the shares and assign both share and NTFS permissions. I am pretty sure you can move the directories and permissions with xcopy, but am not sure about the shares. Any help?

5 replies

by nettek

Xcopy will not keep permissions. scopy.exe from the Resource Kit copies files and directories between NTFS partitions and retains permissions.

Sharing is a function of a particular server, and is not really associated with directory permissions. When you transfer a folder from one server to another, you will need to reconfigure the share.

by /dev/null

Actually if you're using Win2K, xcopy now provides for copying ACL/Audit entries. Use the following options (from xcopy /?): /O -Copies file ownership and ACL information. /X -Copies file audit settings (implies /O).

As far as moving the shares from server to server look here: http://support.microsoft.com/?kbid=125996 (remove any spaces that might be inserted in the URL)
I'd list the contents of the article, but it's formatted better on MS's site. Basically you have to save (and then restore on the target server) the registry key that contains the definitions for the shares: HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

Good luck!

This discussion is closed to new replies.