Fix it now
AVG does not publish a meaning for 42125 or 42127, so treat them for what the product shows you: some of AVG is present and some is not, so it can neither start nor repair itself. A clean removal with AVG’s own tool and a fresh install is the reliable route, and AVG says to use that tool only after uninstall or repair have failed.
- Download AVG Clear and the full offline installer for your AVG product from AVG’s own site before you start. You may lose convenient network access part way through.
- Try AVG’s own repair option first. AVG states that AVG Clear is for when uninstall or repair have failed repeatedly, so give them a chance.
- If repair fails, restart into Safe Mode: Windows Recovery Environment, Troubleshoot, Advanced options, Startup Settings, Restart, then press 4 for Safe Mode or 5 for Safe Mode with Networking.
- Run AVG Clear. AVG describes it as deleting all files associated with the product, including registry items, installation files and user files.
- Restart into normal Windows, confirm no AVG entry remains under Settings, then Apps, then Installed apps, and that the AVG folders under Program Files and ProgramData are gone.
- Run the offline installer, then reapply your subscription from the AVG interface.
AVG Clear removes your configuration with everything else. Note any exclusions, scheduled scans and firewall rules you rely on before you run it.
If AVG reports protection as active you can stop here. If not, the next section explains why a partly installed antivirus cannot repair itself and which of the five situations you are in.
Why it happens
Start with what these numbers are and are not. AVG’s support knowledge base does not publish a definition for 42125 or 42127 that can be reached and checked, and neither does anyone else who counts as a source. So this article does not tell you what they mean. It tells you what the product does when it shows them, which is enough to fix it and is honest about the difference.
What AVG does publish is the tool. AVG Clear, on AVG’s utilities page, is described as deleting all files associated with your AVG product, including registry items, installation files and user files, and AVG says to use it only if your AVG uninstall or repair has failed repeatedly. That ordering is worth respecting: repair first, removal second.
The reason a partly installed antivirus cannot fix itself is structural rather than mysterious. A security product is not just an application. It installs a service that runs before you sign in, kernel-mode filter drivers sitting in the file system and network stacks, and a self-protection mechanism whose entire job is to stop anything modifying those components. When setup fails part way, the self-protection can still be active while the service that would authorise a change is not, so both the vendor’s installer and Windows Installer are refused.
Safe Mode matters for a mechanical reason. Most third-party filter drivers do not load there, which is what lets a removal tool win an argument it loses in normal Windows. That is a fact about how Windows starts rather than a claim about AVG’s documentation, and it is why every serious security vendor’s removal tool offers to restart the machine that way.
A previous build was never fully removed
You have this one if The machine has had AVG or Avast before and folders or services from it are still present.
- Download AVG Clear from AVG’s site while you still have a working browser.
- Restart into Safe Mode.
- Run AVG Clear and select the product and installation folder it reports.
- Restart into normal Windows and confirm the AVG folders under Program Files and ProgramData are gone before reinstalling.
AVG and Avast share an engine but publish separate removal tools. If both products have been on the machine, run each vendor’s own tool, restarting between them.
An update was interrupted
You have this one if The product worked yesterday, an update ran, and it has reported itself incomplete ever since.
- Try the product’s own repair option first.
- If repair fails, restart into Safe Mode and run AVG Clear.
- Reinstall using the full offline installer rather than the small web installer, so the whole package is on disk before setup starts.
- Reapply your subscription afterwards.
A second security product is in the way
You have this one if Another antivirus, endpoint agent or security suite is installed alongside AVG.
- Open Windows Security, then Settings, then Manage providers, and read what Windows currently recognises.
- Decide on one product and remove the others with each vendor’s own removal tool rather than through Installed apps alone.
- Restart.
- Install AVG last, on a machine where only Microsoft Defender remains.
Running two real-time scanners is not twice the protection. They compete for the same file system positions, and a broken install is the usual result.
Setup cannot write because of disk or file system problems
You have this one if The install fails at different points on different attempts, and Windows reports other odd errors as well.
- Check free space on the system volume; a few hundred megabytes is not enough.
- Run
chkdsk C: /scanfrom an elevated prompt and review the result. - Run
sfc /scannowto repair damaged Windows files. - Retry the installation once the volume is healthy.
Policy or the network is blocking the installer
You have this one if Setup fails immediately, and only on a managed machine or on one particular network.
- Run the installer from an elevated prompt as a local administrator.
- On a managed machine, check whether an application control policy is blocking it, and ask whoever manages the machine before working around anything.
- If the small web installer cannot download its components, use the full offline installer instead.
- Disconnect from a VPN that may be routing the download through an inspecting proxy.
Full reference
Telling the variants apart
| What you see | What is happening |
|---|---|
| AVG opens and reports it is not fully installed | Components partly present; self-protection is blocking the repair |
| The repair option runs and changes nothing | The service that would authorise the repair is not running |
| Uninstall from Installed apps fails or hangs | Windows Installer cannot remove protected files |
| The error appeared straight after an update | An interrupted patch left mixed versions on disk |
| Another security product is also installed | Two products competing for the same driver positions |
| It fails at a different point each time | Look at the disk and the file system before anything else |
What is protecting the machine while you work
Microsoft documents the behaviour precisely, and it is more reassuring than most people assume. On Windows 10 and 11 that are not onboarded to Defender for Endpoint, Microsoft Defender Antivirus goes into Disabled mode automatically when a third-party antivirus registers. And where it has been disabled automatically, it can be re-enabled automatically if the non-Microsoft product expires, is uninstalled, or otherwise stops providing real-time protection.
So a machine with a broken AVG is usually not unprotected for long. It is still worth confirming rather than assuming: open Windows Security, then Virus and threat protection, and check that something is scanning. Do that before you browse, and again once the removal has finished.
Getting into Safe Mode, and why
- Open the Windows Recovery Environment.
- Choose Troubleshoot, then Advanced options, then Startup Settings, then Restart.
- At the Startup Settings screen press 4 for Safe Mode, or 5 for Safe Mode with Networking if you still need to download anything.
- Run the removal tool there. Most third-party filter drivers do not load in Safe Mode, which is why a removal that fails in normal Windows succeeds here.
- Restart into normal Windows before installing anything new.
Checking what Windows thinks is installed
| Check | What it tells you |
|---|---|
| Windows Security, Settings, Manage providers | Which security providers Windows currently recognises. This is the documented view |
services.msc |
Whether the vendor’s services are still registered after a removal |
fltmc filters from an elevated prompt |
Which file system filter drivers are loaded, including leftovers |
| Settings, then Apps, then Installed apps | What is registered for uninstall, which is not always what is on disk |
Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct |
A convenient list of registered antivirus products. Microsoft does not document this namespace, so treat it as a shortcut rather than as authoritative |
Before you reinstall
- Confirm the AVG folders under Program Files and ProgramData are gone, not just the entry in Installed apps.
- Confirm no AVG service remains in
services.msc. - Run
fltmc filtersand confirm no AVG filter is still loaded. - Have your subscription details or activation code to hand before you start the installer, so the machine is not left unprotected while you look for them.
- Use the full offline installer. A web installer that fails part way through on a machine you have just cleaned puts you back where you started.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
42125 |
Shown when AVG reports its own installation as incomplete. AVG publishes no definition of the number itself | not published by the vendor |
42127 |
The same condition reported from a different point in the product; no published definition | not published by the vendor |
AVG Antivirus is not fully installed |
The user-facing wording of the same condition, shown without a numeric code | not published by the vendor |
Confirm the fix worked
- AVG reports protection as active with no repair prompt.
- Windows Security, then Virus and threat protection, shows AVG as the active provider.
- A short manual scan completes.
fltmc filterslists AVG’s filters and no leftovers from a previous product.- Restart and confirm AVG starts on its own without prompting.
Questions people ask about this
Do I need to buy AVG again to fix this?
No. This is an installation fault and your subscription is not affected by it. Reinstalling and re-entering the same subscription details is normal and costs nothing.
What do 42125 and 42127 actually mean?
AVG does not publish a definition for either number that can be checked. What can be verified is the condition the product reports alongside them and the tool AVG publishes for clearing it, which is what this article works from.
Will I lose my settings?
Yes. AVG describes AVG Clear as deleting all files associated with the product, including registry items and user files, so note any exclusions, scheduled scans and firewall rules before you run it.
Is Safe Mode really necessary?
Often. In normal Windows the security product’s drivers are loaded and will block the removal. Most of them do not load in Safe Mode, which is why removals that fail one way succeed the other.
Am I unprotected while I do this?
Briefly, and probably less than you think. Microsoft documents that Defender re-enables itself automatically when a third-party product stops providing real-time protection. Check Windows Security to confirm rather than assuming, and stay off the web until you have.
