RE: move shared folders to a different server without loosing permissi



Hello Eli,

Thank you for your post.

Also thank to Meinolf Weber for sharing the information. There are a lot of
tools for us to move folders or migrate shared folders, including some
third-party tools.

You can use the GUI tool File Server Migration Toolkit (FSMT) to accomplish
this task. Here are more information related to USMT:

File Server Migration Toolkit:
=======================
FSMT helps the system administrator easily migrate and consolidate shared
folders from servers running Windows NT? Server 4.0 or the Windows 2000
family of servers, to a server running Windows Server 2003 or Windows
Storage Server 2003.

You can download this tool from here:

Microsoft File Server Migration Toolkit 1.0:
http://www.microsoft.com/downloads/details.aspx?FamilyID=d00e3eae-930a-42b0-
b595-66f462f5d87b&DisplayLang=en

For more details about this tool, please refer to:
http://www.microsoft.com/windowsserver2003/upgrading/nt4/tooldocs/msfsc.mspx

USMT should be the best tool for file server migration. However, instead of
using USMT, we can also manually migrate the shares with permissions. We
need to consider the following:

1. NTFS Permissions.
2. Share Permissions.

For NTFS Permissions:
=======================

We can copy the folders by using Robocopy.exe. With the /SEC switch, the
tool will also copy NTFS permissions when copying files.

This tool is included in Resource Kit Tools, you can download it from here:
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-
96ee-b18c4790cffd&displaylang=en

You can simply use the command line by this way:

robocopy source destination [file] /sec

For more details about this tool, you can run "robocopy /?".

Note: To refresh security information for existing destination files and
directories without copying file data, we can use the /SECFIX switch.
/SECFIX copies permissions for newly copied files and refreshes security
information for existing destination files and directories.

For Share Permissions:
=======================

The migration of share permissions is much complicated than the NTFS
permission.

1. If there are not much shares or the shares use default or simple share
permissions, I would like to suggest that you manually enable the shares
and configure the share permissions on the target file server.

You may use another resource kit tool Permcopy.exe to copy share
permissions (Full Control, Read, and Change) from one existing share to
another.

permcopy \\SourceComputer SourceShare \\TargetComputer TargetShare.

2. If there are a large number of shares or the shares are using
complicated permissions, we may use the method according to the following
KB article:

Saving and Restoring Existing Windows Shares
http://support.microsoft.com/?id=125996

Note: This procedure applies only to NetBIOS shares and not to Macintosh
volumes.

For you convenience, I have summarized the steps below:

2.1) Copy all the data from the old file server to target file server using
Robocopy with /SEC switch. This will ensure that both the folder structures
and their NTFS permissions are fully copied the target file server.

Important Note: Please ensure that both the target file server and the
source file server have the same folder scheme (the shares' folder paths on
the target file server are the same as the ones on the source file server).

2.2) Copy the share permissions from the source file server

Actually, the share definitions are saved in the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares]

Therefore, our steps in this section are:

2.2.1) Back up the above key on the target file server for recovery
purposes.

2.2.2) Back up the key on the source file server in to a reg file.

2.2.3) Merge the reg file to the target server.

I hope this will help you. Have a nice day!

Sincerely,
George Yin
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Permission for folders on file servers
    ... file server.I am the administrator for the file server. ... My problem is I have set Modify permissions for users to specific ... permissions but this enables them to create/delete sub folders inside ... folders the ownership of the folder is with them. ...
    (microsoft.public.windows.server.general)
  • RE: After migration from NT4 to 2k3 domain there were problems occured
    ... using either ADMT - Computer Migration Wizard, ... we can migrate the shares' NTFS permissions and share ... Copy all the data from the old file server to target file server. ...
    (microsoft.public.windows.server.migration)
  • RE: Copy files to new server, want to save permissions & Shares
    ... We can migrate the shares' NTFS permissions and share permissions ... For NTFS permissions, we can use the Windows 2000 Resource Kit ... Copy all the data from the old file server to target file server. ...
    (microsoft.public.windows.server.migration)
  • RE: migrate shared folder
    ... We can migrate the shares' NTFS permissions and share permissions ... For NTFS permissions, we can use the Windows 2000 Resource Kit ... Copy all the data from the old file server to target file server. ...
    (microsoft.public.windows.server.migration)
  • Permission for folders on file servers
    ... file server.I am the administrator for the file server. ... My problem is I have set Modify permissions for users to specific ... permissions but this enables them to create/delete sub folders inside ... folders the ownership of the folder is with them. ...
    (microsoft.public.windows.server.general)

Loading