Windows Vista Forums

Changing folder permissions recursively/
  1. #1


    BlackShuck Guest

    Changing folder permissions recursively/

    I have an old Vista "program files", from a previous installation on my
    E:\ drive, that's no longer used, it's however taking up stacks of space,
    and I want to delete it. I have taken ownership of it, I can delete
    directories, but not ones that contain sub-directories, as the sub
    directories don't inherit the parents permissions.



    It's going to be impossible to manually delete every folder in the tree,
    is there a way?

    I have tried using cacl, but it just comes back with "the data is
    invalid" (great error message there Microsoft...)

    Help....

    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

      My System SpecsSystem Spec

  2. #2


    Dave Guest

    Re: Changing folder permissions recursively/

    try
    icacls "e:\program files" /grant administrators:F /t

    I'm not sure if the quotes are needed...


    "BlackShuck" <mark.gillespie@xxxxxx> wrote in message
    newsp.t24f4tyiwg46qs@xxxxxx

    > I have an old Vista "program files", from a previous installation on my
    > E:\ drive, that's no longer used, it's however taking up stacks of space,
    > and I want to delete it. I have taken ownership of it, I can delete
    > directories, but not ones that contain sub-directories, as the sub
    > directories don't inherit the parents permissions.
    >
    > It's going to be impossible to manually delete every folder in the tree,
    > is there a way?
    >
    > I have tried using cacl, but it just comes back with "the data is
    > invalid" (great error message there Microsoft...)
    >
    > Help....
    >
    > --
    > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

      My System SpecsSystem Spec

  3. #3
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 30,529
    64-bit Vista Ultimate SP2, Windows 7 Ultimate SP1, Windows 8 Enterprise
    Local Time: 07:56 AM
    usa us texas

     

    Re: Changing folder permissions recursively/

    Quote Originally Posted by BlackShuck View Post
    I have an old Vista "program files", from a previous installation on my
    E:\ drive, that's no longer used, it's however taking up stacks of space,
    and I want to delete it. I have taken ownership of it, I can delete
    directories, but not ones that contain sub-directories, as the sub
    directories don't inherit the parents permissions.

    It's going to be impossible to manually delete every folder in the tree,
    is there a way?

    I have tried using cacl, but it just comes back with "the data is
    invalid" (great error message there Microsoft...)

    Help....

    --
    Using Opera's revolutionary e-mail client: Opera Mail Client
    Hi BlackShuck,

    This tutorial will show you how to take ownership of the folder with it's subfolders included. See the NOTE in METHOD TWO step 8.

    Take Ownership of file

    Shawn

      My System SpecsSystem Spec

  4. #4


    BlackShuck Guest

    Re: Changing folder permissions recursively/

    On Mon, 10 Dec 2007 15:16:29 -0000, Dave <dave@xxxxxx> wrote:

    > try
    > icacls "e:\program files" /grant administrators:F /t
    >
    > I'm not sure if the quotes are needed...
    >
    Perfect, thank you very much!!!

    --
    Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

      My System SpecsSystem Spec

Changing folder permissions recursively/ problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Permissions keep changing help needed Siv SBS Server 11 25 Mar 2010
Changing Permissions in System32 folder Bill Keys Vista Games 1 14 Dec 2009
Solved Changing User Folder Permissions -error dialog Katbird General Discussion 3 03 Aug 2009
Changing Permissions Bob M. Vista account administration 3 07 Jul 2008
changing user permissions? littleriver Vista account administration 1 17 Feb 2008