Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Changing folder permissions recursively/

Reply
 
Old 12-10-2007   #1 (permalink)
BlackShuck


 
 

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
Old 12-10-2007   #2 (permalink)
Dave


 
 

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
Quote:

> 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
Old 12-10-2007   #3 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Changing folder permissions recursively/

Quote  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
Old 12-12-2007   #4 (permalink)
BlackShuck


 
 

Re: Changing folder permissions recursively/

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

> 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
Reply

Thread Tools


Similar Threads
Thread Forum
Solved Changing User Folder Permissions -error dialog General Discussion
Changing Permissions Vista account administration
changing user permissions? Vista account administration
Changing Printing Permissions in XP Vista networking & sharing
Changing registry permissions Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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