I'm prepping to upgrade to Windows 10, finally, and I'm running into some trouble while clearing out my storage HDD. There were two files on there, an EXE and an OCX file relating to Adobe Flash 10. They are being very stubborn about being deleted, here is what I've tried:
- Shift+Del: claims the files are in use by something
- When deleting them normally, I see
"You require permission from PCNAME\MY USERNAME to make changes to this folder" - I am the owner of these files and the parent folder, and I have granted myself full permissions for the folder and children items
- Right Click > Take Ownership: no luck after doing this, although the process is successful
- I can rename these files and Cut-Paste them to wherever I please, but I cannot delete them.
- Powershell: Tried
Remove-Item '.\Delete Me' -Force -Recursebut error claims 'Access to the path is denied.' - Powershell:
rm '.\Delete Me' -Forcereturns the same error - PsExec: Tried running Powershell as SYSTEM, no dice, same errors as above
- Third party software Unlocker: claims the files become unlocked and process-free, but they still can't be deleted
- Another answer on StackExchange had me try a .bat file to take control, but no dice
- They are marked as Read-Only files, but I do not have permission to change that
- Safe Mode: no go. Same errors as before.
To be fair, the files only amount to 4MB of space, but it's principle at this point; I don't want to be defeated by two measly files. Formatting the disk seems a bit of a Genos thing to do (think: overkill). So, what else can I possibly do to get rid of them?
Everyonefull access? Would it work if you grant it only to yourself/Administrators? – Oskar Skog Nov 11 '23 at 23:57