Impossible to delete a file in Windows 7
I downloaded Cygwin, did something wrong, deleted it entirely, and reinstalled it.
Somehow I then did something very wrong with the result that I now have absolutely no permissions on any account to do anything to the .SSH folder, even though I'm the administrator. Here's everything I've tried but with no effect:
- Deleted the Cygwin .reg files
- Deleted all the Cygwin files that I could
- Gone to the Security tab and tried to change permissions from ANY account
- Tried deleting the folder using
cmd
- Booted into safe mode and tried deleting from there
Any ideas how I can fix this?
Solution 1:
I have a suspicion you were changing permissions with the Security dialog, rather than taking ownership, and that's why it didn't work (you weren't the owner).
Try this on the command line:
TakeOwn /F YOUR_FOLDER_PATH /R /A
This will make the Administrators group the owners. (You can take off /A
to make yourself the owner.)
Solution 2:
try booting Ubuntu Live CD (or any Linux), and find the file in your hard disk, and delete...