Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Security

Notices

Reply

Changing folder permissions recursively/

 

LinkBack Thread Tools Display Modes
Old 12-10-2007, 12:37 PM   #1 (permalink)
Default 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/
BlackShuck
Guest
 
Posts: n/a
Reply With Quote  
Old 12-10-2007, 02:16 PM   #2 (permalink)
Default 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@gmail.com> wrote in message
newsp.t24f4tyiwg46qs@vistadesktop.draytek...
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/
Dave
Guest
 
Posts: n/a
Reply With Quote  
Old 12-10-2007, 09:30 PM   #3 (permalink)
Default Re: Changing folder permissions recursively/


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

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

http://www.vistax64.com/tutorials/67...rship-file.htm

Shaw

--
brin

*There are no dumb questions, just the people that do not ask them.*
WWW.VISTAX64.COM (\"HTTP://WWW.VISTAX64.COM\"
*Please post feedback to help others.*
brink
Guest
 
Posts: n/a
Reply With Quote  
Old 12-12-2007, 06:52 AM   #4 (permalink)
Default Re: Changing folder permissions recursively/

On Mon, 10 Dec 2007 15:16:29 -0000, Dave <dave@beepbeep.com> 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/
BlackShuck
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may 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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Trouble with folder layout (not folder permissions) inheritance Keith Howard Windows Vista File Management 1 03-05-2008 06:55 PM
changing user permissions? littleriver Windows Vista Administration 1 02-17-2008 02:29 PM
Changing Printing Permissions in XP Nache Windows Vista Networking & Sharing 1 07-15-2007 06:15 AM
Changing folder permissions in the registry on remote users Philip Shulman Windows XP Work Remotely 0 09-15-2004 05:50 PM
Changing folder permissions remotely Ashok More Windows XP Security & Administration 1 07-07-2003 10:12 AM


All times are GMT. The time now is 06:11 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90