Article ID: 301940 - Last Review: November 1, 2006 - Revision: 1.2 How To Migrate Objects from One Domain to Another in Windows NTThis article was previously published under Q301940 On This PageSUMMARY
This article describes how to copy domain objects from one domain to another by using the tools that are provided in the Microsoft Windows NT 4.0 Resource Kit Supplement. NOTE: It is recommended that you test the steps that are described in this article in a test area before you use them in a production environment. The Resource Kit tools are:
158388
(http://support.microsoft.com/kb/158388/EN-US/
)
Useful Resource Kit Utilities for Domain Administrators
To Migrate Users and Groups to Another Domain
199878
(http://support.microsoft.com/kb/199878/EN-US/
)
Addusers Automates Creation of a Large Number of Users
245009
(http://support.microsoft.com/kb/245009/EN-US/
)
Batch Add Accounts Without Forcing a Password Change at Next Logon
To Create Shares RemotelyTo create or to delete shares on a remote server by using the Rmtshare.exe tool, use a command with the following syntax:rmtshare \\server[\sharename[=path [/printer]]] [/grant [user[:perms ]]] [/remove user][/users:number] [/unlimited] [/remark:"text"] /delete
An explanation of the syntax of the preceding command is:
For additional information, click the article number below to view the article in the Microsoft Knowledge Base: 155449
(http://support.microsoft.com/kb/155449/EN-US/
)
Batch Process to Create and Grant Access to Home Directories
To Copy File and Share PermissionsTwo tools are required to copy NTFS and share permissions: The Scopy.exe tool is used to copy NTFS file and folder permissions, and the Permcopy.exe tool is used to copy share permissions.To copy files and folders, and retain their NTFS file and folder permissions, use the Scopy.exe tool and the scopy source destination/o /a /s command, where "source" is the path to the source folder and "destination" is the path to the destination folder. The /o option copies the owner security information, /a copies the auditing information, and /s includes all of the files in the subfolders. The Scopy.exe tool cannot copy files to or from file systems that do not use security features, such as, file allocation table (FAT) and high-performance file system (HPFS). The Scopy.exe tool copies only NTFS file system security information. This tool cannot be used to copy share permissions. To copy the share permissions from one share to another by using the Permcopy.exe tool, use the permcopy \\source_server\share_name \\destination_server\share_name command, where "source_server\share_name" and "destination_server\share_name" are the universal naming convention (UNC) paths to the source and destination shares. NOTE: You cannot use the Permcopy.exe tool to copy the permissions of an administrative share (sharename$, such as, C$ or IPC$). If you copy the permissions to an administrative share that is located on an x86-based computer, the Services.exe program can stop responding. To Migrate Registry Keys, Services, and Other ObjectsThe Subinacl.exe tool can be used to obtain security information on files, directories, registry keys, and services, and to transfer this information from user to user, from group to group, and from domain to domain.To migrate other domain objects by using the Subinacl.exe tool, use a command with the following syntax: subinacl /object_type object_name /action=parameter /action=parameter
The object types that can be manipulated by the Subinacl.exe tool include:
An ExampleTo replace the security identifiers in all access control entries that contain "Domain1\Sales" with those of "Domain2\Sales", use the Subinacl.exe tool, and the following command:subinacl /replace=domain1\sales=domain2\sales
For more information about the syntax and the use of these tools, refer to the Rktools.hlp file in Windows NT Server 4.0 Resource Kit Supplement 3. | Article Translations
|
Back to the top
