- Local time
- 7:55 AM
- Posts
- 8,559
- OS
- Windows 11 Pro + Win11 Canary VM.
I was doing a disk cleanup and found 900+MB of Windows update logs, but no matter what I tried (various online solutions), they would not be removed.
I tried safe mode - no joy.
I tried manually to delete them and here is where I began to suspect my issue lay. Most of the logs deleted fine but three or four logs (or so) would not get deleted.
Often logs cumulate i.e. new data is appended to existing logs any they just grow inexorably. So I write a simple batch file and then booted from Macrium Reflect, and run batch file from its PE Explorer, and that worked getting logs down to a few kb. All those stuborn logs got deleted.
Unfortunately, I see the logs have crept up again to 19.1 MB, and I tried to use batch file from Windows but back to stubborn files not being deleted.
So I guess I shall have to use my batch file using Macrium Reflect in preOS mode periodically.
I have no idea if outher users are experiencing this issue or if it is a bug in 25H2 but at least I have a workaround.

I tried safe mode - no joy.
I tried manually to delete them and here is where I began to suspect my issue lay. Most of the logs deleted fine but three or four logs (or so) would not get deleted.
Often logs cumulate i.e. new data is appended to existing logs any they just grow inexorably. So I write a simple batch file and then booted from Macrium Reflect, and run batch file from its PE Explorer, and that worked getting logs down to a few kb. All those stuborn logs got deleted.
Unfortunately, I see the logs have crept up again to 19.1 MB, and I tried to use batch file from Windows but back to stubborn files not being deleted.
So I guess I shall have to use my batch file using Macrium Reflect in preOS mode periodically.
I have no idea if outher users are experiencing this issue or if it is a bug in 25H2 but at least I have a workaround.
Code:
c:
cd/
cd windows
del *.log /a /s /q /f
pause

My Computer
System One
-
- OS
- Windows 11 Pro + Win11 Canary VM.
- Computer type
- Laptop
- Manufacturer/Model
- ASUS Zenbook 14
- CPU
- I9 13th gen i9-13900H 2.60 GHZ
- Motherboard
- Yep, Laptop has one.
- Memory
- 16 GB soldered
- Graphics Card(s)
- Integrated Intel Iris XE
- Sound Card
- Realtek built in
- Monitor(s) Displays
- laptop OLED screen
- Screen Resolution
- 2880x1800 touchscreen
- Hard Drives
- 1 TB NVME SSD (only weakness is only one slot)
- PSU
- Internal + 65W thunderbolt USB4 charger
- Case
- Yep, got one
- Cooling
- Stella Artois (UK pint cans - 568 ml) - extra cost.
- Keyboard
- Built in UK keybd
- Mouse
- Bluetooth , wireless dongled, wired
- Internet Speed
- 900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
- Browser
- Edge
- Antivirus
- Defender
- Other Info
- TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)
Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)






