DiskCleanup
DiskCleanup copied to clipboard
Remove-WindowsUpgradeFiles never completes
Hello and thank you for an amazng Powershell module, really been helpful over the years
But last week i ran into an issue with it, that the process never finishes and my boxstarter script i run it in times out after 24h
I'm running it on the latest Server 2019 Container edition at AWS Any idea how i can debug it?
Only thing i have seen is that the cleanup process is not running with PID 1337, but that might not be the issue?
Just ran it manually once, and then running
Install-Module DiskCleanup -Force -AllowClobber
Remove-WindowsUpgradeFiles -Verbose -Confirm:$false
and then it went through, no idea why...
So now after it went through once, it works as expected even if you run it in an automated way now?