There is a built-in tool in Windows 10 the Disk Cleanup Utility which can help you restore hard disk space by removing temporary files, Thumbnails, old Windows files, Windows Upgrade logs, Delivery optimization files, and many more. However, from time to time, this built-in tool also experiences some issues. One of these issues is when it gets stuck on Windows Update Cleanup. Read on to find out what you can do in such a case.
When the Disk Cleanup Utility is stuck on the Windows Update Cleanup, the process could be slow and take a long time to complete when purging the files. If this happens, click on Cancel to close the dialog box. After that, try running the Disk Cleanup Tool again as administrator and check if the files that you want to clean is still there or not. If it isn’t there, then this means that the cleanup has been done, otherwise, you need to refer to the options given below.
net stop wuauserv
net start cryptSvc
net start bits
net start msiserver
After resetting the SoftwareDistribution folder, you need to reset the Catroot2 folder to restart the services you just stopped. To do that, follow these steps:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
The Windows.old folder is the one that holds the older version of Windows when you upgrade. It comes really useful when you want to revert to the previous version of Windows 10. Thus, you can delete the Windows.old files in case the cleanup tool is stuck.
Another thing you can try is to restart your computer in a Clean Boot State or Safe Mode. Chances are, there are some programs that are preventing the Disk Cleanup Utility tool to run properly. After you restart your computer in a Clean Boot State or Safe Mode, try to run the Disk Cleanup tool again and then see if it now works or not.
You might also want to run the Windows Update Troubleshooter as it could also help in fixing this issue. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button. After that, follow the next on-screen instructions and you should be good to go.
You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Wdf01000.sys Blue Screen error. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
bcdedit /set recoveryenabled NO
chkdsk /r /f