Takeown, ICALCS

F

Frank C

I am trying to get permissions and ownership of eighteen files on my external
hard drive. I want to delete these files.
Of the five commands listed here only the first - CD and - last DIR work.
all the rest fail with "Access Denied". I am running the commands from the
administrator account. How do I do this to gain ownership?
cd %systemroot%
takeown /f
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
/r /a /d y > NUL
icacls
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
/grant Administrators:(F) /t /l /q
RMDIR /S
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
DIR
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
 
M

Michal Kawecki

Dnia Thu, 1 Jul 2010 14:43:17 -0700, Frank C napisa³(a):
I am trying to get permissions and ownership of eighteen files on my external
hard drive. I want to delete these files.
Of the five commands listed here only the first - CD and - last DIR work.
all the rest fail with "Access Denied". I am running the commands from the
administrator account. How do I do this to gain ownership?
cd %systemroot%
takeown /f
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
/r /a /d y > NUL
icacls
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
/grant Administrators:(F) /t /l /q
RMDIR /S
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics
DIR
\\Externaldrive\public\BackUp-Music\Bad-Owner\American-Light-Music-Classics

Unlocker
http://ccollomb.free.fr/unlocker/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top