1. AvaLogan's Avatar
    Hi
    can you help me, I don't find any way to just copy files that is in use to our server in HQ via robocopy .
    also share permissions not copied to the destination server!
    RyderDiego likes this.
    05-04-2020 07:09 AM
  2. RyderDiego's Avatar
    as per my experience robocopy can't copy open files . share permissions are in the registry, not part of the file system. Robocopy handles NTFS permissions with the command noted. For shares, you need to copy registry entries.

    https://support.microsoft.com/en-us/...windows-shares

    Generally I use the following command

    Robocopy "SOURCE" "DESTINATION" /E /COPYALL /MIR /Z /ZB /R:2 /W:2 /DCOPY:T /XD "EXCLUDED FILE PATHS IF NEEDED" /LOG:C:\LOG.txt /NP /TEE

    /E - Copy Subfolders, including Empty Subfolders
    /Z - Copy files in restartable mode
    /ZB - Use restartable mode; if access denied use Backup mode.
    /TBD - Wait for sharenames To Be Defined (retry error 67)
    /NP - No Progress - don’t display % copied
    /V - Produce Verbose output log, showing skipped files
    /XD - eXclude Directories matching given names/paths
    /DCOPY:T - Copy Directory Timestamps
    /COPYALL - Copy ALL file info
    /MIR - MIRror a directory tree
    /TEE - Output to console window, as well as the log file

    [link removed]
    Last edited by HelloNNNewman; 05-05-2020 at 06:59 AM. Reason: spam link removed
    AvaLogan likes this.
    05-05-2020 06:37 AM
  3. AvaLogan's Avatar
    RyderDiego thanks for response , your comment means that no way to copy open files or to copy share permissions .
    copying registry entries seems to be something that will take to much time
    05-06-2020 06:30 AM
  4. AvaLogan's Avatar
    Hi again RyderDiego
    a friend informed me that there are some programs that can handle this problem and recommended teracopy, gsrichcopy 360, peersync and securecopy, as per your experience, any advice?
    05-08-2020 06:56 AM
  5. AvaLogan's Avatar
    thanks to this community and I would share how my problem solved, my problem solved via gs richcopy 360 which recommended by a friend, I can now copy open files, also shared permissions copied without any problem, thanks to Ryder Diego for trying to help me via his first comment .
    05-10-2020 01:07 PM

Similar Threads

  1. Replies: 2
    Last Post: 05-04-2020, 04:15 PM
  2. Best Xbox games coming in May: Ghost Files 2, Professional Farmer, and more
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 05-03-2020, 12:11 PM
  3. Here's what emeralds are for in Minecraft Dungeons, and how to use them
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 05-02-2020, 12:11 PM
  4. Here's how to find and collect all the secret chests in Minecraft Dungeons
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 05-02-2020, 07:20 AM
  5. Assassin's Creed Valhalla: Each special edition and what's in them
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 05-01-2020, 12:11 PM
LINK TO POST COPIED TO CLIPBOARD