Windows 10: robocopy fails at the folder My Music

Discus and support robocopy fails at the folder My Music in Windows 10 Software and Apps to solve the problem; 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.... Discussion in 'Windows 10 Software and Apps' started by Bellist, Mar 29, 2025.

  1. Bellist Win User

    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. robocopy runs as expected until about the middle. This Documents folder does not have a sub folder named My Music. Even so, in the mirror folder a My Music folder is created. In the log file I see: New Dir 0 C:\Users\belli\Documents\My Music\ 2025/03/29 14:46:27 ERROR 5 0x00000005 Time-Stamping Destination

    :)
     
    Bellist, Mar 29, 2025
    #1

  2. Robocopy copies folders not in Documents to my backup Documents folder on 2nd drive.

    Two things:

    • You must surroound your folder names with double quotes:

      robocopy "C:\Users\my name\Documents . . ." "D:\Dropbox\my name\Documents
      . . ."
    • Robocopy often hides target folders, causing users to think they are missing. Look for hidden folders.
     
    Frederik Long, Mar 29, 2025
    #2
  3. Robocopy failing on files in folder synced to OneDrive

    Robocopy is failing on files in folder synced to OneDrive. I am getting this error

    New File 31338 C:\Clancy\A_Prime8\AA_FY23\Microsoft\Program - TerryClancy\Guides\MigratingCustomersFromXXXXToYYYY.docx

    2023/05/10 10:59:51 ERROR 1 (0x00000001) Copying File C:\Clancy\A_Prime8\AA_FY23\Microsoft\Program - TerryClancy\Guides\MigratingCustomersFromXXXXToYYYY.docx

    Incorrect function.

    To remove One Drive from the equation I first paused (did not help) and then stopped OneDrive, that did not help.

    If I then open the doc in word and save it to the same location and to a different location then the copy in the same location still fails and the copy in the new location fails. ICACLS shows the same attributes on those two files. Permissions also look to be the same and I am using /B in my RObocopy command from an elevated command prompt. Here is the Robocopy command:

    ROBOCOPY C:\Clancy D:\BUP\TCRazerPC\Clancy /XD Search SearchTest1 /MT:32 /MIR /R:2 /W:1 /FFT /B /TEE /LOG:C:\BatRun\Logs\BUP2D_%clancydatetime%-ROBOLOG1-.TXT

    Any help appreciated robocopy fails at the folder My Music :)

    Terry Clancy
     
    Terry Clancy (PRIME 8 LLC), Mar 29, 2025
    #3
  4. TWWade Win User

    robocopy fails at the folder My Music

    Robocopy copies folders not in Documents to my backup Documents folder on 2nd drive.

    I currently have 2 PCs with Windows 10 that I backup Documents, Music, Pictures, and Videos to a 3rd PC folder that is backed up to the Cloud. On my PC, the Music, Pictures and Videos folders are not under Documents. They are at the same level as Documents
    under my user name.

    I had been using SyncToy to do the copying, but had to switch to Robocopy because SyncToy does not work right under Windows 10. All works fine. The SyncToy command and then the Robocopy command run on the 3rd PC.

    I want to eliminate the 3rd PC and move the backup folder to a 2nd hard drive on my PC. That is where the problem begins. Robocopy will now run on my PC. When Robocopy copies the Document folder to the backup Documents folder, it copies 'My Music', 'My
    Pictures' and 'My Videos' to the backup Documents folder. These folders do not exist in the Documents folder. It appears that there is some link that connects 'My Music' to the separate Music folder. The same applies to 'My Pictures' and 'My Videos'.

    This is the Robocopy command that I want to use to copy the Documents data to the backup Documents folder:

    robocopy C:\Users\my name\Documents C:\Users\my name\Dropbox\PC1\Documents /mir >> c:\robocopybackup_%date:~-4,4%%date:~-10,2%%date:~-7,2%.log

    I tried adding the /XL Robocopy option to block the copy of these unwanted folders to my backup:

    robocopy C:\Users\my name\Documents D:\Dropbox\my name\Documents /XD "C:\Users\my name\Documents\My Music","C:\Users\my name\Documents\My Pictures","C:\Users\my name\Documents\My Videos" /mir >> c:\robocopybackup_%date:~-4,4%%date:~-10,2%%date:~-7,2%.log

    This did not help. Please tell me what to do.....

    Thank you!
     
    TWWade, Mar 29, 2025
    #4
Thema:

robocopy fails at the folder My Music

Loading...
  1. robocopy fails at the folder My Music - Similar Threads - robocopy fails folder

  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 copies unwanted folders

    in Windows 10 Gaming
    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...
  4. 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...
  5. My Music Folder is in Pictures

    in Windows 10 Network and Sharing
    My Music Folder is in Pictures: All of my music on my Windows 10 Professional computer is in my Pictures folder. If I go to c:/users/my profile I do not see a folder for Music. Is that correct? I would like the folder for music to be separate but I don't know how to do that without causing issues....
  6. Robocopy failing on files in folder synced to OneDrive

    in Windows 10 Gaming
    Robocopy failing on files in folder synced to OneDrive: Robocopy is failing on files in folder synced to OneDrive. I am getting this error New File 31338 C:\Clancy\A_Prime8\AA_FY23\Microsoft\Program - TerryClancy\Guides\MigratingCustomersFromXXXXToYYYY.docx 2023/05/10 10:59:51 ERROR 1 0x00000001 Copying File...
  7. Robocopy failing on files in folder synced to OneDrive

    in Windows 10 Software and Apps
    Robocopy failing on files in folder synced to OneDrive: Robocopy is failing on files in folder synced to OneDrive. I am getting this error New File 31338 C:\Clancy\A_Prime8\AA_FY23\Microsoft\Program - TerryClancy\Guides\MigratingCustomersFromXXXXToYYYY.docx 2023/05/10 10:59:51 ERROR 1 0x00000001 Copying File...
  8. Robocopy element fail's in Robocopy but works fine in Copy command.

    in Windows 10 Gaming
    Robocopy element fail's in Robocopy but works fine in Copy command.: Command Prompt Copy Command Prompt works fine: Copy "C:\Users\Dennis\Documents\Tax Data\*.T*" "F:\Tax Data"Following command works fine except the Bolded element: ~*.T*Robocopy "C:\Users\Name\Documents\Tax Data" "F:\Tax Data" *.* /XF ~*.xls* ~*.docx ~*.pdf ~*.txt ~*.T* /E /XO...
  9. Robocopy element fail's in Robocopy but works fine in Copy command.

    in Windows 10 Software and Apps
    Robocopy element fail's in Robocopy but works fine in Copy command.: Command Prompt Copy Command Prompt works fine: Copy "C:\Users\Dennis\Documents\Tax Data\*.T*" "F:\Tax Data"Following command works fine except the Bolded element: ~*.T*Robocopy "C:\Users\Name\Documents\Tax Data" "F:\Tax Data" *.* /XF ~*.xls* ~*.docx ~*.pdf ~*.txt ~*.T* /E /XO...
  10. Why does Robocopy fail this folder?

    in Windows 10 Backup and Restore
    Why does Robocopy fail this folder?: I have this weird folder in my windows 10 system drive, this doesn't seem to be a junction point so I don't know what it is, please see picture. I am trying to copy it with robocopy from an admin CLI from a WindowsPE off a Windows Installation Media USB stick, with the...