Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Takeown, ICALCS

Reply
Thread Tools Display Modes

Takeown, ICALCS

 
 
Frank C
Guest
Posts: n/a

 
      07-01-2010
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 AdministratorsF) /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
--
Frank C
Dell Inspiron 530S
Win Vista Ultimate 64 bit SP2


 
Reply With Quote
 
 
 
 
Michal Kawecki
Guest
Posts: n/a

 
      07-02-2010
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 AdministratorsF) /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/
--
M. [Windows Desktop Experience MVP]
/before private reply change px with pl in my e-mail address/
https://mvp.support.microsoft.com/pr...Michal.Kawecki
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59