Overview
If the patch repository is filling up the hard drive, there are a few steps that can be performed to resolve this issue.
It is generally expected that someone from the support team performs the steps mentioned in this article. These steps purge the auto-download queue within LanGuard.
You can also delete the content of the Patch Repository without any issue. However, if the items are still in the download queue, they will be re-downloaded once the services are running. This is why we must manually purge the data from the patch auto-download database.
This article provides step-by-step instructions on how you can delete the filled-up patched from the repository.
Prerequisites
Microsoft Access
Process
- Stop all the LanGuard services.
- Close the LanGuard GUI.
- Navigate to
C:\Program Files (x86)\GFI\LanGuard 12\Repository\English
or the repository path. - Delete any unnecessary files in this directory.
- You can delete all the files in this directory path without issues, and these will be re-downloaded at another time.
- Navigate to
C:\ProgramData\GFI\LanGuard 12
. - Find the
toolcfg_patchautodownload.mdb
file and make a copy of it somewhere else. - Open the
toolcfg_patchautodownload.mdb
file created from the above step with Microsoft Access. - Open the
DownloadQueue
table. - Press Ctrl+A to select everything in this table and delete it.
- Go to File > Info > Compact and Repair.
- Rename the existing
C:\ProgramData\GFI\LanGuard 12\toolcfg_patchautodownload.mdb
totoolcfg_patchautodownload.old
. - Copy the edited
toolcfg_patchautodownload.mdb
from Step 6 to theC:\ProgramData\GFI\LanGuard 12\
directory path. - Reopen the LanGuard GUI.
- Navigate to Configuration > Software Updates > Patch Auto-Download. Click the Here link.
- Either select the radio button to download Detected patches only or turn off Enable patch auto-download.
- Navigate to the Patch Repository tab and enable the option to Delete patches that have not been used for... and set it to either 6 months or 1 year.
- Restart all the LanGuard services, which were stopped in Step 1.
NOTE: A sample edited toolcfg_patchautodownload.mdb
file is attached.
Priyanka Bhotika
Comments