Sharing the complete, step-by-step solution that restored my PC after a corrupted Avast/AVG update caused an infinite Automatic Repair boot loop, followed by a non-functional keyboard at the login screen. I use Avast One Individual, and the issue occurred on October 13, 2026.
Phase 1: Diagnosing the Boot Loop Root Cause
1. In the Automatic Repair menu, went to Advanced Options > Troubleshoot > Advanced Options > Command Prompt.
2. Opened the startup repair log by typing:
notepad c:\windows\system32\logfiles\srt\srttrail.txt
3. Scrolled to the bottom to find Root cause found. The log explicitly flagged a corrupted Avast antivirus driver: aswvmm.sys.
Phase 2: Rebuilding the Boot Files & Clearing Broken Drivers
Because the drive configuration letters shift in recovery mode, standard fixes were throwing “Access Denied” errors.
1. Used diskpart → list volume to locate the hidden 100MB FAT32 EFI Boot Partition.
2. Assigned it a temporary letter (V:) and completely rebuilt the corrupted boot files from scratch by running:
bcdboot C:\Windows /s V: /f UEFI
3. After a reboot, the system hit a secondary crash screen (Error 0xc000007b) pointing to another leftover Avast rootkit driver file: aswRvrt.sys.
4. Booted back into the recovery Command Prompt and forcefully deleted all remaining Avast driver files using:
del /f /q C:\Windows\System32\drivers\asw*.sys
Phase 3: Bypassing the Unresponsive Keyboard
Deleting the driver files successfully allowed Windows 10 to reach the desktop login screen. However, because Avast hooks into the hardware stack as an “UpperFilter” keylogger protection driver, Windows refused to initialize power to the physical keyboard.
1. Bypassed the locked login screen by using the mouse to click the Accessibility icon and turning on the On-Screen Keyboard.
2. Once logged in, downloaded and ran the official Avast Clear Uninstall Utility to cleanly purge the remaining broken core application files.
3. To restore the physical keyboard, opened Device Manager, expanded Universal Serial Bus controllers and Keyboards, right-clicked my input devices, and selected Uninstall Device.
4. Restarted the PC. On reboot, Windows threw away the broken Avast filter profile, discovered the keyboard as a new device, and automatically mapped its clean, default factory driver (kbdclass.sys).
My PC is now fully operational and stable, and the corrupted software has been completely removed. However, after this experience, I’m really hesitant to reinstall Avast on my PC.