How to Completely Uninstall CCleaner (Piriform / Gen Digital) & Remove Kernel Drivers

Decommissioning CCleaner (Piriform / Gen Digital) requires more than running the standard Windows Programs and Features applet. Endpoint security suites integrate deep kernel minifilter drivers, WFP callouts, and early-launch anti-malware (ELAM) hooks designed to resist uninstallation. Follow this step-by-step engineering runbook to completely eradicate lingering files, drivers, and services.

Summary Checklist:

Step 1: Disable Kernel Tamper Protection & Self-Defense

CCleaner (Piriform / Gen Digital) implements a kernel self-protection driver (such as CCleanerPerformance.sys) that intercepts and denies API termination calls, registry deletion requests, and driver unloading even from administrative accounts. To disable this barrier:

  1. Open the CCleaner (Piriform / Gen Digital) main desktop user interface.
  2. Navigate to Settings > Troubleshooting > General.
  3. Locate "Enable Self-Defense" or "Tamper Protection" and uncheck the toggle.
  4. If the UI is non-responsive or corrupted, force Windows to boot into Safe Mode where third-party kernel drivers are suppressed:
    bcdedit /set {current} safeboot minimal
    shutdown /r /t 0

Step 2: Execute Official Removal Utility in Safe Mode

Once booted into Safe Mode, execute the vendor-engineered deep cleanup package Official Windows Uninstaller (uninst.exe /S) or CCleaner Cleanup Script. This tool performs the following automated routines:

Step 3: Manually Unload Lingering Minifilter Drivers

If manual inspection indicates that CCleaner (Piriform / Gen Digital) drivers survived the uninstallation, use the Windows Filter Manager utility (fltmc.exe):

# Query active minifilter drivers and altitude numbers
fltmc filters

# Detach CCleaner (Piriform / Gen Digital) driver from file system stack
fltmc unload CCleanerPerformance

# Confirm detachment
fltmc instances

Step 4: Purge WMI SecurityCenter2 Registration Remnants

Prevent Windows Defender from falsely displaying that CCleaner (Piriform / Gen Digital) is actively protecting the machine:

# Elevated PowerShell command:
$orphan = Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntiVirusProduct | Where-Object { $_.displayName -match "CCleaner|ccleaner" }
if ($orphan) {
    Remove-CimInstance -InputObject $orphan
    Write-Host "Orphaned WMI registration removed."
}

Step 5: Clean Registry Keys and Restore Normal Boot

Prune orphaned configuration keys from the registry and reset Windows boot configuration:

# Elevated command prompt
reg delete "HKLM\SOFTWARE\Piriform\CCleaner" /f
bcdedit /deletevalue {current} safeboot
shutdown /r /t 0

Next Steps & Financial Security

Once the local endpoint is clean, remember that uninstallation does not cancel your recurring billing agreement. Review our companion guides: