I was delayed getting my tablet with Win11 updated this month, & when I tackled it today had problems [Thanks Microsoft] -- the update failed when the cumulative update tried to install the buggy UEFI patch that Microsoft has been trying to push out successfully for months now. Figured no problem, I'll download the update, where that UEFI patch will *hopefully* be absent, & install April's update that way. It worked, but the combined attempts left the C:\Windows\ SoftwareDistribution\ Download\ folder Really Jam Packed. When you delete a folder in File Explorer it for some reason counts all the files & then gives you an estimated time to completion. This Download folder had too many files for this poor tablet to handle with its meager 2GB RAM -- it crashed File Explorer. The solution was to use RoboCopy. There is no Delete option, so you have to trick it...
You 1st need an empty folder, then in PowerShell the command is Robocopy [Path To Empty Folder] [Path To Folder To Delete] /Purge
. In this case I used Robocopy C:\Temp C:\Windows\SoftwareDistribution\Download /purge . RoboCopy then copies the contents of the empty folder [which is none], then deletes any files in the destination folder that don't match that empty folder [all of the files]. It can take a while, but you're not waiting for File Explorer to do its count, & when it's done just delete the remaining folder.