Friday, October 25, 2019

windows 7 - A single file has become unusable, unmodifiable, undeletable. Cannot take ownership

A single file, at /MyFolder/images/file1.png, has become, suddenly, a god entity as I've never seen one before. I'm the only account on the PC, full admin rights. UAC turned off always, ever since the beginning. What has failed:




  • Windows Explorer -> Properties -> Security:


    • "You do not have permissions to view or edit this object's permission settings"




    • Advanced -> Owner: Current owner: Unable to display current owner


  • takeown /f file1.png /r /d y: ERROR: Access is denied.

  • icacls file1.png /grant administrators:F /T: file1.png: Access is denied. Succesfully processed 0 files; Failed processing 1 files.

  • net user administrator /active:yes in an elevated command prompt, switching to Administrator user, trying to take ownership through Windows Explorer & repeated above steps.



Whatever I do, I cannot retake control of this file. What have I missed, what can I do?

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...