Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

Changing folder permissions recursively/

microsoft.public.windows.vista.security






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

Posts: n/a
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/
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-10-2007
Dave
 

Posts: n/a
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...
> 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/


Reply With Quote
  #3 (permalink)  
Old 12-10-2007
brink
 

Posts: n/a
Re: Changing folder permissions recursively/

BlackShuck;540061 Wrote:
> 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'
> (http://www.opera.com/mail/)


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.

http://www.vistax64.com/tutorials/67...ship-file.html

Shawn


--
brink

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

Posts: n/a
Re: Changing folder permissions recursively/
On Mon, 10 Dec 2007 15:16:29 -0000, Dave <dave@beepbeep.com> 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/
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Printing Permissions in XP Nache microsoft.public.windows.vista.networking sharing 1 07-15-2007 07:15
Changing registry permissions Judy microsoft.public.windows.vista.installation setup 3 06-14-2007 05:08
Folder Permissions Rat_uk microsoft.public.windows.vista.file management 3 04-15-2007 18:22
Folder Permissions Neil microsoft.public.windows.vista.security 11 04-12-2007 14:37
Folder gives me no permissions??? T.J. microsoft.public.windows.vista.security 9 03-23-2007 22:10




All times are GMT +1. The time now is 15:01.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120