Hi All,
Can someone please assist me as to why I got millions of Error 5 - Access Deniedwhen trying to copy the NTFS drive onto CIFS share using the following Robocopy script in Windows Server 2003 ?
robocopy.exe S: "\\CIFS\FILESHARE\ " *.* /xd "S:\System Volume Information" /xd F:\RECYCLER\ /e /r:0 /w:0 /xo /zb /copy:DTS /fp /nfl /ndl /np /tee /log:"X:\Temp\robocopy.log"
In the source Windows Server 2003, I connect using RDP into the server with the service account that is member of SERVER\Administrators (Local Administrator), this service account (DOMAIN\Service-EnterpriseVault) is also granted full access in the destination CIFS share.
From the root drive on the NTFS drive S: I can see that the owner is SERVERname\Administrators, but how come I cannot copy millions of directory and files into the CIFS share ? and some of the folder I cannot browse through while I can browse it on the source file server.
Do I have to execute the following script on the old Windows Server 2003 source server after the first copy finished?
subinacl.exe /subdirectories \\CIFS\FILESHARE\*.* /grant=Administrators=F /setowner=Administrators >> X:\Temp\SetInACL.log
and then run again the same Robocopy command.
Any kind of help and suggestion would be greatly appreciated.
Thanks.
/* Server Support Specialist */