Over 1 million tech questions and answers.

Robocopy Error while Copy

Q: Robocopy Error while Copy

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
Preferred Solution: Robocopy Error while Copy

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.)


"C:\Users\username\AppData\Roaming\App Launcher Gadget" F:\Backup\Common\App_Launcher\AppLauncherSettings /i

I want to copy "App Launcher Gadget" folder to "AppLauncherSettings" folder. I have tried several ways and only get the files copied or invalid directory.

A:Cannot get Xcopy or Robocopy to copy folder

xcopy /h /e "C:\Users\username\AppData\Roaming\App Launcher Gadget" F:\Backup\Common\App_Launcher\AppLauncherSettings /I

Read other 6 answers

I'm trying to do the equivalent of xcopy /t /e in robocopy.  That is, I only want to copy the folder tree, not the files themselves. 

A:using robocopy to copy folder structure only

It looks like the  /e /xf * switches are what I want.  /e copies empty directories.  /xf * tells it to exclude all files.

Read other 7 answers

I want copy a list of folders (a few hundred) to a new location. I tried using robocopy but can only get it to either copy the selected folder or all folders with subfolders. What I want is to only copy one level of folders and not the subfolders within.
C: Drive (the source) ->Clients->Client 1
->Order1 ->More SubFolders
->Client 2 ->Order1
->Client 3
->Client 4
So I would want to copy over just the first level of folders (the list of clients), but none of the subfolders within each client folder.

any help would be great.

A:Robocopy? Copy Directory Structure 1 level


Try using the /LEV:n switch in your robocopy command.

From robocopy /? at command prompt

:: Copy options :
/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/LEV:n :: only copy the top n LEVels of the source directory tree.
It should look similar to this:

robocopy C:\Clients G:\Backup\Clients /LEV:2
Perform some tests to make sure it works OK.


Read other 3 answers

I am wanting to periodically copy files from one pc to another pc across the lan.
I was reading about robocopy, and wikipedia says there is a gui.

Anyone have a link to something I can use?

A:automated scheduled file copy? robocopy gui?

file lite move?
FileMove Lite - SDW Software

What I want to do is move the files, not copy. So they will be gone from one PC an be on another.

Read other 7 answers

I heard robocopy/fastcopy/richcopy is much faster due to multi threaded (high queue depth) copying so I wanted to give it a try.

thing is going through cmd typing all folder directories as well as at times unable to type everything due to Chinese and Korean characters in a lot of my files/folders I find it impossible to make this work. I wanted to replace window context menu default "cut, copy and paste", or at least add new context menu for it for robocopy.

means if I just right click on the files, it'll have window copy, cut and robo copy, cut and when i right click empty space for paste it'll have window paste, and robo copy paste.

this way I dont have to worry about typing everything and use of this becomes realistically faster.

just where and how do I start?

A:add, or replace copy, cut, paste with robocopy in context menu?

Robocopy was never intended to replace the traditional copy/ paste function. It's a strict folder copier...not file copier. The best way to use it is for backups from a. BAT file.

ROBOCOPY - Create Backup Script

Read other 4 answers

Does anyone know of a third party build of robocopy or an alternate command line copy utility that has similar features but integrates Smart Copy for handling Junctions Symlink and Hardlinked files ?
I have several programs that use a unusual virtual filesystem architecture that relies heavily on hard-links. I generally use robocopy for backing up my data drive since it skips existing files and reduces the time it takes to copy the drive. the only problem is that i found out that robocopy corrupts these because junctions are copied as folders and hard linked files are copied multiple times i can exclude junctions however this means there are missing paths on the destination drive.
Right now i am looking for a command line utility that can function similarly to robocopy in that it supports mirror mode and will skip existing files but that includes a Smart Copy functionality so that junctions and sym/hardlinks are properly copied with their correct relations
Please respond soon this is a major issue for me as i currently have several directory structures which I cannot back up with my current tools

A:Robocopy Build or Alternative with Smart Copy Support???

Don't these programs have their own backup utilities? If I remember correctly, copying some of these links won't help with restoring on a new machine or disk as they refer to disk block address on the original hard drive.
If the software doesn't have its own backup routine, perhaps you could use image backup. I use R-drive image which can do automatic incremental image backups on a live system, so no need to remember to do anything. I've also used SyncToy and SyncbackPro, if you want a sync program, and I think these have command line versions if you find the GUI too easy and really like lots of typing...

Read other 1 answers

I'd like to use Robocopy (I'm using Xcopy now) to copy everything from the 'current' folder. It appears that Robocopy absolutely has to have a path of some sort to correctly work. In Xcopy, we were able to runXcopy *.* C:\somedirectory\If I try the same in Robocopy I get a an error"No Destination Directory Specified"Orange County District Attorney

A:Robocopy - Wildcard to copy everything from current source directory

Hi Sandy,

It's true ROBOCOPY doesn't handle wild cards, but what you're after is still possible:

Say I want this:

C:\temp> robocopy *.* c:\temp2\

I'll get the error you get - "No Destination Directory Specified"

BUT, if you try this:

C:\temp>  robocopy c:\temp\ c:\temp2\

ROBOCOPY will work and do what your after. Quotation marks can also be used in the above path references.

I suppose one of the reasons for the lack of wildcard support is the fact that ROBOCOPY actually works to exclude files types later with the /XF switch (such as "/XF *.mp3"). More here.

Hope this helps,
Kevin @calwell on twitter.

Read other 10 answers

I want to copy the contents of pen drive to E drive. The pendrive drive is F. Now i want all the folders and files to have the same date it was as in the pen drive, when i stored .
Normally when i copy, all the files retain original date but folders get todate. Meaning less if date specific creation of folder is needed.
I heard that robocopy feature in command would give me a way to it. Reading in microsoft or in other forums, including in this forum would not solve my problem. as it is total technical in nature of using switches in command.
My specific need is date of the folders and folder in the pendrive F to be copied to E: in one new folder, say Eendrive copy .
Dcopy is one of the sub command. I want total command for this . There may be experts in this commands. Please let me know , how to accomplish this. The command help of microsoft only know to the tech experts, who knows all /\ switches. As a newbie to this subject, i do not know how to issue the command prompt command.

Read other answers

I have been fooling around with Robocopy now for a while and the amount of switches it features is a tab overwheleming

Can anyone recommend a bone stock "go to" command line specifcally for copying files from an old drive to a new drive - with the following requirements?

1. Maintaining the same folder structure (old to new) while persevering existing directory timestamps (/DCOPY:T?)

2. Ensuring that the destination files inherit the permissions of the new dest directory. (Confused here?)

3. Multithreaded (MT:8?)

4. Copy all subdirectories (/e?)

5. Give me basic info on screen (TEE/?)

6. Write a log file that's not overly huge

7. Cut the retries etc to a minimum

Anything else you think might be relevant.

Really want an easy go to command that I can reach for again and again without wondering if it works or not



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

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 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'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 sys... Read more

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 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

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

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

i had an issue with windows that required a reformat !

i had a empty hard drive (b) so i disconnected my windows drive(a) and did a windows install on the empty drive(b)!

now that i am trying to copy my files to the new drive(b) to reformat the old drive(a) they are all going fine but i have a file that contains several different file types , pictures, pdfs,emails, etc. when i try to copy this file i get a cannot copy thumbs access denied error!!!

can anyone help me fix this problem???

or am i going to have to copy files one at a time???

thanks in advance!

A:Getting cannot copy error when I try to copy files

Acronis will do it, and other copy programs might be able to do so.

Read other 11 answers

I'm currently in the process of copying files back from the cloud in the exact same location where I had them before and now it says that the file name is too long and prompts to see whether I want to skip the file or not. The error message given does not
give the full file name or the path so it is impossible to see which files were copied successfully or not. This never happened with XP! Then afterwards I found that some of the files with long names did copy successfully whereas others didn't. I find this
to be a very user unfriendly process and I'm totally confused! These are critical files and I'm sure I haven't exceeded 260 characters or whatever. This is soOoO frustrating!!


A:file copy error message not sufficient + file name too long will not copy

Hi ,

There is a limit of filename length within Windows Explorer. In the Windows API (with some exceptions discussed in the following paragraphs), the maximum length for a path is MAX_PATH, which
is defined as 260 characters.
The shell and the file system have different requirements. It is possible to create a path with the Windows API that the shell user interface is not able to interpret properly.
This means that your long filename can only be handled at the command prompt level and you cannot drag and drop an illegal length filename within Windows Explorer.

Please simplify your folders and titles.

More information, please check the part of Maximum Path Length Limitation in the link below.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspxTracy Cai
TechNet Community Support

Read other 5 answers

Hi there,
I did a search on google and through these forums search function but all I can seem to find are topics about vista and backing up problems. I did find a link to a microsoft hotfix for my problem, but it was only for specifically 4GB+ of Ram and an nVidia USB EHCI. Sadly I do not meet these specs.

The problem started with copying a bunch of files over from one external HDD to another (friend's to mine). It froze about half way through and locked up my whole computer. This had happened once (I think, maybe twice?) befor when copying files from my C drive over to my external, and turning my PC off/on again sorted it out.
Since then my external is experiancing a host of problems. It doesn't shut off if you unplug it from the computer or turn the computer off, it's always whirring. It's greyed out if you go to safely remove hardware. Opening a media file in anything gives an error (eg. VLC gives this error):
File reading failed: VLC could not open the file "E:\Insert File Here".
Your input can't be opened:
VLC is unable to open the MRL 'E:\Insert File Here'. Check the log for details.Click to expand...

Upon trying to copy anything to or from the HDD and trying to move/delete any files, it gives me the old error in the topic title: 0x8007045D I/O device error.

I expect one solution is to completely re-format my external HDD, but I can't stress how much I REALLY don't want to do that without being able to get mos... Read more

Read other answers

Error Copying File or Folder
Cannot copy AVSEQ17: Data error (cyclic redundancy check).

This error is generated most of the times while copying file from CD to my hard drive and the copying fails and the data is not not copied to the hard disk.

Someone please help me to get rid of this problem and/or tell me its cause!!!


A:Error Copying File or Folder:Cannot copy AVSEQ17:Data error(cyclic redundancy check).

Read other 9 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

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

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

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 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

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

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

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

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'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

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

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

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

Hi all, quick question.

I have used Robocopy to back up all my photos etc. for yonks, set it so that it mirrored by files on my main laptop. I have since had the need for faster and bigger storage and so have invested in a NAS. Awesome.....BUT...

when I run my script it no longer detects that a copy of the file already exists - it thinks every file is 'newer' and so it copies everything again (not funny given it's 50Gigs!)

My script consists of several lines like this...it's very simple(!)..

robocopy "c:\Users\Steve\my pictures" "\\LS-XHLA97\backup\sr-backup\pictures" /mir /xd *.lrdata

robocopy "c:\Users\Steve\Modo" "\\LS-XHLA97\backup\sr-backup\Modo" /mir

Any ideas? Or suggestions for another way of doing this type of backup?

Many thanks

A:Robocopy and NAS problems...

Read other 8 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

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

Hi All,

Quick question regarding robocopy. I am not that great in using it but I did manage to figure out that how to do basic copying and mirroring. My main issue is copying over files that have security permissions.

At this point, I have this:
robocopy c:\foldername e:\foldername /copyall /mir
What would I add and does it matter where I place the syntax for it to work?

Help appreciated.

EDIT: Figured out the security part. How would I get the script to still copy everything in the folder if its being used by someone else or they forgot to close it?


A:Robocopy script

Robocopy cannot do it by itself.

Read other 3 answers

I have been using xcopy to copy data from a file server to a flash drive. That works OK, but after some time the flash drive is cluttered with files and folders that have been moved or deleted from the file server.

I want the flash drive to mirror what is on the file server, so I decided to give ROBOCOPY a try (version XP010 on a Windows XP computer). Here is the line in my batch file:

ROBOCOPY \\fileserver\share\frank\somefolder E:\somefolder /COPYALL /B /MIR /R:0 /W:0 /LOG:MyLogfile.txt

This works fine except the log file reports Error 3 "The system cannot find the path specified" for files in only one subfolder, and deletes all the files in that subfolder from the flash drive.

The subfolder name is "Computer" (which as far are I know isn't a reserved name), and it has the same attributes and NTFS permissions as all of the others.

Any ideas what the problem could be?

A:RoboCopy Issue

Noone uses Robocopy?

Read other 1 answers

I have a quick question, is the Robocopy.exe in Windows 8.1 compatible with Windows XP or do I have to use the one in the Resource Kit?

I could download the kit, but I don't want to download the entire resource kit on each client that uses our software, as our software that utilizes it only requires the robocopy.

A:Question about Robocopy

You can use the Download Windows Server 2003 Resource Kit Tools from Official Microsoft Download Center for XP

Read other 2 answers

I've just recently realized that copying folders to a backup hard drive resets their "created" date. Should my computer ever crash, all my backup files will state to have just been created on that certain date.

Me, being the organize-freak I am, have been looking for a solution so my backed up files can have the same time stamps as on my computer right now.

I've done a little searching, and have found that people always recommend Robocopy. Problem is, I can't understand a word of the tutorials. Is there anyone with a layman's explanation for how to run Robocopy to carry out what I want?

And also just for the heck of it, is Robocopy the only solution? Is there some sort of back up program on Windows 7 that can do that?


A:Timestamp/Robocopy help

Some of the other posters have had similar problems, book1245, so here are a couple of references to other posts that might offer a little bit of guidance:

There’s some help for you in this thread: "Date Modified" changes when copying... Take a look at the post from Bill2 which has, among other things, this site: How to copy or move files and folders whilst maintaining their original time date stamp. | TechHead.co.uk, (and offers advice about your Robocopy problem as well), and the post from Casca which offers this advice: In a command window, run [xcopy] with the following switches: /s/e/c/a/k/h.

See also the post from huge in this thread: "easy transfer" resets folder modified date who apparently found a way to fix his problem, with only a mild amount of pain.

Read other 3 answers

I've never had a backup routine but am about to begin. Was going to implement RAID 1 but after some forum education am finding out a removable backup disk is what I really want. So, should I assume Robocopy (likely with GUI) is still the way to go for my simple /E /Purge needs? I will be mirroring both a small system drive and a 2Tb data drive.


A:Robocopy still the best option?

Use Macrium Reflect Backup and Hard Disk Imaging for Windows 7, Vista, XP and Server 2003/2008

Read other 9 answers


I'm trying to add a switch /MAXLAD:n Excludes files with a Last Access Date older than n days or specified date. If n is less than 1900, then n is expressed in days. Otherwise, n is a date expressed as YYYYMMDD.

I only want files that has been modified starting from Sept. 01, 2008 to current.

Am I inputting this correctly? Help


A:Anyone familiar with Robocopy?

DUH, I figured it out, I took removed the "/" from the date portion.

Read other 1 answers