
Microsoft through its new support page claims Windows 10 2004 build 19041.21 and later has a Troubleshooter that runs to disable automatic running of Disk Cleanup to prevent boot failures for some devices.
Windows 10 offers plenty of troubleshooters to fix issues your device having any related to Windows Update, Printing, Playing Audio, and Internet Connections.
There are also other troubleshooters available to address issues related to Bluetooth, Windows Store Apps, Video Playback, Program Compatibility, Network adapter, etc.
To see the list of troubleshooters available on Windows 10
1. Click on Start
2. Search for troubleshooters, select “Troubleshoot Settings’ results on Top.
3. Click “Additional Troubleshooters”.
Windows 10 sometimes automatically runs certain troubleshooters for some devices. For instance, Microsoft has recently released troubleshooter for select devices to fix the OneDrive’s Files on-demand issue.
Similarly, Microsoft has also released Disk Cleanup Troubleshooter for Windows 10 devices running 19041.21 to temporarily disable “the automatic running of Disk Cleanup until devices install the Windows version 19041.84 update”.
Microsoft’s support page claims “this troubleshooter automatically runs twice. It runs for the first time on all Windows version 19041.21. It then runs again after devices upgraded to Windows version 19041.84”.
You cack check whether Disk Cleanup Troubleshooter ran on your device or not by visit Settings > Update & Security > Troubleshoot > View Troubleshooting history
Related articles:
Windows 10 2004 gets Troubleshooter for OneDrive Files on-Demand issue
Fix ‘This device has been removed from OneDrive’ Error
Microsoft removes Downloads folder from Disk Cleanup in Windows 10 2004
Fix Disk Cleanup stuck on Windows Update Cleanup in Windows 10