CopyFile: A device attached to the system is not functioning


I was using the activity “CopyFile” activity to copy a Excel (xlsx) file (<10MB) from a network drive to a local address. However, I encountered error “A device attached to the system is not functioning” regularly (around 20% of the time).

Package Version: 19.10.1

Is there a way to prevent this from happening using an activity?


Hi @yingyuefrank

When you do this manually by yourself, do you get the error?

And usually how long does it take to copy the file?

Based on those two, can I see how you designed your workflow? Just a screenshot of that part would do…

Hi, Fernando

Thanks for the help, here is a screen capture of the process.

Manually, this rarely happens. For execution under Robot, it happens around 20% of the time. The file is pretty small and should take less than 30s but it also depends on the internet since its from a cloud drive.


1 Like

Have you resolved this issue…
Even Iam also facing same issue…

1 Like

I have the same issue, I have a sharepoint folder mapped as a network drive. And when using UiPath it fails to copy/write/transfer often, with this same error message " A device attached to the system is not functioning".

Hi @djorchard,

Is your issue resolved?
If yes, can you please let us know the steps to resolve the issue.

Thanks in Advance!!!

I found the below explanation from UiPath on this error.