Forum Discussion
Windows 11 cannot delete 0KB files, prompting that administrator permissions are required?
A file became corrupted, turned into 0KB, 360's force delete tool was ineffective, and deleting it prompts for administrator permission. How can it be deleted?
3 Replies
Hi,
A 0 KB file is not necessarily corrupted. I reproduced the issue in a PowerShell test environment: a file with broken NTFS permissions (inheritance disabled and no effective access rules) becomes impossible to delete, even with admin rights.
You can check the ACL with:
Get-Acl "C:\Path\File.txt" | Format-ListIf inheritance is disabled, restore it:
$acl = Get-Acl "C:\Path\File.txt" $acl.SetAccessRuleProtection($false, $true) Set-Acl "C:\Path\File.txt" $aclThen try deleting again:
Remove-Item "C:\Path\File.txt"Other causes include:
- checking if a process is locking it (Task Manager or openfiles.exe),
- deleting it from an elevated PowerShell prompt,
- using Remove-Item -Path \\?\C:\Path\File.ext for invalid names,
- running chkdsk /f if the entry is orphaned.
These cases are common and don’t always indicate corruption.
- LuxixBrass Contributor
To delete a corrupted 0KB file that prompts for administrator permissions, start by taking ownership, run Command Prompt as administrator, try Safe Mode, or use third-party unlocker tools. These methods usually resolve stubborn file deletion issues.
- AlfreduiBrass Contributor
When a file becomes corrupted, shows as 0KB, and cannot be deleted even with specialized tools, it can be quite stubborn. Since it prompts for administrator permission, you probably need to use advanced methods with elevated privileges.