Error Code 5: Access is denied. (CopyFileEx)

Get help for specific problems
Posts: 3
Joined: 29 Oct 2006

beason

Hi,

I'm getting multiple errors when attempting to mirror my system drive to an external USB drive.

I have "Fail-safe file copy", "Copy locked files", and "Copy NTFS permissions" all checked. This is FFS 6.14 and Windows 7 (run as Administrator).

The errors I'm getting are like:

Cannot copy file
"C:\Program Files\Common Files\SpeechEngines\Microsoft\TTS20\MSTTSCommon.dll" to
"M:\C\Program Files\Common Files\SpeechEngines\Microsoft\TTS20\MSTTSCommon.dll.ffs_tmp".

Error Code 5: Access is denied. (CopyFileEx)

Examining the source file I see that I have read & execute permissions and it's owned by TrustedInstaller. When I try to manually copy this file in Explorer I get a permission denied error on the USB drive destination because the parent folder is owned by TrustedInstaller.

So, Windows permissions are preventing the copy. How do I get around this? Can FFS work around the permissions somehow?

Thanks!
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

Try running FFS as Admin or with Admin privileges.
Posts: 3
Joined: 29 Oct 2006

beason

I'm running FFS by going to start menu and right-clicking on FFS, and selecting "Run as administrator". But I still get the permission problems I described.