Link to home
Start Free TrialLog in
Avatar of Albert Widjaja
Albert WidjajaFlag for Australia

asked on

Robocopy Error 5 Access Denied - NTFS to CIFS share

Hi People,

I'm having problem in copying files from NTFS partition to the CIFS share. The error is Error 5 (0x00000005) Changing File Attributes S:\Software1\
Access Denied


Why is that happening ?
I'm logged in as the local administrator of the Windows Server where the application is installed and trying to copy to theCIFS share where the current username that I'm using now to RDP is already got full permission on the CIFS share ?

here's the Robocopy command:

robocopy.exe S: "\\CIFSSRV01\CIFS_SHARE\Software_Pt1" *.* /xd "S:\System Volume Information" /e /zb /copy:DATS /r:0 /w:0 /fp /nfl /ndl /np /tee /log:"S:\Temp\robocopyV1.log"

is there anything that I can do to make sure that the initial copy is successfull, followed by second run when the application is switched off during the weekend ?
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Did you try by running the cmd console with elevated rights? That sometimes helps, strangely enough.
Sometimes it also helps starting it from the destination server ...
Avatar of Albert Widjaja

ASKER

No, the destination server is just a CIFS share on Storage appliance.
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes, it is still the same error 5 with DTS or with DATS.

previously I was using DATSOU all still no go :-/
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the source is NTFS drive which is used by Symantec Enterprise Vault while the destination is the CIFS share.

So in this case, should I turn off the application to release the files ?

i was under the impression that Robocopy can do VSS backup copy mode ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and now I got this error:

ERROR 5 (0x00000005) Creating Destination Directory \\DataDomain\CIFS_SHARE01\Vault1_Pt17\found.000\dir0000.chk\
Access is denied.

it is logged millions times, so what parameters do I need to change ?