Closed JonathanPitre closed 1 year ago
I will try to run cleanmgr interactively to see what's happening. You could do the same selecting everything from the GUI.
At which step does it freeze snd what parameters are you using?
I did, it seems to get stuck on Windows Defender cleanup. If I click on the process window, it ends the process. Weird one!
I can't reproduce it in Windows 11. Please re-open if you have more info
Describe the bug Even though disk cleanup launch and run properly, it stays open forever in the background and I have to manually kill the process every single time.
Maybe a kill command could be launched after a certain wait time?
Expected behavior Disk Cleanup should close automatically when done and the script should continue.
Desktop (please complete the following information):