Robocopy


Ztruker

Well-known member
Member
VIP
Local time
7:45 AM
Posts
181
Location
Space Coast of Florida
OS
Windows 11 Pro X64 22H2 22621.1848
Trying to sync (copy via robocopy) a drive from my work desktop to a NAS 2TB hard drive.
Here is the batch file I've been using for a long time that is now not working:

Rem Copy new or changed files from "er2_d" to NAS
robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" /E /XD "Dell Optiplex 5010 Backups" "Lenovo Ideacenter K450e Type 90B3 Backups" "$RECYCLE.BIN" "System Volume Information" /DCOPY:DAT /IS /R:0 /W:0 /B /XJD /XJF
pause

Above is with /R:0 /W:0 /B /XJD /XJF that I just added but it makes no difference except it now ends on the first error. What I want robocopy to do is ignore the error and continue. Any way to do that?
C:\Windows\System32>Rem Copy new or changed files from "er2_d" to NAS

C:\Windows\System32>robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" /E /XD "Dell Optiplex 5010 Backups" "Lenovo Ideacenter K450e Type 90B3 Backups" "$RECYCLE.BIN" "System Volume Information" /DCOPY:DAT /IS /R:0 /W:0 /B /XJD /XJF

-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------

Started : Thursday, April 11, 2024 3:49:01 PM
Source : \\Ascthrifter2\er2_d\
Dest : \\172.16.103.182\public\2022-06-23\

Files : *.*

Exc Dirs : Dell Optiplex 5010 Backups
Lenovo Ideacenter K450e Type 90B3 Backups
$RECYCLE.BIN
System Volume Information

Options : *.* /S /E /DCOPY:DAT /B /IS /XJF /XJD /R:0 /W:0

------------------------------------------------------------------------------

14 \\Ascthrifter2\er2_d\
2024/04/11 15:49:01 ERROR 5 (0x00000005) Changing File Attributes \\172.16.103.182\public\2022-06-23\
Access is denied.



------------------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 0 0 0 0 0 0
Bytes : 0 0 0 0 0 0
Times : 0:00:00 0:00:00 0:00:00 0:00:00
Ended : Thursday, April 11, 2024 3:49:01 PM

Edit: How do I stop the editor from changing : D to the smiley face?
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
Edit: How do I stop the editor from changing : D to the smiley face?
Just put it in a code box like you've done previously.
 

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
@Ztruker - is this an off-the-shelf NAS, or one that you built yourself?

Either way - any recent NAS software updates?
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Edit: How do I stop the editor from changing : D to the smiley face?
Place [plain] [/plain] tags around it, like this [plain]:D[/plain] to get :D instead of :D
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
@Ztruker - is this an off-the-shelf NAS, or one that you built yourself?

Either way - any recent NAS software updates?
Its a NSA nas. No recent updates available, it's pretty old.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
Place [plain] [/plain] tags around it, like this [plain]:D[/plain] to get :D instead of :D
Thanks Shawn, that did the trick.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
I don't think you need the quotes here: robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" as there is no space between anything, I have seen where you need them and not need them causing problems. The other quotes are needed due to the spaces.

Your error is saying access denied...which points me to the username/password for the NAS. Can you access the NAS from an explorer window? It might prompt you for a username/password. Anyway, something to check if you haven't.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    AMD Ryzen 7 5800X
    Motherboard
    GIGABYTE B550 AORUS ELITE AX V2
    Memory
    32GB
    Graphics Card(s)
    Nvidea??
    Sound Card
    MB Sound only
    Hard Drives
    m2.nvme
    PSU
    Seasonic Focus
    Case
    Cougar
    Cooling
    Enermax Liquid CPU
    Keyboard
    Logitech K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    2.5 GB
    Browser
    BRAVE
    Antivirus
    Windows Defender
Here is the batch file I've been using for a long time that is now not working:

Have you checked your read / write access to "\\Ascthrifter2\er2_d" and "\\172.16.103.182\public\2022-06-23" in a cmd window?


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
I don't care about the error, I want robocopy to ignore errors and continue to the next file. There does not appear to be any way to do so.
Setting /R:0 /W:0 /B has no effect other than robocopy exiting on the first error rather than continuing to the next file.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
Have you checked your read / write access to "\\Ascthrifter2\er2_d" and "\\172.16.103.182\public\2022-06-23" in a cmd window?


Denis
Yes, I've checked them multiple times. As far as I can tell everything is setup correctly. Set to Everyone, Full control.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
I don't think you need the quotes here: robocopy "\\Ascthrifter2\er2_d" "\\172.16.103.182\public\2022-06-23" as there is no space between anything, I have seen where you need them and not need them causing problems. The other quotes are needed due to the spaces.

Your error is saying access denied...which points me to the username/password for the NAS. Can you access the NAS from an explorer window? It might prompt you for a username/password. Anyway, something to check if you haven't.
Agree, quotes not needed but cause no harm. Done more from habit than anything. I can access the NAS and write to it most of the time with no problem. I've been using this batch file which uses robocopy for several years with no problems. It was just this last time I tried to use it that I ran into these access denied errrors.

But again, that is not what I care about here. I want to know how I can get robocopy to ignore the error and continue with the next file copy.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
Extremely old post with a similar error over at StackOverflow, with 4 different solutions proposed.


And then there is this:


/NDL and /NFL Might make it a bit easier to see which files it is sticking on, and the OP's mention of _MACOSX may not be of use to you, but worth mentioning.
 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
Actually, this one might help, as there is a powershell script proposed to

fix this automatically

 

My Computers

System One System Two

  • OS
    Windows 11 23H2 Current build
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 9 3950X
    Motherboard
    MSI MEG X570 GODLIKE
    Memory
    4 * 32 GB - Corsair Vengeance 3600 MHz
    Graphics Card(s)
    EVGA GeForce RTX 3080 Ti XC3 ULTRA GAMING (12G-P5-3955-KR)
    Sound Card
    Realtek® ALC1220 Codec
    Monitor(s) Displays
    2x Eve Spectrum ES07D03 4K Gaming Monitor (Matte) | Eve Spectrum ES07DC9 4K Gaming Monitor (Glossy)
    Screen Resolution
    3x 3840 x 2160
    Hard Drives
    3x Samsung 980 Pro NVMe PCIe 4 M.2 2 TB SSD (MZ-V8P2T0B/AM) } 3x Sabrent Rocket NVMe 4.0 1 TB SSD (USB)
    PSU
    PC Power & Cooling’s Silencer Series 1050 Watt, 80 Plus Platinum
    Case
    Fractal Design Define 7 XL Dark ATX Full Tower Case
    Cooling
    NZXT KRAKEN Z73 73.11 CFM Liquid CPU Cooler (3x 120 mm push top) + Air 3x 140mm case fans (pull front) + 1x 120 mm (push back) and 1 x 120 mm (pull bottom)
    Keyboard
    SteelSeries Apex Pro Wired Gaming Keyboard
    Mouse
    Logitech MX Master 3S | MX Master 3 for Business
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
    Browser
    Nightly (default) + Firefox (stable), Chrome, Edge
    Antivirus
    Defender + MB 5 Beta
  • Operating System
    ChromeOS Flex Dev Channel (current)
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5470
    CPU
    Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz, 2501 Mhz, 2 Core(s), 4 Logical Processor(s)
    Motherboard
    Dell
    Memory
    16 GB
    Graphics card(s)
    Intel(R) HD Graphics 520
    Sound Card
    Intel(R) HD Graphics 520 + RealTek Audio
    Monitor(s) Displays
    Dell laptop display 15"
    Screen Resolution
    1920 * 1080
    Hard Drives
    Toshiba 128GB M.2 22300 drive
    INTEL Cherryville 520 Series SSDSC2CW180A 180 GB SATA III SSD
    PSU
    Dell
    Case
    Dell
    Cooling
    Dell
    Mouse
    Logitech MX Master 3S (shared w. Sys 1) | Dell TouchPad
    Keyboard
    Dell
    Internet Speed
    AT&T LightSpeed Gigabit Duplex Ftth
It's scrapping the bottom of the barrel but
- I have always used full paths after /XD
- I have never used /IS & don't know if it has any peculiarities
but, if they used to work & no longer work, I don't see them as the cause of the problem.

I've checked them multiple times. As far as I can tell everything is setup correctly. Set to Everyone, Full control.
I meant testing read-write access within a cmd window.
- Try to read a file in the source folder.
- Try to write some rubbish to the destination folder.


Denis
 
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Extremely old post with a similar error over at StackOverflow, with 4 different solutions proposed.


And then there is this:


/NDL and /NFL Might make it a bit easier to see which files it is sticking on, and the OP's mention of _MACOSX may not be of use to you, but worth mentioning.
/R:0 /W:0 /B does not help. Robocopy gets the error and exits, it does not ignore the error and continue with the next copy.

I don't care what file gets the error, I just want to ignore it and continue. That does not seem to be possible with Robocopy.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
It's scrapping the bottom of the barrel but
- I have always used full paths after /XD
- I have never used /IS & don't know if it has any peculiarities
but, if they used to work & no longer work, I don't them as the cause of the problem.


I meant testing read-write access within a cmd window.
- Try to read a file in the source folder.
- Try to write some rubbish to the destination folder.


Denis
I successfully copy thousands of files in the command window with Robocopy, just a few get errors, which I don't care about. I only want Robocopy to ignore the error and continue to the next file copy.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
Actually, this one might help, as there is a powershell script proposed to



Again, trying to fix the error that I don't care about instead of getting Robocopy to ignore the error to continue copying.
 

My Computer

System One

  • OS
    Windows 11 Pro X64 22H2 22621.1848
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz 4th Gen
    Memory
    16.0GB PC3-12800 DDR3 SDRAM
    Graphics Card(s)
    EVGA GeForce GTX 780
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Samsung C27F398 27" Curved
    Screen Resolution
    1920x1080
    Hard Drives
    1.0TB Samsung QVO 860 SSD SATA-6GB;
    2TB Seagate ST2000NM0011 72K SATA-6GB;
    2TB Seagate ST2000DM006-2DM164 72K SATA-6GB
    PSU
    CoolerMaster MasterWatt 550 Watt Semifanless Modular
    Keyboard
    Dell USB (KVMS)
    Mouse
    Logitec USB (KVMS)
    Internet Speed
    484.75MB Down, 23.59MB Up
    Browser
    Firefox, Edge - eM Client Pro for E-Mail
    Antivirus
    Windows Defender; MBAM Premium
    Other Info
    Purchased December 2013, many upgrades since then
I successfully copy thousands of files in the command window with Robocopy, just a few get errors, which I don't care about. I only want Robocopy to ignore the error and continue to the next file copy.
My post was an attempt to help you diagnose the cause of the error as a step towards finding a solution that allows your script to proceed.


Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447

Latest Support Threads

Back
Top Bottom