RE: Migrating File servers
- From: v-miluo@xxxxxxxxxxxxxxxxxxxx (Mike Luo [MSFT])
- Date: Mon, 05 Mar 2007 05:59:35 GMT
Hello Pavan,
Thanks for posting!
At the File serve side, we can migrate the shared NTFS permissions and
shared permissions separately.
For NTFS permissions, we can use the Windows 2000 Resource Kit tool
robocopy.exe with the "/SEC" switch to copy the folders with their NTFS
permissions.
Note: NTFS permissions are only available when the hard disk is formatted
in NTFS.
For shared permissions, we can backup and restore them by saving and
restoring the following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares]
Here are the commonly used steps:
1. Copy all the data from the old file server to target file server.
Note: Please ensure that both the target file server and the source file
server have the same folder scheme (the shared folder paths on the target
file server are the same as the ones on the source file server).
If both the source and destination directories reside on NTFS volumes, we
can use Robocopy with the /SEC switch to copy NTFS permissions when copying
files to the same location on the target file server. This will ensure that
both the folder structures and their NTFS permissions are fully copied the
target file server.
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.
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:
a) Back up the above key on the target file server (for recovery purposes).
b) Back up the key on the source file server in to a reg file (registry
file).
c) Merge the reg file to the target file server.
3. Check if all of the share permissions have been successfully migrated to
the new file server. If not, we can try Permcopy.exe to copy share
permissions (Full Control, Read, and Change) from one existing share to
another.
permcopy \\SourceComputer SourceShare \\TargetComputer TargetShare
Reference:
For additional information, please see:
141589 How to Restore Share Definitions To Another Server
http://support.microsoft.com/?id=141589
125996 Saving and Restoring Existing Windows Shares
http://support.microsoft.com/?id=125996
Also, we can use a third-party tool Secure Copy to migrate the folders with
NTFS and share permissions:
http://www.smallwonders.com/securecopy.htm
Note: This response contains a reference to a third party World Wide Web
site. Microsoft is providing this information as a convenience to you.
Microsoft does not control these sites and has not tested any software or
information found on these sites; therefore, Microsoft cannot make any
representations regarding the quality, safety, or suitability of any
software or information found there. There are inherent dangers in the use
of any software found on the Internet, and Microsoft cautions you to make
sure that you completely understand the risk before retrieving any software
from the Internet.
Mike Luo
Microsoft Online Partner Support
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.
.
- Follow-Ups:
- RE: Migrating File servers
- From: Pavan Hotha
- RE: Migrating File servers
- Prev by Date: Re: Migrating File servers
- Next by Date: RE: share migration with ADMT v2
- Previous by thread: Re: Migrating File servers
- Next by thread: RE: Migrating File servers
- Index(es):
Relevant Pages
|