Windows 10: Robocopy is not working as expected when the bytes are missing

Discus and support Robocopy is not working as expected when the bytes are missing in Windows 10 Gaming to solve the problem; Robocopy is not working as expected when the bytes are missing It return 0 or Null while finding the match and also used Regex Expression.Kindly... Discussion in 'Windows 10 Gaming' started by Ashish Jaya Karkera, Jul 1, 2025 at 8:27 AM.

  1. Robocopy is not working as expected when the bytes are missing


    Robocopy is not working as expected when the bytes are missing It return 0 or Null while finding the match and also used Regex Expression.Kindly Provide if bytes are missing on folder to identify the SizeOnDisk using PS command.Thanks!Ashish

    :)
     
    Ashish Jaya Karkera, Jul 1, 2025 at 8:27 AM
    #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, Jul 1, 2025 at 8:28 AM
    #2
  3. Backup and compare with robocopy not working

    You forgot to add the /NDL switch I noted previously. Without it, robocopy will list every blasted directory whether there are any differences or not. Add the /NDL and only file differences will be shown. Note that the full path for each file will still be shown. Also, missing and extra directories will still be shown. The /NDL will merely suppress the listing of every directory that is not relevant to actual differences.
     
  4. Robocopy is not working as expected when the bytes are missing

    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, Jul 1, 2025 at 8:28 AM
    #4
Thema:

Robocopy is not working as expected when the bytes are missing

Loading...
  1. Robocopy is not working as expected when the bytes are missing - Similar Threads - Robocopy working expected

  2. Robocopy is not working as expected when the bytes are missing

    in Windows 10 Software and Apps
    Robocopy is not working as expected when the bytes are missing: Robocopy is not working as expected when the bytes are missing It return 0 or Null while finding the match and also used Regex Expression.Kindly Provide if bytes are missing on folder to identify the SizeOnDisk using PS command.Thanks!Ashish...
  3. Search not working as expected

    in Windows 10 BSOD Crashes and Debugging
    Search not working as expected: Bought this laptop from my Aunt and trying to setup everything, it seems the search bar is not working. https://answers.microsoft.com/en-us/windows/forum/all/search-not-working-as-expected/2e7f73c0-c956-4ca9-9e22-bc1037834a93
  4. Search not working as expected

    in Windows 10 Gaming
    Search not working as expected: Bought this laptop from my Aunt and trying to setup everything, it seems the search bar is not working. https://answers.microsoft.com/en-us/windows/forum/all/search-not-working-as-expected/2e7f73c0-c956-4ca9-9e22-bc1037834a93
  5. Search not working as expected

    in Windows 10 Software and Apps
    Search not working as expected: Bought this laptop from my Aunt and trying to setup everything, it seems the search bar is not working. https://answers.microsoft.com/en-us/windows/forum/all/search-not-working-as-expected/2e7f73c0-c956-4ca9-9e22-bc1037834a93
  6. 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...
  7. 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...
  8. Backup not working as expected

    in Windows 10 Installation and Upgrade
    Backup not working as expected: Hi, I have W'10, and two external drives that I backup selected sub-directories to.The problem seems to have started when I added by second physical backup drive Drive_T and Drive_S.When I was staying with Drive_T only, backup worked fine. But now when I switch from Drive_T...
  9. Robocopy missing some files and folders

    in AntiVirus, Firewalls and System Security
    Robocopy missing some files and folders: We are planning to midgrade our fileserver from server 2012 R2 to 2019. When running robocopy to transfer files and fodders to 2012 R server to 2019, it shows no failed. However, if I check drive size and files copied on these two server, they are different.2012 R2 shows...
  10. Workgroup not working as expected

    in Windows 10 Ask Insider
    Workgroup not working as expected: Hi all I am having trouble getting my workgroup to work properly between my pc (ethernet) and laptop (wifi). My PC can see the shared folders from the laptop, but the laptop cannot see the shared folders from the PC. I note that under the network folder my laptop can see...