Overview
After uninstalling applications, many uninstallers leave behind files, folders, registry entries, and other remnants. BCU’s junk cleanup system uses intelligent pattern matching and confidence scoring to detect and safely remove these leftovers.How Junk Detection Works
BCU employs multiple specialized scanners that look for different types of leftover data:Junk Scanner Types
Registry Scanner
Finds leftover registry keys and values related to uninstalled applications
File System Scanner
Detects orphaned directories in Program Files, AppData, and other common locations
Startup Entries
Identifies startup entries pointing to non-existent files
Shortcuts
Finds broken shortcuts in Start Menu and Desktop
Prefetch Files
Locates Windows prefetch files for uninstalled applications
Windows Error Reporting
Detects crash reports from removed applications
Confidence System
BCU uses a confidence scoring system to determine how likely each detected item is actually junk. This prevents false positives and accidental deletion of important files.Confidence Levels
- Confidence Calculation
- Scoring Factors
Multiple factors contribute to the final confidence score:
String Matching Algorithm
BCU uses the Sift4 algorithm for fuzzy string matching:Types of Junk
File System Junk
File System Junk
Leftover files and directories in various locations:
- Install Location: Remnants in the original install directory
- AppData: User-specific application data in
%APPDATA%and%LOCALAPPDATA% - ProgramData: Shared application data in
%PROGRAMDATA% - Uninstaller Location: Leftover uninstaller files
- Temp Folders: Temporary files in Windows temp directories
Registry Junk
Registry Junk
Leftover registry keys and values:
- Uninstall Keys: Registry entries under
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall - Application Keys: Custom registry keys under
HKLM\SoftwareandHKCU\Software - Shared DLLs: Orphaned shared DLL references
- File Associations: File type associations for removed applications
- MUI Cache: Display name cache entries
Startup Entries
Startup Entries
Orphaned startup items:
- Run Registry Keys: Autostart entries in registry
- Startup Folder: Shortcuts in Startup folders
- Scheduled Tasks: Windows Task Scheduler entries
- Services: Windows services that no longer exist
Shortcuts
Shortcuts
Broken shortcuts pointing to non-existent files:
- Start Menu: Application shortcuts in Start Menu
- Desktop: Desktop shortcuts
- Quick Launch: Quick launch shortcuts
Junk Cleanup Process
Automatic Scan
After a bulk uninstall operation:Manual Scan
You can manually trigger junk scanning:- Select one or more applications
- Go to Tools → Advanced Uninstall
- Review detected junk items
- Select items to remove
- Confirm deletion
Safety Features
Duplicate Removal
Identical junk entries are merged to prevent redundant operations
Prohibited Locations
System folders like Windows, System32, and Program Files root are protected
Self-Protection
BCU never suggests removing its own files
Running Process Check
Warns if processes are using files marked for deletion
Protected Locations
Program Files Orphan Scanner
A specialized scanner for finding orphaned directories in Program Files:- Scans all Program Files directories
- Compares found folders to installed applications
- Identifies folders without corresponding applications
- Assigns confidence based on folder contents
Best Practice: Run the Program Files orphan scanner periodically to clean up leftover folders from improperly uninstalled applications.
Filtering and Customization
Confidence Threshold
By default, BCU shows all junk with confidence ≥ 0. You can adjust this:- Show All: Display even low-confidence matches (useful for thorough cleanup)
- Good and Above: Only show items with Good or VeryGood confidence
- Custom Filter: Set a specific confidence threshold
Similar Name Detection
BCU prevents false positives when similar application names exist:Related Topics
Bulk Uninstall
Learn about bulk uninstallation operations
Application Detection
How BCU finds installed applications
