Table of Contents
- Overview
- Before you begin
- Step 1 — Identify what is failing
- Step 2 — Fix corrupted CAB in the local repository (force re-download)
- Step 3 — Ignore or exclude the KB
- Step 4 — Manual deployment
- Step 5 — Proxy/network validation
- If the issue persists
- Notes on update availability
Overview
This article describes how to troubleshoot and fix situations where Microsoft patch downloads or remediation fail in GFI LanGuard with errors such as:
Not Found(shown in Activity Monitor > Software Updates Download)None of the needed patches could be downloaded(shown in remediation results)- Debug logs showing
WinINetconnection reset errors (for exampleGetLastError returned 12031) - A corrupted or incomplete CAB file already present in the local patch repository
For details on where to view download/remediation status in the console, see: Monitoring LanGuard Operations with the Activity Monitor
Symptoms:
- Download failures / connection resets when pulling CAB files from
download.windowsupdate.com(WinINet error12031), and - a corrupted CAB already present in the local patch repository, which prevents a successful remediation until it is removed and re-downloaded.
Before you begin
- You will need local administrator access to the LanGuard server.
- The patch repository location may be customized; the default is typically
C:\Program Files (x86)\GFI\LanGuard 12\Repository\English.
Step 1 — Identify what is failing (download vs. deployment)
- Open the LanGuard console and click the Activity Monitor tab.
- Check the exact error text in the UI (this determines what you troubleshoot next):
-
If you see
Not Found: go to Activity Monitor > Software Updates Download, locate the failing entry, then capture the full URL and the Error column text. (You may need to scroll horizontally to see the URL/Error columns.) See: Why do I have Remediation Problems with Third-Party Application Updates and Patches Failing to Download? -
If you see
None of the needed patches could be downloaded: open the remediation details to identify the specific KB(s)/files that failed. You can review remediation status and job details from Activity Monitor (Remediation Operations) as described in: Monitoring LanGuard Operations with the Activity Monitor
-
If you see
- (Optional but recommended) Open the failing download URL in Internet Explorer on the LanGuard server to validate whether the URL is accessible from the same Windows networking layer used by LanGuard. See the download troubleshooting flow in: Why do I have Remediation Problems with Third-Party Application Updates and Patches Failing to Download?
Step 2 — Fix corrupted CAB in the local repository (force re-download)
LanGuard validates update file integrity (for example by verifying expected hashes/sizes). If a CAB already exists in the local patch repository but is corrupted or incomplete, remediation can fail even if the original URL is correct. See: How does GFI LanGuard ensure update integrity?
Optional confirmation (advanced, debug mode should be enabled prior to capturing the error in logs) — Verify this is a corrupted-CAB scenario before doing Step 2
If you want to confirm that you are hitting this exact scenario, check the LanGuard server debug logs for a HASH MISMATCH error for the CAB file that is failing.
- On the LanGuard server, open:
C:\ProgramData\GFI\LanGuard 12\DebugLogs\and then open:lanss_v*_attendantservice.csv(and any rollover backups of that file, if present). See: Introduction to LanGuard Logs - Search for the CAB filename or KB number (for example
KB5071544) and for the textHASH MISMATCH for. An example of the exact error format is:
...,"error ","RemediationPlugin","HASH MISMATCH for 'C:\Program Files (x86)\GFI\LanGuard 12\Repository\English\..._Windows10.0-KB5071544-x64.cab', expected '<sha1>', found '<sha1>'"
Option A — Fix the corrupted CAB in the repository (recommended)
- On the LanGuard server, open Services (
services.msc). - Stop the GFI LanGuard 12 Attendant service.
- Locate the patch repository folder.
- Default example:
C:\Program Files (x86)\GFI\LanGuard 12\Repository\English - The file name typically contains a prefix and the KB number, for example:
*_Windows10.0-KB5071544-x64.cab
- Default example:
-
Move (or delete) the corrupted CAB out of the repository.
- Tip: moving it to a temporary folder is safer than deleting it immediately.
- Start the GFI LanGuard 12 Attendant service.
- In LanGuard, retry the download/remediation for the affected patch (for example, right-click the failed entry and choose Retry download if available, then re-run remediation).
How to validate the fix
- The CAB is downloaded again and reappears in the repository with a new timestamp/size.
- Remediation no longer fails due to integrity validation.
If you are troubleshooting general package integrity issues, the following article includes a general integrity verification approach: Resolving Package Installation Failures and HTTP 403 Errors in GFI LanGuard
Step 3 — If a single KB is blocking patching, temporarily ignore or exclude it (so other patches can proceed)
If one update is failing and blocking your patching workflow, you can temporarily ignore/exclude that specific KB so you can continue deploying other patches.
Option B — Ignore the KB (quick workaround)
- Open the LanGuard console and go to Dashboard > Patches.
- Select the target scope in the computer tree (single machine / group / entire network).
- Select the problematic patch and click Ignore under Actions.
- Choose the scope (for example, Entire network) and the ignore duration.
See detailed steps here: How to Configure LanGuard to Ignore Missing Patch or Vulnerability?
Option C — Exclude the KB in the scanning profile
- Go to Configuration > Scanning Profiles.
- Select the profile you are using and click Edit this Profile.
- In Vulnerability Assessment Options, open the Patches tab and uncheck the KB.
- Save the profile, then run a fresh scan so dashboard results reflect the change.
See detailed steps here: Ignoring Specific Vulnerabilities in Scans
Step 4 — If you must patch immediately, deploy the update manually
If the update is available from Microsoft but cannot be deployed via LanGuard yet (or you need an immediate workaround), you can deploy it using LanGuard’s Deploy Custom Software feature or install it manually.
For a step-by-step LanGuard Deploy Custom Software template for cumulative updates/hotfixes (MSU + BAT), see: Template to push out common Windows updates like Cumulative Updates via LanGuard's Custom Software Deployment feature
- Download the update from the Microsoft Update Catalog: https://www.catalog.update.microsoft.com/
- Install from an elevated command prompt:
wusa.exe "C:\Path\To\<kb>.msu" /quiet /norestart - Reboot:
shutdown /r /t 60 - Verify installation:
Get-HotFix -Id <KB> - Re-scan from LanGuard to confirm compliance.
Step 5 — If downloads still fail (proxy/network), validate proxy settings and retry
If LanGuard cannot download required patch files, remediation cannot continue. Proxy settings are a common cause.
- In the LanGuard console, go to Configuration > Program Updates > Edit proxy settings.
- For troubleshooting, try disabling proxy override / selecting Connect directly to the internet.
- Apply changes and retry the download/remediation.
See: GFI LanGuard Remediation Error: 'None of the needed patches could be downloaded'
If the issue persists
Collect Troubleshooter logs from the LanGuard server and provide them to Support for analysis. To avoid back-and-forth, include:
- A screenshot of the exact error (
Not FoundorNone of the needed patches could be downloaded) - The affected KB number(s) and the full download URL shown in LanGuard (if available)
- The approximate time (with time zone) when you retried the download/remediation
- Troubleshooter logs from the LanGuard server (captured after reproducing the issue)
How to collect the logs:
Notes on update availability
Microsoft and non-Microsoft patches are published to LanGuard via patch management database updates, and the exact time a specific KB appears may vary. For general release timing expectations, see: Patch Management Database Release Schedules
Priyanka Bhotika
Comments