Using the Scopy Command with AT or WinAT Scheduler

Last reviewed: January 17, 1996
Article ID: Q140972
The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5
  • Microsoft Windows NT Workstation version 3.51
  • Microsoft Windows NT Server version 3.51

SUMMARY

The Scopy command from Windows NT Resource Kit is used to copy files and directories to and from Windows NT File System (NTFS) partitions with the security of the directories 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 directory on drive E to the Testdata directory on drive F. The destination directory 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 directory.

   /a   Copies the existing auditing information to the destination
        directory. 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 all the subdirectories.

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:

  1. Doubleclick Control Panel in the Main Program Group.

  2. Doubleclick Services.

  3. Doubleclick Schedule Service.

  4. In the box labeled "Log On As", click "This Account".

  5. Add a user account which has administrative rights to the system.

  6. Enter the account Password and Confirm Password.

  7. 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.


KBCategory: kbhowto
KBSubcategory: ntreskit
Additional reference words: 3.50 3.51 prodnt nthowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 17, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.