bitsadmin geterror
Retrieves detailed error information for the specified job. Windows commands reference
On Windows
Windows
bitsadmin /geterror <job>
To retrieve the error information for the job named myDownloadJob
bitsadmin /geterror myDownloadJobIdentifyjobThe job's display name or GUID.