Hello all,<\/p>\n
Got an issue which hopefully someone could shed some light.<\/p>\n
I have run the following command:<\/p>\n
Robocopy \"source_location\" \"destination_location\" /E /COPYALL /MT:8 /DCOPY:DAT /XO /R:10 /W:5 /V /ETA /LOG+:robocopy_01.txt /TEE\n<\/code><\/pre>\nWhen it finished, it says that it copied everything, but when I checked the destination folder, it had 10 directories missing and about 10GB of files missing.<\/p>\n
Any ideas what on this issue?<\/p>\n
I have run the script as an admin.<\/p>","upvoteCount":12,"answerCount":14,"datePublished":"2025-07-21T07:44:11.763Z","author":{"@type":"Person","name":"Nuno85","url":"https://community.spiceworks.com/u/Nuno85"},"acceptedAnswer":{"@type":"Answer","text":"
I for sure would be questioning the /xo switch. Purposely excluding items is going to be the primary reason that source and destination don’t align.<\/p>\n
Next I’d investigate use of the /b or /zb switch to use backup mode if a file is open/locked.<\/p>\n
Regardless, the reason is going to be logged. Start looking for error messages in there.<\/p>","upvoteCount":5,"datePublished":"2025-07-21T13:50:58.872Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/10","author":{"@type":"Person","name":"phildrew","url":"https://community.spiceworks.com/u/phildrew"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hello all,<\/p>\n
Got an issue which hopefully someone could shed some light.<\/p>\n
I have run the following command:<\/p>\n
Robocopy \"source_location\" \"destination_location\" /E /COPYALL /MT:8 /DCOPY:DAT /XO /R:10 /W:5 /V /ETA /LOG+:robocopy_01.txt /TEE\n<\/code><\/pre>\nWhen it finished, it says that it copied everything, but when I checked the destination folder, it had 10 directories missing and about 10GB of files missing.<\/p>\n
Any ideas what on this issue?<\/p>\n
I have run the script as an admin.<\/p>","upvoteCount":12,"datePublished":"2025-07-21T07:44:11.826Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/1","author":{"@type":"Person","name":"Nuno85","url":"https://community.spiceworks.com/u/Nuno85"}},{"@type":"Answer","text":"
Does the account you are using have access to these folders?<\/p>","upvoteCount":9,"datePublished":"2025-07-21T08:03:25.538Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/2","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
Yes, is a Domain Admin account.<\/p>","upvoteCount":4,"datePublished":"2025-07-21T08:20:50.579Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/3","author":{"@type":"Person","name":"Nuno85","url":"https://community.spiceworks.com/u/Nuno85"}},{"@type":"Answer","text":"
Domain admin account does not necessary mean it have rights to access the sub-folders and/or files ?
\nIn some cases, users or Domain accounts in the local backup operators group can have access to backup (read but not open) and/or access to restore files, but I have read from somewhere that you might need a 3rd party solution and it may not work with copy (xcopy, robocopy etc) as it may require VSS or other technologies.<\/p>\n
In some cases, users who have “full rights” might even set “deny” to certain files and/or folders as they think they only want certain people to have access.<\/p>","upvoteCount":13,"datePublished":"2025-07-21T08:41:47.935Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/4","author":{"@type":"Person","name":"adrian_ych","url":"https://community.spiceworks.com/u/adrian_ych"}},{"@type":"Answer","text":"
As Adrian said, a DA does not automatically have permissions to all folders, hence me asking to confirm you have access.<\/p>\n
Go in to the folder, if you are prompted for access, then you do not have access until you’ve been in it.<\/p>","upvoteCount":10,"datePublished":"2025-07-21T09:31:29.643Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/5","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"
Thank you for your advice. I will go and double-check the permissions and will come back with an update.<\/p>","upvoteCount":6,"datePublished":"2025-07-21T10:46:40.818Z","url":"https://community.spiceworks.com/t/robocopy-copy-issue/1225345/6","author":{"@type":"Person","name":"Nuno85","url":"https://community.spiceworks.com/u/Nuno85"}},{"@type":"Answer","text":"