RE: Filesystem migration & purging old/unused files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Steven Liu (stevenl_at_online.microsoft.com)
Date: 02/13/04


Date: Fri, 13 Feb 2004 05:41:27 GMT

Hi Phil,

To migrate the files and printers, we can perform the following steps. With
the steps, all the files and security are migrated. You need not to use the
special utility to check it.

Share migration is a frequently-asked question in Server Migration queue.

 

We can migrate the shares' NTFS permissions and share 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. For share permissions, we can backup and restore them by
saving and restoring the following registry key:

 

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

 

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 shares' folder paths on the target
file server are the same as the ones on the source file server). This is
necessary for us to migrate the share information.

 

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:

 

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

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

2.3) 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:

 

141589 How to Restore Share Definitions To Another Server

http://support.microsoft.com/?id=141589

We can use a tool called Microsoft Print Migrator (V3.0) to migrate
printers:

 

For your reference:

================

Print Server Upgrade, Migration, and Interoperability

http://www.microsoft.com/windows2000/technologies/fileandprint/print/miginte
rop.asp

 

Print Migrator 3.0 Download

http://www.microsoft.com/windows2000/technologies/fileandprint/print/downloa
d.asp

 

Microsoft Print Migrator 3.0 Document

http://www.microsoft.com/windows2000/docs/PrintMigrator3.doc

Thanks for using Microsoft Newsgroup!

Sincerely,

Steven Liu [MSFT]

Microsoft Online Partner Support

MCSE 2000

Get Secure! - www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.



Relevant Pages

  • Re: Filesystem migration & purging old/unused files
    ... This would make the migration run quicker and clean up my servers filesystem ... > 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: File server Migration
    ... Did you have migrated user accounts from Windows 2000 domain to Windows ... 322970 How to Troubleshoot Inter-Forest sIDHistory Migration with ADMTv2 ... Copy all the data from the old file server to target file server. ...
    (microsoft.public.windows.server.migration)
  • 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)