Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
How to Copy Files and Maintain NTFS and Share Permissions
Article ID: 174273 - View products that this article applies to.
This article was previously published under Q174273
The procedure in this article outlines a method for copying NTFS files or directory structures while maintaining NTFS permissions and restoring Share Level permissions. This method includes copying between partitions, hard drives, or computers.
Copying multiple files and/or directory structures using the Windows NT Server 4.0 Resource Kit utilities Scopy.exe and PermCopy.exe in combination with each other, allows for maintaining NTFS permissions and the restoring of Share Level permissions. This procedure applies to the copying of directories and files between NTFS partitions only. This procedure can be used for copying files and directories across partitions, drives, or computers.
SCopy is a command-line utility used to copy files and folders from NTFS partitions with their security intact. This utility can be found in the Windows NT Server Resource Kit. Scopy syntax and available switches are listed as follows:
Scopy tries to use the following user privileges in these cases:
Scopy [source] [destination] [/o] [/a] [/s] Where: [source] specifies the source for files to be copied. [destination] specifies where to copy files to. Switches: /o copies owner security information. /a copies security auditing information. /s copies all files in sub-folders. /? shows all command-line options.
PermCopy is a command-line utility that copies share-level permissions (access control lists [ACLs]) from one share to another. This utility can be found in the Windows NT Server 4.0 Resource Kit. Syntax is as follows:
Permcopy \\[source computer] [share] \\[destination computer] [share]NOTE: Copying permissions to an administrative share located on an x86 computer will cause Services.exe to crash. This notice and further information may be found in the Windows NT Server 4.0 Resource Kit.
168470NOTE: XCopy replaced SCopy in later versions of Resource Kits. Customers with newer Resource Kits should search for XCopy instead of SCopy.
(http://support.microsoft.com/kb/168470/EN-US/ )SCopy Copies Local Domain Group to Other Domains.