Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Windows 7 folder ownership and permissions

Sep 9, 2010 6:19PM PDT

I'm trying to delete a folder in the C: drive and to do that I have to change the ownership of the folder because of the Windows 7 limited administration thing. I went to the folder in question, clicked on Properties, clicked on Security, went to Advanced, clicked on Owner, went to Edit, and tried to change the owner both to the Administrators and to my personal user, but both said "Unable to set new owner on FILE" Access is denied. On other threads I have never found anyone run into this, can someone help me understand what's going on?

Discussion is locked

- Collapse -
Re: deleting a file
Sep 9, 2010 6:23PM PDT

Can you tell what you mean with "the Windows 7 limited administration thing"? And do you use an administrator account when you do this?

Kees

- Collapse -
SOLVED
Sep 9, 2010 6:26PM PDT

For some reason when I restarted my computer, the ownership had changed and I was able to control the folder. Sorry. Is it strange that the ownership changed only when restarted?

- Collapse -
Sorry.
Sep 9, 2010 8:38PM PDT

But the discussion about how to remove a folder has been done a few times. No offense since you may not have found it. However what limitation are you writing about? And what FOLDER?

If you must delete a folder we have options. From the console to booting up Ubuntu from CD. It can get done but imagine the poor owner that deleted a folder they shouldn't have.
Bob

- Collapse -
same issue here
Sep 13, 2010 9:53AM PDT

I got same problem.
logged on as user.
start cmd.
-run elevated cmd(administrators)
runas /user:myadmin cmd
--------problem 1 with myadmin--------------
defrag /a e:
disk defragmenter cannot start...insufficient priveleges...
--------problem 2 with myadmin-------------
takeown /f c:\ravbin
ERROR:current user logged on does not have ownership privleges on the file c:\ravbin
-I checked ravbin,owner is administrators,myadmin is in administrators group
--------------solution-----------------------------
right click cmd, runas administrator
-shows username myadmin,type in password
defrag /a e:
(success)
takeown /f c:\ravbin
(success)
----------------my theory-------------------------------
somehow there is a bug in the authentication system
where myadmin is in administrator group, but actually has a limit to the administrative rights.
then there is the true administrator all commands work and no limit.
still trying to find out for sure or if its supposed to be like that.

- Collapse -
Never saw that.
Sep 13, 2010 10:10AM PDT