I have Windows 7 Pro, SP1, and I am logged in as "Mark", which is an admin account. I can check that in the Control Panel "Users" app, that indeed I am admin.
My successful Visual Studio compilation of some extension, created some folders, such as "obj", which are subsequently impossible to remove.
I tried doing it from: cmd running as Admin, Cygwin, Safe Mode, all failed.
I checked permissions permissions say this account has full access.
In any case, I am also unable to change permissions, and unable to change ownership.
The ownership will not display, it says "unable to display ownership".
The folder in question is "Read-only" in Properties, and I am also unable to uncheck that box and OK.
Same thing holds true for any of the individual files in the folder.
The Administrator account is enabled, the above problems happen whether I log in that account, or my account with Admin privileges.
All these actions result in some variation of "permission denied", "need to be admin", "need to acquire ownership" and such.
I Googled and all of the solutions I found on various fora, including MS, involve some variation of some of the above, and I tried all of them, and noone work.
What else to do?