Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Robocopy Backup - ERROR 5 (0x00000005)

19 Aug 2013   #11

Windows 7 Professional 64 bit

Hi Golden,

Thanks for your feedback again.

I would have thought it more logical if it was the My Documents / Documents issue that all copied files would result in errors, but the vast majority of the files backup fine.

It looks like this will remain unresolved and I'll have to write an alternative backup script method.

Thanks again for your patience. :)

My System SpecsSystem Spec
22 Aug 2013   #12
Microsoft MVP

Windows 7 Ult. x64

No worries. Sorry we couldn't solve it. Let us know if you crack it one day.
My System SpecsSystem Spec
19 Jun 2014   #13

Windows 7 Ultimate x64

Yeah yeah I know its a while since last post but I have same problem with robocopy on windows 7

I fixed it using Xcopy:

xcopy /s/e/i/d/r/k/y/z *.* <dest>

Using robocopy evenwith /zb and /copy: DT failed, but the above xcopy picks up on those files that robocopy fails and copies those over...

Using xcopy for backups
My System SpecsSystem Spec

08 Apr 2019   #14
Jordan Nash


I keep having the same problem. The keeps saying "Access is denied. with all the files" I'm doing this from home to my external hard drive. Here is the command I'm using.

robocopy "c:" "G:\Win7_RobocopyBackup\c" /e /copyall /xo /log:"robolog
.txt" /z /r:3 /w:6
My System SpecsSystem Spec

 Robocopy Backup - ERROR 5 (0x00000005)

Thread Tools

Similar help and support threads
Thread Forum
ROBOCOPY - Create Backup Script
How to Create a Backup Script using ROBOCOPY Command There are many paid and free software solutions available to backup critical data and files on a computer system. Many users, however, are unaware of an inbuilt Windows 7 command called ROBOCOPY (Robust File Copy) that allows users to...
my backup script using robocopy
robocopy /S /E /MOV %USERPROFILE%\Documents\ G:\backup\Documents\ robocopy /S /E /MOV %USERPROFILE%\Pictures\ G:\backup\Pictures\ robocopy /S /E /MOV %USERPROFILE%\Downloads\ G:\backup\DownloadS\ robocopy /S /E /MOV %USERPROFILE%\Favorites\ G:\backup\Favorites\ robocopy /S /E /MOV...
Backup and Restore
Robocopy ERROR 5 (0x00000005) and Corrupted User Permissions
I'm trying to robocopy a large folder from the command line (run as Administrator) and on certain files I get an error 5 "Access Denied." Looking at the files' security reveals that the only user with access is a garbled, nonsensical user name as seen here: ...
General Discussion
Robocopy backup for personal folders
I have created a batch file for copying my Documents folder to an external hard drive: The log file shows that it is backing up C:\users\USERNAME\documents\My Music and C:\users\USERNAME\documents\My Pictures. That's fine, because I want those backed up anyway, but when I go to...
Backup and Restore
Anyone use robocopy to backup?
Evening all, Just curious to know if anyone uses the built in utility to backup software on your machine, im trying to backup my itunes folder to an external HD but having a few issues to get this to work properly! I also use sync toy for backing up but just really want to know what everyone...
Backup and Restore

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:41.
Twitter Facebook