# unable to copy large no.of files using win\_copy module

**URL:** <https://forum.ansible.com/t/unable-to-copy-large-no-of-files-using-win-copy-module/30708>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [July 3, 2019, 5:59pm UTC](https://forum.ansible.com/t/unable-to-copy-large-no-of-files-using-win-copy-module/30708 "2019-07-03T17:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shyam.rpms](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@shyam.rpms](https://forum.ansible.com/u/shyam.rpms)\
**Post date:** [July 3, 2019, 5:59pm UTC](https://forum.ansible.com/t/unable-to-copy-large-no-of-files-using-win-copy-module/30708/1 "2019-07-03T17:59:55Z")

</div>

Hi,

I tried to copy files between network shares on windows machines and the size of the folder is 19GB. After copying 5GB of data getting the following error.

**“Exception calling "Invoke" with \r\n"0" argument(s): "The running command stopped because the preference variable \r\n"ErrorActionPreference" common parameter set to stop: Cannot find path”**

is there any limitations for win\_copy module ?. We can’t use win\_get\_url in our server environment.

The play book is,

- win\_copy:  
src: “\\192.168.1.1\instance\data”  
dest: “\\192.168.1.2\backup\”  
force: true  
remote\_src: true  
become\_method: runas  
become\_user: “admin@adroot”  
become: true

Thanks and regards,  
Shyam.
