File failing to copy

I am running into a problem. I have 2 files that have been added to a SWD action. The first file is a .msi and it installs correctly, I then rename a file in the just created folder, that works. What is failing is when I try to copy the second file from the downloads folder to the newly created folder. If I move it gives me the following error.

Retry error, attempt 9 failed for MoveFile (C:\BigFix Enterprise\BES Client__BESData\CustomSite_WEC_Windows__Download/\avtar.exe ,C:\Program Files\avs\bin)
At 13:19:03 -0500 - actionsite (http://BIGFIX01.corp.dirsrv.com:52311/cgi-bin/bfgather.exe/actionsite)
Command failed (Move of ‘C:\BigFix Enterprise\BES Client__BESData\CustomSite_WEC_Windows__Download/\avtar.exe’ to ‘C:\Program Files\avs\bin’ failed (0 - File error “class FileFoundError” on “C:\Program Files\avs\bin”)) move “__Download/\avtar.exe” “C:\Program Files\avs\bin” (action:6277)

If I try to copy the file it gives me the following error

Command failed (Copy of ‘C:\BigFix Enterprise\BES Client__BESData\CustomSite_WEC_Windows__Download\avtar.exe’ to ‘C:\Program Files\avs\bin’ failed (5 - File error “class FileCopyError” on “C:\BigFix Enterprise\BES Client__BESData\CustomSite_WEC_Windows__Download\avtar.exe” and “C:\Program Files\avs\bin” : “Windows Error 0x5%: Access is denied.”)) copy “C:\BigFix Enterprise\BES Client__BESData\CustomSite_WEC_Windows__Download\avtar.exe” “C:\Program Files\avs\bin” (action:6279)

So I did a manual install, when I try to drag and copy or move it gives me a permissions issue. If I use an administrative command prompt and move or copy the file it works, but not if I just use a regular command prompt.

How do I get the BigFix to copy or move the file and bypass the permissions issue on the folder?

Any help is greatly appreciated at this time.

In the occasional case where I’ve run into a problem where using the actionscript copy command didn’t work, using wait xcopy has worked for me. Maybe give that a shot?

3 Likes

@alinder That worked like a charm. Thank you very much for that work around!!!

3 Likes