Windows 10: Robocopy Hanging

Discus and support Robocopy Hanging in Windows 10 Installation and Upgrade to solve the problem; I have a command file to do backup: Set LogFileName=F:\VBoxBackup_Purge_NP_%DATE:~-4%-%DATE:~-10,-8%-%DATE:~-7,-5%.log DATE /T >> %LogFileName% TIME /T... Discussion in 'Windows 10 Installation and Upgrade' started by Saberman_007_, Nov 18, 2024.

  1. Robocopy Hanging


    I have a command file to do backup: Set LogFileName=F:\VBoxBackup_Purge_NP_%DATE:~-4%-%DATE:~-10,-8%-%DATE:~-7,-5%.log DATE /T >> %LogFileName% TIME /T >> %LogFileName% ROBOCOPY V:\VirtualBox\ F:\VirtualBox\ /DCOPY:T /E /NP /XO /LOG+:%LogFileName% /TEE /W:5 /R:1 /PURGE TIME /T >> %LogFileName% DATE /T >> %LogFileName% It keeps getting stuck on the same two files both of which are shown below: 9 V:\VirtualBox\Machines\W10PX64-2019X32\Snapshots\ Newer 26.0 m {0612efcd-386d-4c57-816b-a1dcfd5348b0}.vdi Newer 7.0 m {c0f1fc56

    :)
     
    Saberman_007_, Nov 18, 2024
    #1

  2. Robocopy hangs, dependant on working directory

    Hi lb483,



    Welcome to Microsoft Community. I'm Mosken, let me help you.



    According to your description, I knew that there is no log files as you would expect when you copy files with Robocopy, even if you have included the /log parameter. Is that right?



    Generally, running Command Prompt requires basic permissions, you can successfully copy the file that means you have sufficient permissions to access (read, write, modify) the source and destination locations and their data, but I still suggest you try run the Command Prompt as an administrator and then Execute the command again.



    Then I suggest you redirect the log file to a directory other than the source and destination when you use /log parameter, such as a non-root directory on a non-system partition or the desktop.



    You can visit robocopy | Microsoft Docs to get more detailed information about Robocopy, hope it will help you.

    The above steps are provided based on the information I have learned so far, and hope that could help you a little. If the problem still exists, please provide us a full PSR from the beginning, through the whole process, and until the error message is displayed, so we can further investigate.



    Best Regards,

    | Microsoft Community Support Specialist
     
    Mosken-MSFT, Nov 18, 2024
    #2
  3. Windows 10 Search hangs

    Hi,

    To isolate your issue, please provide us the following information:

    • Were there any changes made on your computer before this issue came up?
    • What are the troubleshooting steps you have done so far?
    Furthermore, we suggest that you follow the steps provided by Parth P Patel.

    Let us know how it goes.
     
    Melowin Mar, Nov 18, 2024
    #3
  4. Robocopy Hanging

    Robocopy speed question

    I have 2 large files (total 210 GB) being copied by Robocopy between 2 external drives. Task Manager under "Disk" indicates a transfer speed of 30 MB/s.

    A straightforward calculation indicates that it should take 117 minutes to complete the transfer. In practice, however, I am noticing a time to completion of about 250 minutes, or more than double the theoretical calculation.

    Can anyone please explain this large discrepancy or, alternatively, suggest some way to improve on this performance? With Robocopy I use switches /mir /xo /mt:80.

    All suggestions appreciated.
     
    IvanDenisovich, Nov 18, 2024
    #4
Thema:

Robocopy Hanging

Loading...
  1. Robocopy Hanging - Similar Threads - Robocopy Hanging

  2. robocopy fails at the folder My Music

    in Windows 10 Gaming
    robocopy fails at the folder My Music: I’m using robocopy to create a mirror backup folder. It doesn’t finish and the reason seems strange. I’m working from folder C:\Users\belli\Documents. This is separate from the OneDrive\Documents, as I’m not using OneDrive that folder still exists and some programs use it....
  3. robocopy fails at the folder My Music

    in Windows 10 Software and Apps
    robocopy fails at the folder My Music: I’m using robocopy to create a mirror backup folder. It doesn’t finish and the reason seems strange. I’m working from folder C:\Users\belli\Documents. This is separate from the OneDrive\Documents, as I’m not using OneDrive that folder still exists and some programs use it....
  4. Robocopy renames the target directory to the same directory once done running

    in Windows 10 Gaming
    Robocopy renames the target directory to the same directory once done running: Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and...
  5. Robocopy renames the target directory to the same directory once done running

    in Windows 10 Software and Apps
    Robocopy renames the target directory to the same directory once done running: Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and...
  6. Robocopy copies unwanted folders

    in Windows 10 Software and Apps
    Robocopy copies unwanted folders: So, I'm working on a script that, among other things, backs up Documents folder to USB drive. The issue that I'm having is the same as this guy...
  7. Robocopy Hanging

    in Windows 10 Gaming
    Robocopy Hanging: I have a command file to do backup: Set LogFileName=F:\VBoxBackup_Purge_NP_%DATE:~-4%-%DATE:~-10,-8%-%DATE:~-7,-5%.log DATE /T >> %LogFileName% TIME /T >> %LogFileName% ROBOCOPY V:\VirtualBox\ F:\VirtualBox\ /DCOPY:T /E /NP /XO /LOG+:%LogFileName% /TEE /W:5 /R:1 /PURGE TIME...
  8. Robocopy Hanging

    in Windows 10 Software and Apps
    Robocopy Hanging: I have a command file to do backup: Set LogFileName=F:\VBoxBackup_Purge_NP_%DATE:~-4%-%DATE:~-10,-8%-%DATE:~-7,-5%.log DATE /T >> %LogFileName% TIME /T >> %LogFileName% ROBOCOPY V:\VirtualBox\ F:\VirtualBox\ /DCOPY:T /E /NP /XO /LOG+:%LogFileName% /TEE /W:5 /R:1 /PURGE TIME...
  9. Robocopy hangs, dependant on working directory

    in Windows 10 Gaming
    Robocopy hangs, dependant on working directory: I'm running robocopy to mirror two folders and have come across a strange situation. I am using the /log switch and when the copy started, no log file was being produced. Further investigation showed that the working directory where the log file was being written didn't have...
  10. Robocopy hangs, dependant on working directory

    in Windows 10 Software and Apps
    Robocopy hangs, dependant on working directory: I'm running robocopy to mirror two folders and have come across a strange situation. I am using the /log switch and when the copy started, no log file was being produced. Further investigation showed that the working directory where the log file was being written didn't have...