Microsoft KB Archive/140972

From BetaArchive Wiki

Article ID: 140972

Article Last Modified on 2/20/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51



This article was previously published under Q140972


SUMMARY

The SCOPY command from Windows NT Resource Kit is used to copy files and folders to and from Windows NT File System (NTFS) partitions with the security of the folders and files intact. The format for the command is:

scopy <Source> <Destination> [/o] [/a] [/s]

Example:

scopy e:\testdata f:\testdata /o /a /s

This example will copy the information from the Testdata folder on drive E to the Testdata folder on drive F. The destination folder on the root of the destination drive must be present prior to executing the SCOPY command.

There are three switches that can be used with the command. The switches are:

   /o   Copies the existing owner security information to the
        destination folder.

   /a   Copies the existing auditing information to the destination
        folder. In order for this to work properly the Group the user is
        a member of must have the Manage Auditing and Security Log user
        right. This user right is obtained through User Right Policy
        menu in User Manager for Domains.

   /s   Copies sub-folders.
                

MORE INFORMATION

When using the SCOPY command with either the AT command or WinAT scheduler you must edit the Scheduler Service so that the service logs on with an account that has administrative privileges:

Windows NT 3.5, 3.51, 4.0

  1. Double-click Control Panel in the Main Program Group.
  2. Double-click Services.
  3. Double-click Schedule Service.
  4. In the box labeled Log On As, click This Account.
  5. Add a user account having administrative rights to the system.
  6. Enter the account Password and Confirm Password.
  7. Click OK.

Windows 2000

  1. Click Start, point to Programs, point to Accessories, point to System Tools, click Scheduled Tasks.
  2. Click Advanced and then click AT Service Account.
  3. In the AT Service Account Configuration box, click This Account.
  4. Add a user account having administrative rights to the system.
  5. Enter the account Password and Confirm Password.
  6. Click OK.

You can schedule the SCOPY command to run anytime by either using the AT command or using the Command Scheduler in the Resource Kit.


Additional query words: prodnt nthowto

Keywords: KB140972