Over 1 million tech questions and answers.

Robocopy Backup - ERROR 5 (0x00000005)

Q: Robocopy Backup - ERROR 5 (0x00000005)

I'm wondering if anyone might be able to shed some light on why I am getting the following such errors when running a robocopy batch file (as administrator) which cause the backup script to stall (- albeit temporarily):

2013/07/30 21:10:43 ERROR 5 (0x00000005) Copying File C:\Users\Tim\My Documents\Harey 8-128.jpg
Access is denied.

Waiting 30 seconds... Retrying...

2013/07/30 21:12:20 ERROR 5 (0x00000005) Copying File C:\Users\Tim\My Documents\TimsData\Year1.pdf
Access is denied.

Waiting 30 seconds... Retrying...

2013/07/30 21:15:27 ERROR 5 (0x00000005) Copying File C:\Users\Tim\My Documents\TimsData\Tim\Heddon's Mouth - Printable Walk - South West Coast Path.htm
Access is denied.

Waiting 30 seconds... Retrying...

I am using the following backup command:

robocopy "%srcPath%\My Documents" "%dstPath%\My Documents" /b /v /ts /fp /bytes /tee /e /dcopy:t /copy:dt /a-:sh /xf desktop.* /np /log+:%logPath%\mwk1log.txt
I realise that if I limit the retries and wait time from the defaults the stall time will be shortened and the file(s) skipped. However, that does not resolve the issue why robocopy is having a problem copying the file(s).

I have found that if the erroring files are moved from the source location to the desktop, the following errors arethen recorded in the log:

2013/07/30 21:11:13 ERROR 2 (0x00000002) Copying File C:\Users\Tim\My Documents\Harey 8-128.jpg
The system cannot find the file specified.

2013/07/30 21:13:53 ERROR 2 (0x00000002) Copying File C:\Users\Tim\My Documents\TimsData\Year1.pdf
The system cannot find the file specified.

2013/07/30 21:15:57 ERROR 2 (0x00000002) Copying File C:\Users\Tim\My Documents\TimsData\Tim\Heddon's Mouth - Printable Walk - South West Coast Path.htm
The system cannot find the file specified.

... which is understandable as it has been moved. Then the backup script continues. But when I check the destination directory I find the file has been copied anyway!

Additional Notes:
The target device is an attached external USB drive.
I have already checked that the permissions on the files/folders concerned are correct.
The files affected appear to consistently be .jpg, .pdf or .htm files.
The files do not appear to be corrupt as they can be opened and worked on as required.
The batch file works fine apart from the intermittent errors copying files.

Any advice would be greatly appreciated.

Preferred Solution: Robocopy Backup - ERROR 5 (0x00000005)

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Robocopy Backup - ERROR 5 (0x00000005)


I have seen instances of a bug with the dcopy:t switch - try the script without that switch. You could also try the COPY:DATSOU switch, although I'm unclear if that copies the folder time stamps too.

robocopy "%srcPath%\My Documents" "%dstPath%\My Documents" /b /v /ts /fp /bytes /tee /e /copy:dt /a-:sh /xf desktop.* /np /log+:%logPath%\mwk1log.txt

Read other 9 answers

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:

I tried using the takeown command to take ownership from the command line but this had no effect. I tried deleting this user but it tells me that the permissions are inherited (even though the folder in which the file exists does not have this garbled user) Is there another command I can use to fix this? I have several hundred files in this folder with the same problem.

A:Robocopy ERROR 5 (0x00000005) and Corrupted User Permissions

I figured out the solution. I ran these commands on the directories:

takeown.exe /F * /A /R /D Y
icacls.exe * /grant Everyone:(F) /grant Guests:(F) /grant Users:(F) /T /C /Q

Read other 1 answers

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 else uses?

As for image backups you cant beat Macrium Reflect imo

A:Anyone use robocopy to backup?

I don't use it myself, but have you tried the Robocopy GUI? On the same site there is a write-up of the RichCopy tool.

I haven't tested RichCopy on Win7 but I have tested the Robocopy Gui and it works fine.

EDIT: I just downloaded and installed RichCopy and it appears to be working fine in Win7.

Read other 2 answers

Please help! A little info to get this issue resolved: using an administrator account, Windows 7, 64Bit. Approx. 6 laptops connected together with a RAID and printer that needs sharing capabilites, no internet connectivity allowed. When I select the printer
properties or any part of this printer I get an "Operation could not be completed (error 0x00000005). Access denied". I have tried to become the owner and again I get an error message. I am not able to remove device ether. Please let me know if there is any
other information that I need to add to get some help with this issue. i cant find much help online.

Read other answers

I have created a batch file for copying my Documents folder to an external hard drive:

robocopy C:\Users\USERNAME\Documents J:\Desktop-Backup\Documents /copyall /e /LOG+:c:\users\USERNAME\documents\backuplog.txt

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 J:\desktop-backup\Documents, the Music and Pictures folders aren't there (or anywhere else on the J: drive).
I have "view hidden files and folders" turned on. It seems that the files are actually there because my Documents folder is only 700MB, yet several GB have been taken up on the J: drive.
Anyone have any thoughts?

A:Robocopy backup for personal folders


Can you re-write your post and use some punctuation and paragraphing to make it easier to read please? I'm having a hard time working out your robocopy command lines.

See if this will help you:

ROBOCOPY - Create Backup Script


Read other 4 answers


I have a standard Windows 10 build and I'm using robocopy to backup my data to an external drive. The goal is just to capture all my data so if the PC fails/gets stolen etc. I can restore my data on to another PC.

I'm doing a backup of c:\users\ as this seems to capture all my data. Are there any other folders you think I should backup?

I've excluded the 'AppData' folder as this seems to have a lot of stuff which is not data. Is that OK or do you think that should be backed up? Are there any other folders you think I should skip?

Thank you very much for your comments.

Read other answers

I have the need and i was looking for the best combination of switches to backup a folder over the network but i had some doubt. I started from here:

robocopy D:\data \\Server_Share /mir /XA:SH /R:3 /W:5 /np /log:backup_log.txt

but the user is a bit worried to use the /mir switch who delete a folder in the destination if is removed from the source. So I thought to use the
/e switch:

robocopy D:\data \\Server_Share /e /XA:SH /R:3 /W:5 /np /log:backup_log.txt

In this case I copy all everytime a run the command overwriting folder and/or files with same name. Correct? If yes this could make the copy slower. So with the
/e swicth there is a way to tell "copy the file only if the file is newer"

What make some doubt is what i found on this link:

where are used the switch /e and /mir together:

robocopy F:\Data3 Q:\Backups\Data3 /e /mir /np /log+:backup_log.txt

if /mir is /e plus /purge has sense use them together?? what they do together?

Do you have any adivice? considering also that i have to backup over the network?

Read other answers

Hey all,

Well this place helped me write my first cmd script so i would like to share it with you all and hope you enjoy it.

This particular script allows you to back up selected files or folders from a client computer through to a server after answering a couple of questions.

Its a great script but unfortunantly i have no need for it as it does not meet our requirements any more (note i only wrote it last week ).

The script comes with a backup version, and a restore version... so the theory is that you can back up selected files and folders from one client to the server, then restore it from the server to a new client, all with simple prompts.

I have also commented throughout the batch file as much as i could so hopefully it should be fairly easy for any admin guys using it.

The items it backs up are:

My documents
All pst files on the system
NK2 file - outlook file that remembers email addresses when creating new email and entering email it automatically suggests previously used email addresses
Outlook signatures

Its easy to add extra things to this script aswell. Also it is fairly easy to create it to do all of the backups without any prompts...

basically this is a batch file that is simple, but i spend a day or so writing it, and im proud of my crappy script so if anyone can find any use for it please do try it.
(now i just have to work out how i upload it)...

Thank you and commends are definately welcome


Read other answers

I use the robocopy command all the time and it works perfectly, but for some reason I'm running into an issue. I'm
trying to copy the content of one network share to another. I've never had an issue before doing so.

I run the command like this: "robocopy n: x:\Misc /e /copy:dat /xo /zb /w:2 /r:2

Error message, "Error 4390 (0x00001126) Accessing Destination Directory x:\Misc The file or Directory is not a reparse point."
I did open CMD as an administrator prior to running command.

What is a reparse point and why does Microsoft need a reparse point for this particular copy job to copy these folders and files?
I noticed while searching for an answer I ran into this post:
This guy had the same issue but nothing was resolved.
If I use a 3rd party software like Teracopy I can copy just fine but not with robocopy.

Read other answers

I'm trying to use Robocopy to copy from My Documents to a network path similar to the following: \\it\shared documents\my folder. When I try to use Robocopy, I receive the following in the log file.

D:\Documents and Settings\<my user>\My Documents\TMI\
2008/09/29 13:05:45 ERROR 31 (0x0000001F) Changing File Attributes D:\Documents and Settings\<my user>\My Documents\TMI\
A device attached to the system is not functioning.

Googling this error code hasn't gotten me very far. Any ideas?

Read other answers

Hello All,

Am pretty new with robocopy, am getting below error when I'm trying to copy folders from one server to another server using robocopy below are the error I'm receiving in the log file.

Error 1 -- .1.txt:274352:2017/10/30 07:59:44 ERROR 1463 (0x000005B7) Copying File \\<IP>\d$\-=BNO-GRPS\BNO - Common\IT\Rock \master\Exceptions\AdobeMuse7.0-mul\Install Adobe Muse.app\Contents\Resources\Adobe Muse\Contents\Resources\META-INF\AIR\extensions\com.adobe.linguistics.extensions.HunspellNativeExtension\META-INF\ANE\MacOS-x86\HunspellNativeExtension.framework\HunspellNativeExtension
Error 2 -- .1.txt:274447:2017/10/30 07:59:45 ERROR 32 (0x00000020) Copying File \\<IP>\d$\-=BNO-GRPS\PKS-DATA\NHSD Documents  Documents du DGLHN\HSMBC   CLMHC\HSMBC Plaque Images  Images des plaques de la CLMHC\National Historic
Persons  Personnages historiques nationales\COSBY_~1.JPG

OS in both servers in Win2k8

Thanks in advance,

Read other answers

I am using robocopy to perform a data migration and running into an issue with copy...I am also trying to copy permissions from NT 40 server to a NAS...I am using the correct switches and get hte following error "The security id structure is invalid" and nothing gets copied over.

If I leave the security switches out will copy data with no problem...
Any ideas??

A:Robocopy error message

Try running a chkdsk on the PC your copying from. It sounds like there may be a problem on that end.

Please note that all files have a security IDs assigned to it and usually a chkdsk will find this and fix it.

Read other 1 answers

I have a Robocopy batch file that works wonderfully when copying from Windows to a USB, NAS or server share.  I recently tried to use my Microsoft OneDrive as the target but could not get it working.  I mapped a drive using the WebDav address.
 This works fine and using Windows Explorer I can create folders, etc.  When I try to use Robocopy to copy files from my Win7 PC to my OneDrive mapped drive I get Error 2.  After some testing I am finding that Robocopy will work if the folders
are already in place but if it needs to create a folder it will error.  So it seems as though Robocopy is unable to create the folders it needs to when using a WebDav mapped drive.  Why would this be?  I can create folders in the mapped drive
using command line such as "V:\md testfolder".   

Read other answers

Hello folks,

I know similar questions have been asked but I "might" have a unique one. What I have been trying to do is to copy the "C:\Users", "C:\Program Files", & "C:\Program Files (x86)" to another clean hard drive "D:\".

I'm doing this to make more room for the OS in the C: drive while date will be in the D: drive. Now I have successfully robocopy Program Files & Program Files (x86). I also have copied most of the Users directory but for this stubborn Real\update directory. This is I think the real player program. I get this Access Denied and "Error 5" error. I am in elevated command prompt. I achieved this via the Repair your computer prompt on the Windows install DVD.

I also have rmdir for Program Files & Program Files and have made a mklink for both of them so windows knows where they will be. But I have not did a full boot because I don't think windows will access my Users directory because they have been moved over to the new drive. What I can only do will have to be via the command prompt.

I can't make a mklink for Users because I get an error saying something about duplicate areas? What I was trying to do is go to this Real\update directory but even trying to access that directory via cd commands will not work, giving me a access denied. Again I am in elevated command prompt "Administrator:X:\windows\system32\cmd.exe How can I get to that directory. I just want... Read more

A:Robocopy - Access denied Error 5 Real Directory

You probably just can't move your program files due to the possibility of config files and registry entries that are looking for your programs on the c drive since that's where they where installed. They should be reinstalled if you want to move them. Also if you move the profiles folder (under c:\user) it will break your profiles and you will need to change the location in the registry. I suggest that you put everything back and just move your personal files, music, pics, & videos on another drive. That should free up a lot of space.

Read other 7 answers

Hi, I got the next blue screen on Windows 2000 sp4:

Stop: 0x00000005
(0xFD157BC0, 0xFF8F8600, 0x00000001,0x00000000)

It happen at anytime. any help would be appreciated.


Read other 12 answers

Hello, I need your help. When I restart my computer I get the blue screen with the following message:
Windows login process terminated unexpectedly with a status of 0Xc0000005 (0x00000000 0x00000000]

I have no idea what this means, could you please help me to try and fix? Thank you in advance


A:Stop code 0x00000005'

is this XP?
If it is XP then do this.

If not say so, it is a completly different fix/ problem in other OSs.

Read other 2 answers

Creating a restore point produces a pop up System Protection error box with the message:
The restore point could not be created for the following reason:
Insufficient storage available to create either the shadow copy storage file or other shadow copy data (0x8004331F) 
In the Alert Logs there are 5 alerts, an error and 9 more alerts. 
I have the full body of the alerts and the error attached.
But to give you an idea:
Volume Shadow Copy Service warning: GetDiskFreeSpaceEx() for \\?\Volume{b0925567-62df-11e0-a439-806e6f6e6963}\ failed with 0x00000005.  hr = 0x00000000, The operation completed successfully.
   Removing auto-release shadow copies
   Loading provider 
   Check If Volume Is Supported by Provider

   Query diff area for this volume

Volume Shadow Copy Service error: Unexpected error calling routine ConvertStringSidToSid(S-1-5-21-532801799-3035078314-2431601770-1012.bak).  hr = 0x80070539, The security ID structure is invalid.
   OnIdentify event
   Gathering Writer Data
    <Data>0x80070539, The security ID structure is invalid.
   Query diff area for this volume

Any suggestions ... Read more

A:VSS GetDiskFreeSpaceEx() failed with 0x00000005

Please download MiniToolBox  , save it to your desktop and run it.
Checkmark the following checkboxes:
  List last 10 Event Viewer log
  List Installed Programs
 List Users, Partitions and Memory size.
Click Go and paste the content into your next post.
Also...please Publish a Snapshot using Speccy - http://www.bleepingcomputer.com/forums/topic323892.html/page__p__1797792#entry1797792 , taking care to post the link.

Read other 6 answers

Something about windows updates, but there were no updates available. Check the driver verifier. Couldn't really read the blues screen since the sides were cut off. Haven't installed anything recently. Don't know what to do next.
MS WINS XP Version 2002 SP 3
Dell Dimension Intel Pent 3 GB

A:BLUE SCREEN....0x00000005...0x8054BFCB

Read other 16 answers

I'm trying to migrate a robocopy based backup from XP (where it does work) to Windows 7.  The backup job simply copies a directory on the local PC to a network drive on the file server using a batch file which contains the following:
robocopy "C:\projects" "N:\backup" /e /s /r:1 /w:1 /log+:backuplog.txt
The user account it is running under has full access to the network drive (N:).  When I run the batch file directly from the command line it works perfectly.  It also used to work without issue on a Windows XP machine.  UAC is disabled.
Whenever the task runs it fails with the error code 0x10.

A:Robocopy fails as scheduled task in Windows 7 with error code 0x10

10 (0xA) The environment is incorrect.
I would reciommend using UNC paths (\\server\share\folder\) instead of mapped drives and specifying full paths in quotes whenever possible (not backuplog.txt, but "c:\logs\backuplog.txt"MCP/MCSA/MCTS/MCITP

Read other 5 answers

Where can I find the descriptive definitions of the “reason codes” reported in the Activity Logs when a Backup fails? I have searched all of the DELL site and non-DELL URLS.
Errors with undefined “reason codes: 2, 5 and 32” are reported under the Activity Logs when using the current DELL Backup and Recovery software (Version ran as Administrator in Windows 10 (Version 10.0.10586 Build 10586)
Data Backu- - <date at time>
An error occurred during the process
Scheduled Backup No
Multiple files Yes
The following files were not backed up:
C:\Users\Pat\AppData\Local\Comms\Unistore\data\0000000a000000031013.dat (reason code: 2)
C:\Users\Pat\AppData\Local\Microsoft\Office\16.0\OfficeFileCache\CentralTable.accdb (reason code: 32)
C:\Users\Pat\VeriSign Root Certificates\DS_Store (reason code: 5)
OS Name - Microsoft Windows 10 Pro – Version 10.0.10586 Build 10586
System Type - x64-based PC
DELL Backup and Recovery – Dbr.exe – Version – 04-JAN-2016
DELL Update Tray – DellUpTray.exe – Version
DELL Update Service – DellUpService.exe – Version

Read other answers

OS WinXP Pro
Trying to backup the registry using the utility backup from system tools.
error =
"Error returned while creating the volume shadow copy:Catastrophic failure."

Research shows that it is possible to turn off the volume shadow feature .. but not if the backup includes the System State selection.

I have an ethernet connection to an ADSL modem and a 40gb hard drive in two partitions c: and d: with about 20gb used in total.

Any help much appreciated ..

Read other answers

I'm running Windows 7 Ultimate connected to network with Server 2008 (R2).

I am trying to backup the System Image [only] to a share on the server without success:

[Window Title] Windows Backup: Troubleshooting Options

[Main Instruction] Check your backup

[Content] Windows Backup cannot read the backup destination.

[Try to run backup again] [Change backup settings]

[Expanded Information]
Backup time: 8/05/2016 6:20 PM
Backup location: \\Server2008\backup\
Error code: 0x8078006F

The backup location is a valid share on the server and is accessible (and read/writeable) from my Win7 machine. Both SYSTEM and Administrators have "Full control". When setting up the backup, the location is tested and a username and password requested - these are accepted (and wrong ones are not, so some sort of check is being carried out), however when I attempt to run the backup (either manually or on schedule) the backup runs briefly (a few %) then fails with the message "Windows backup did not complete successfully" then the message box as above. No files are created at the backup location.

A search of the web finds a lot of similar questions and a lot of wrong and useless answers. This has been an ongoing problem for some time, but I really would like to have a regular scheduled backup. Has anybody got any clues, please?

A:Windows Backup cannot read the backup destination, Error: 0x8078006F

Hi Seven,

include the domain name of the network drive (not the computer you're backing up, but the network device): NETWORKDEVICE\Username\backup\

Read other 2 answers

Hi. I am trying to perform a full PC Backup on Vista Service Pack 2.  I have a recently purchased Seagate Backup Plus 2TB drive which has 1.6TB free space.  When I do the normal 'Backup Files' option it backs up onto this drive no problem  When I then try to do a Complete PC Backup onto the same disk (size of backup estimted to be 67Gb), it bombs straight away, with the error message 'One of the backup files could not be created. (x08078002A)'. I have only performed a full backup once onto multiple DVDs which worked fine.  This backup however, is seriously out of date now. Could someone please assist? Thanks.

Read other answers

I'm about ready to consider this a bug.

Traditionally, I share a folder from my Desktop to my PC via SMB and it works perfect as can be. The HDD on the Desktop has PLENTY of space and is in NTFS format and not being used as a NAS.

I browse network to find the folder I want, there it is all ready to be used. I select and enter the same information (my live email and password, and also tried Desktop username/password) as I did with getting the folder to share in the first place.

I keep getting the error 0x80070544 which tells me that it's the network credentials.

There is only a grand total of one post on here that I can find that error code and it was never truly resolved. I don't know what I should do. I would despise using alternative software over something as trivial as this.

Any help would be GREATLY! appreciated.

Read other answers

Regrettably I learned too late that Dell Backup & Recovery 'might' encounter problems in Windows 10 if a user did not update 'DBaR' version 1.7 before an upgrade from Win 8.1 to Win 10. I have a Dell Inspiron 3647.
When I only select a few files to backup (e.g., pics, docs, printer software and a few apps) it would backup to my 32 GB USB flash error free.
But when I try a significant back up -- e.g., 8 GBs -- I get a display after 20 minutes, or so, that the backup created an error. [head scratch]
Even something less challenging for DBaR like running a Factory Recovery Media backup resulted in the same error. Yet using the Windows 10 Control Panel Recovery app completed a backup error free.
I tried more than one USB flash, I ran Dell Update, defragged my hard drive, disabled firewall and AV protection. Nothing seemed to help.
Am I correct to assume that Dell Backup & Recovery 'might' encounter problems in Windows 10?
Sure would be nice to at least backup costly apps like Microsoft Office.
Michael T.
Software Engineer (retired)

Read other answers

Trying to back up using Vista, backup fails with error message access denied Ox8007005.

Any ideas? Thanks.

A:trying to backup in Vista, but backup fails with error message

Read other 7 answers

Hi there,
Storage pool with two storage spaces created using Windows 8 Release Preview and then ported into Windows 8 RTM. I'm now trying to delete one of the storages spaces and getting this access is denied error message.
Any suggestions would be much appreciated.

A:Unable to delete Storage Space "Access is Denied" 0x00000005

I solved the problem for me.
Again... No file lock on the storage pool and no application is doing anything with this virtual disk. But it's not possible to remove it from storage spaces. This has nothing to do with ownership of the drive, access rights or an access of a process. I
had a clean windows setup with no programs installed. I'd say that this is a bug of windows!

Anyway here is my solution:
* Opened an explorer with "Computer" open.
* Opened "computer managment" and selected the storage list.
* I selected the storage pool which I wanted to delete but wasn't able to.
* Right click -> format... I think I have chosen NTFS but it's not so important...
* Warning that the drive is in use (what a nonsense) -> yes yes ok
* waited a few seconds until the bar with the free space disappeared at the "Computer" folder for this drive (on the explorer).
* stopped the format process. some error msgs that this couldn't be canceled and then he said he couldn't finish... (wtf ;))
* then back to the storage spaces overview... manage storage spaces... delete storage pool... pool disappeared... finish

hope this helps someone

Read other 12 answers

Hi, I have spent the last 6 hours or so backing up about 480GB of data onto a 1TB external hard drive, only for it to tell me that: "The backup was not successful. The error is: There is not enough free space on the backup storage location to back up the data. (0x80780048)."

What is most peculiar is that all the folders and files I selected have been backed up and are restorable from the backup.

My hunch is that after the backup completed backing up my selected folders it failed because the 'include a system image' checkbox was ticked (by default) and there obviously wasnt enough space left for an entire system image (800GB+).

I just unchecked this and ran the backup again (it just added a few new files I had saved while the original was running) and it has worked fine and the event log now says 'backup completed successfully'.

Can I just check that my hunch is indeed correct here, I want to be extra sure that the error was just because there wasnt enough space for the system image and it hasnt borked anything else up.

Thanks for any help!


Read other answers

During Windows backup, which wants to backup the 'C' drive and my games drive 'E' (for some reason), I get the following error message after the 'C' backup has completed but not the 'E':

'The backup operation that started at '‎2015‎-‎12‎-‎20T06:00:25.459859400Z' has failed with following error code '0x8078012D' (The operation failed due to a device error encountered with either the source or the destination. If the source or destination volume is on a disk, run CHKDSK /R on the source or destination volume, and then retry the operation.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.'

I ran CHKDSK \R and received several errors of the type: 'A disk read error occurred 0000185. The disk does not have enough space to replace bad clusters detected in file xxxxxx of name xxxxxx.'

My 'E' drive is 2TB with 205GB free. I really don't believe that the cluster(s) in error are bigger than 205G, but what do I know?

Anyone have experience with this problem?


Read other answers

I'm trying to use robocopy to copy files and subdirectories from a zip drive to a hard drive and include the original modification dates using the /copyall attribute. By just copying it within Windows 7 professional every subdirectory shows up
with a current modification date. So when using /copyall I keep getting the error message "you do not have the manage auditing user right". Don't know what that means - right as in correct, or right as in permission. Either way, is
there some way to do this?

Read other answers

Need to back up data-drive regularly on drive F and send to data-drive G

Robocopy has been mentioned as win7 built-in. I'm confused what is it & how to use it?

A:Robocopy how?

ROBOCOPY - Create Backup Script

Read other 2 answers

Hello all,

To save my life I could not get the Robocopy GUI to work. I have no problem using it with command line by dropping in to CMD.

Tried the GUI it reported that the job is finished as soon as I click "RUN" but nothing copied.

Thank you kindly,

A:I need some help with Robocopy GUI please.

Why not just put the command line commands in a bat file and run them like that? It's how I do my backups.

Read other 2 answers

We are looking to migrate a SQL database to a new server. The database is for an imaging software and has pointers to the images. We are going to move the database in the next week or two. I wanted to start copying the image files to the new server to prepare for the migration (about 300 gig of 17k files). I understand that robocopy is a good program to accomplish this. I am looking to copy all the files, folders, and subfolders over, then copy only the changes over nightly. What is the correct command line that I should use to accomplish this? Can I save it to a bat file and use windows task scheduler to have it run nightly?

Thanks in advance for all of the help!


Are you migrating to a server that will be running the same software? Why not use an SSIS package? That way, you can migrate the complete database to the new server and just point your programs as necessary.

Read other 3 answers

I have Windows Vista Home Premium and somebody recently mentioned to me about Robocopy to use from cmd. Unfortunately I got into a mess and cmd froze so that I had to force shut down.

Can somebody kindly let me know how to use robocopy to copy files and directories my document on C: drive into external hard drive J: in a simple language as possible.

Thank you very mcuh.


This is how robocopy is used:
How to Copy Vista to Another Hard Drive | eHow.com

That being said, I would like to mention that in several years of helping out at the Vista Forum, this is the first question about robocopy. Most members use Macrium Reflect to make monthly backups. These backups are always available in the event of a catastrophe with the OS. It can also be used to transfer to another drive.
Macrium Reflect FREE Edition - Information and download

Read other 10 answers

I am trying to use robocopy in a batch file to move log files that are older than 5 days into a subdirectory of the current directory.  Also I want it to report only how many files were copied just like copy and xcopy do.
Here's what I have now:
robocopy . ./OldLogFiles *.log /MOV /MINAGE:5 /NS /NC /NDL /NJH /NJS
When I run it, it looks like it recopies the files in the /OldLogFiles folder too.  It list all the filenames and the filepath.
I am trying to run this also on Windows Server 2008 R2 Standard (if that makes a difference).
Thanks for any help,


Read other answers

Basically I would like to copy from my Skydrive to copy to my NAS once a day everyday. I know some of the basics but need help with specifics like copy to folder and making sure the newest file exists as the saved copy.

Here we go!

Robocopy C:\Users\Clive\SkyDrive\Documents B:\ /
Thanks guys for comments!

A:Robocopy. Can someone help please!

If your looking for a clean way to do that, you should look at Microsoft Richcopy which is a GUI'd + version of Robocopy. I've used it for years and it works fine under Windows-8.

For more info see: Free Utility: RichCopy, an Advanced Alternative to RoboCopy
Online Guide & extra info: RichCopy Guide - ETCwiki

Hope it helps.

Read other 3 answers

Hi there,

I want to use ROBOCOPY to move any file that is older than 30 days.
I've tried this command but it seems to move the file anyway, even though the file is only 4 days old:

robocopy * C:\b2d C:\archive /mov /minage: 01-04-2011

From "/minage: 01-04-2011" i thought it would only move files that are at least 30 days or more old. But this seems to move everything.

Can anybody explain why this is happening? Is it because i used a wildcard on files, will that not look at the file age?


Read other answers

I am runing  window 7 32bit.  I run  robocopy to backup  files and dirs  ? I noticed lately that the process is coping files that are not subject to copy, ie the source and target files are exactly the same ? I use the /mir robocopy

When  roboopy copies a file from the source to the target, it will tag the copy in the log, ie ?newer? ?new files? ?older?   - etc ? in this case there is no tag on the copy log  and the summary at the end of the job reports all the source
being copied. 

I have windows 7 on other computer and this  operation works  correctly on those computers  ? the only difference were this is not working it seems that version of windows 7 has fix  KB2639043 installed. 

I went  as far as to write a program to show the 64 bit time stamp (both the modified and create times) and an compare them  on the source and target files and they are EXACTLY the same (the file size is also the same in both files) 

Lastly, I tried ?synctoy? and that ?did the right thing? ? so there is some sort of bug with robocopy  ? How can I report this issue?   

Read other answers

Hi, I have 2 questions which I desperately need help with. Here's the question: 1. robocopy shoud Run in a separate terminal window and recheck file system changes every minute. 2. write a continous logfile that contains all detected file system changes including full pathnames of affected files. How do I do this?

A:Robocopy (help please)

This is one way, put this in a batch file:

robocopy command here
timeout 120 > nul
goto Start

Lots and lots of robocopy parameters, one of which is /log:file (file being the file you want info logged ion). > nul hides the Timeout in n seconds message.

Read other 5 answers

I have created a robocopy.bat as below :

robocopy C:\Users\Faust_000\Documents\Alfredo "F:\Backups Documents" /e /mir /z /np /tee /log:Alfredo_log.txt

and I have created a Planned Activity into the Planning Utility to run at certain time every day.

Now my question is :
1. if manually activeted by double click robocopy.bat it perfectly works and the log.tx file is created
2. if I execute the robocopy by the Planned Activity (by manually Excute or automatically at the planned time) the robocopy is done correctly but the log.txt file is not created or updated.

I did both on W7 Professional 64bit and on W8.1 64bit but no difference.
Could someone help me to understand why the difference of results manually and via Planned Activity ?
Thank in advance.


I don't use Robocopy or Planned Activity but it might perhaps be related to the current directory when the bat file is executed. If so, the other log file should be somewhere on your system and you could search for it.

I mean when you manually run the bat file you get a certain "current directory", but in the other scenario you get another directory. You can try to include a path for the log parameter or move to a certain directory with the cd command in the bat file, before the robocopy command.

Read other 2 answers

how do I access a command line to be able to use robocopy? when I use the regular command prompt, I get an error message that says Robocopy is not recognized as an internal or external command, operable program or batch file. What am I doing wrong?


Where did you get the program? Sounds like it's corrupted.

Read other 2 answers

I have been forced by the man to switch to vista. I had a simple xcopy to duplicate a folder structor. Would someone be kind enough to translate this into robocopy for me?

xcopy r:\_DND\*.* r:\SMcbrid2\ /E /O

Thanks for the help


Here you go:

ROBOCOPY r:\_DND\ r:\SMcbrid2\ *.* /E /COPYALL

Read other 1 answers

Does Robocopy /MIR copy all files or just the ones that are added and those that are changed? I don't want to start this if it is going to take hours and hours. thanks...

A:Robocopy /MIR

Just the changes.

Read other 7 answers

I am trying to create scheduled backups for my computer on an external drive (H:\) and am having a bunch of trouble. I had one successful attempt but did not have "create image of C:\" checked. I chose to check it and attempt again. No success. I unchecked the image and now cannot create any backup. I received the following error:

A shadow copy could not be created. Please check "VSS" and "SPP" application event logs for more information. Details: Insufficient storage available to create either the shadow copy storage file or other shadow copy data.

It can't be a space issue because I have 260GB of free space on H:\ The only thing else on my external drive is my iTunes library. I've posted a similar thread before but got no where.

Please advise any thing. I'd feel more comfortable knowing I have backups.

A:Backup Image Error / Cannot Create Shadow Copy / VSS error

Have you checked in System Properties to see if System Restore is enabled on your Windows drive?

Read other 6 answers

Good Afternoon,

I am trying to do work for a client of mine, and I am having problems with the robocopy command that i am using.

Here is the command
robocopy.exe \\USER2\Photos \\SERVER1\photos /e /m /R:10 /W:2 /XF CLIENTroboPhotos.bat robophotos.log /xd c:\photos\photos-add /V /log:\\USER2\Photos\robophotos.log

Copys from Users 2 photos folder and copies it to the server photos directory

then i put a command to do /xd c:\photos\photos-add which is suppose to exclude it, which it doesn't.

It just keeps replicating each other in each folder.... Catch my drift?
Please someone who is good with Robocopy, take a look at the script and see if you see a flaw in it.

Thank you!

I just cleared 15-16 extra space on the server, and now i am back to where i use to be 256 megs free.....

A:Robocopy Issue

anybody? have an aswer for this?

Read other 3 answers


With the Robocopy command of Windows 8.x, how do I do a copy of a file (renaming it) in the same directory of the source file?



A:Robocopy and same directory

You can't. Use copy or xcopy if you want to rename.
xcopy c:\test\old.txt c:\test\new.txt

Note xcopy will always prompt you with "Does c:\test\new.txt specify a file name or a directory name on the target" so you would probably be better off with
copy /v c:\test\old.txt c:\test\new.txt

where the /v verifies the copy.

Read other 1 answers