Removing C:\Windows.old

Written by James McDonald

August 11, 2020

Windows 10 Pro
Version 2004 (OS Build 19041.388)

In an elevated command prompt

Trying to delete C:\Windows.old getting access denied

Also got “The data area passed to a system call is too small.” while running cacls

Commands to run to delete C:\Windows.old

takeown /f C:\Windows.old /r /d y
icacls C:\Windows.old /grant administrators:F /T
attrib -s -h -r C:\Windows.old /s /d
rmdir C:\Windows.old /S


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...


Just downloaded WizTree (not a sponsor) from It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...