Patch Management provides error codes and messages for connection and patching issues in two categories:
- Application Patch
- OS Patch
If there is a Task Failed status, some errors may appear in the Task result. Otherwise, retrieve the diagnostic log file EndpointAgent.txt from the endpoint, located here:
- %ProgramData%\Malwarebytes Endpoint Agent\Logs\EndpointAgent.txt
Patch Management errors
This table details errors found with the Patch Management module.
Code | Error | Description/Resolution |
-15 | WAAPI_ERROR_DATABASE_ENTRY_MISSING |
|
-17 | WAAPI_ERROR_NO_CONNECTION |
|
-19 | WAAPI_ERROR_INVALID_CREDENTIALS |
|
-40 | WAAPI_ERROR_UNINSTALL_TIMEOUT | Indicates a timeout for uninstallation. Try to uninstall again. |
-300 | HTTP_MULTIPLE_CHOICES |
|
-301 | HTTP_MOVED_PERMANENTLY |
|
-302 | HTTP_FOUND |
|
-303 | HTTP_SEE_OTHER |
|
-304 | HTTP_NOT_MODIFIED |
|
-305 | HTTP_USE_PROXY |
|
-307 | HTTP_TEMPORARY_REDIRECT |
|
-400 | HTTP_BAD_REQUEST |
|
-401 | HTTP_UNAUTHORIZED |
|
-403 | HTTP_FORBIDDEN |
|
-404 | HTTP_NOT_FOUND |
|
-405 | HTTP_METHOD_NOT_ALLOWED |
|
-406 | HTTP_NOT_ACCEPTABLE |
|
-407 | HTTP_PROXY_AUTHENTICATION_REQUIRED |
|
-408 | HTTP_REQUEST_TIMEOUT |
|
-409 | HTTP_CONFLICT |
|
-410 | HTTP_GONE |
|
-411 | HTTP_LENGTH_REQUIRED |
|
-412 | HTTP_PRECONDITION_FAILED |
|
-413 | HTTP_REQUEST_ENTITY_TOO_LARGE |
|
-414 | HTTP_REQUEST_URI_TOO_LONG |
|
-415 | HTTP_UNSUPPORTED_MEDIA_TYPE |
|
-416 | HTTP_REQUESTED_RANGE_NOT_SATISFIABLE |
|
-417 | HTTP_EXPECTATION_FAILED |
|
-500 | HTTP_INTERNAL_SERVER_ERROR |
|
-501 | HTTP_NOT_IMPLEMENTED |
|
-502 | HTTP_BAD_GATEWAY |
|
-503 | HTTP_SERVICE_UNAVAILABLE |
|
-504 | HTTP_GATEWAY_TIMEOUT |
|
-505 | HTTP_VERSION_NOT_SUPPORTED |
|
-1005 | VMOD_ERROR_PRODUCT_NOT_FOUND |
|
-1020 |
WA_VMOD_ERROR_CANNOT_GET_VERSION |
|
-1021 |
WA_VMOD_ERROR_GET_SYSTEM_PATCH_TIMEOUT |
|
-1030 | WA_VMOD_ERROR_CANNOT_TERMINATE_PRODUCT |
|
-1033 | WA_VMOD_ERROR_NEED_UNINSTALL_PRODUCT_FIRST | Indicates an error to uninstall the software first before installing a new version. |
-1034 |
WA_VMOD_ERROR_INSTALLATION_FAILED |
|
-1036 |
WA_VMOD_ERROR_EXTRACT_FAILED |
|
-1037 |
WA_VMOD_ERROR_OUT_OF_MEMORY |
|
Windows Update errors
For applying OS patches on Windows, Patch Management uses the Windows Update Agent API. For more information on Windows Update and Windows Setup errors and troubleshooting recommendations, see:
- Windows Update error codes by component
- Troubleshoot Windows Update errors
- Windows Upgrade error codes
- Troubleshoot Windows Upgrade errors
Common errors:
Error | Description | Suggested Action |
0x80240007 | WU_E_INVALIDINDEX The index to a collection was invalid. | Fix corrupted Windows Update |
Fix Corrupted Windows Update
- Launch Services.msc and stop the Windows Update Service.
- Delete contents of the following folders:
- %windir%\SoftwareDistribution\DataStore
- %windir%\SoftwareDistribution\Download
- Run the following commands to fix Windows corruption:
- DISM.exe /Online /Cleanup-image /Restorehealth
- sfc /scannow
- Launch Services.msc and start the Windows Update Service.
Return to Nebula Patch Management guide.