Bitsadmin triggers an error

Tibo Fallous 0 Reputation points
2023-10-23T16:50:38.5333333+00:00

Hello,

The following command:

bitsadmin /transfer dl_job https://aka.ms/vs/17/release/vc_redist.x64.exe vc_redist.x64.exe

returns the following error:

Unable to add file - 0x80070057

Though, it's correct according to the documentation.

Tibo

Windows for business Windows Server User experience PowerShell
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2023-10-25T02:07:33.31+00:00

    Are you sure that the current directory is correct?

    Instead of using a relative path, try using the complete file path as the last parameter. E.g. c:\MyDir\vc_redist.x64.exe

    1 person found this answer helpful.
    0 comments No comments

  2. Rich Matheisen 47,901 Reputation points
    2023-10-23T19:00:22.2633333+00:00

    That error code points to a storage problem. Either the file you downloaded is damaged or there was a problem writing the file to your local disk.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.