Link to home
Start Free TrialLog in
Avatar of ManieyaK_
ManieyaK_Flag for United States of America

asked on

Cannot Take Ownership of Folder

Hello Experts I've run into an issue where i cannot take ownership of a particular folder.  I've followed the direction at the following site

http://answers.microsoft.com/en-us/windows/forum/windows_7-security/access-is-denied-unable-to-display-current-owner/24394120-b9d3-4d06-b84d-3cc5b001c7e1

But it still produced an "Access Denied Error"  My end goal to take ownership so i can delete the file.
Avatar of LockDown32
LockDown32
Flag of United States of America image

Are you logged in and doing it as "administrator"? The short version is to right click on it and go to Properties. Security TAB. Advanced. Then at the top to the right of Owner click on change. Add Administrator. It it is a folder click on the Replace Permissions on subfolders and file. Click Apply.

Even then before you can delete it. You have to give Administrators full access. Is it a file or a folder?
Avatar of ManieyaK_

ASKER

Yup this was tried logged in as admin right clicked went to security, Advanced, effective owner tried replacing current with admins still got "access denied"
and the answer to the question "is it a file or folder"? You could also try deleting it after booting from a CD like UBCD4WIN: http://www.majorgeeks.com/files/details/ubcd4win.html

Is it malware related? What was the file or folder?
I posted a similar question and received a good solution.  See my original post here.

https://www.experts-exchange.com/questions/28945311/How-to-reset-file-and-folder-permissions-to-FULL-Control-quickly.html

The solution was give by Hamza K - There's a program call Take Ownership you can use.
SOLUTION
Avatar of Carl Dula
Carl Dula
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
start an elevated cmd prompt (run as administrator
takeown /f x:\path /r /d n

Open in new window

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you all for the comments, this were all good comments.   I downloaded "Unlocker" after using it i was able to delete the file needed.
Thank you for the comments.