DiskCleanup icon indicating copy to clipboard operation
DiskCleanup copied to clipboard

Remove-WindowsUpgradeFiles never completes

Open McDoit opened this issue 4 years ago • 2 comments

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?

McDoit avatar May 04 '20 08:05 McDoit

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...

McDoit avatar May 04 '20 09:05 McDoit

So now after it went through once, it works as expected even if you run it in an automated way now?

jaapbrasser avatar May 05 '20 11:05 jaapbrasser