Forum Discussion
Cannot delete the windows upgrade log files
I just downloaded the 23h2 version a couple days ago, I tried deleting the log files in the setting app and in disk cleanup but it always still stays there, when I use disk cleanup to clean it the progress bar is stuck at like 99% and will stay like that unless I interact with my pc in anyway such as moving my mouse, sometimes the cleanup will finish on its own but the log files is still there, and before you say "ohh it's just 200 mb dont worry abt it" I just want you to know that the size of the log files had been steadily increasing whenever I open my pc, on the pic it's 190mb but rn it's over 200mb and there's nothing I could do to remove it, I'm just being forward thinking
2 Replies
- EasionIron Contributor
wevtutil el (this will list all the logs)
wevtutil cl + the name of the log you want to deleteTo delete all the log files on your Windows computer, type the following commands and press “Enter:
cd/
cd windows
del *.log /a /s /q /f
- James6Occasional Reader
How/where do I type the commands, also pls put the exact command that I need to type between brackets so there won't be any mistakes