Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > apply permissions to subfolders

Reply
Thread Tools Display Modes

apply permissions to subfolders

 
 
chesss
Guest
Posts: n/a

 
      01-20-2009

I am trying to do a simple thing - delete a folder from c:\windows\
Now vista permissions kick in..

there are several folders inside the directory I want to delete . Now
I can't change the permission of the directory itself to delete it . I
have to individually take ownership and change permissions of each
subfolder to delete it. which isn't possible, because there are like 300
subfolders .


So how do I change the permission settings of of every folder and file
inside a directory ? just delete a goddamn non-empty folder.

ty


--
chesss
------------------------------------------------------------------------
chesss's Profile: http://forums.techarena.in/members/chesss.htm
View this thread: http://forums.techarena.in/vista-help/1106510.htm

http://forums.techarena.in

 
Reply With Quote
 
 
 
 
oscar
Guest
Posts: n/a

 
      01-21-2009
Vista tries to protect the OS from malware and the user by prohibiting
malware or users from taking Full Control of certain OS folders and files. As
other poster said, if you're messing with Windows OS files and folders-
don't. And if you're saving personnal data files to Windows folder, don't do
that either.
--
oscar

....Right click is your very good friend...


"Tyro" wrote:

> Why are you deleting folders in C:\Windows? That is where Vista puts its
> things. Unless you're a Windows Vista guru, you shouldn't be playing around
> there. You're looking for trouble.
>
> Tyro
>
> "chesss" <> wrote in message
> news:...
> >
> > I am trying to do a simple thing - delete a folder from c:\windows\
> > Now vista permissions kick in..
> >
> > there are several folders inside the directory I want to delete . Now
> > I can't change the permission of the directory itself to delete it . I
> > have to individually take ownership and change permissions of each
> > subfolder to delete it. which isn't possible, because there are like 300
> > subfolders .
> >
> >
> > So how do I change the permission settings of of every folder and file
> > inside a directory ? just delete a goddamn non-empty folder.
> >
> > ty
> >
> >
> > --
> > chesss
> > ------------------------------------------------------------------------
> > chesss's Profile: http://forums.techarena.in/members/chesss.htm
> > View this thread: http://forums.techarena.in/vista-help/1106510.htm
> >
> > http://forums.techarena.in
> >

>

 
Reply With Quote
 
Rick Rogers
Guest
Posts: n/a

 
      01-21-2009
Hi,

Permissions are there because anything in the C:\Windows directory would be
a protected folder. You would need to alter permissions, and have it
propagate to all containers and objects to remove any sub-folder. Be aware
though, that if it's a system default folder, ie: part of Vista, then you
will not be able to permanently remove it (if you delete it then it will
just be recreated by system file protection).

From a C:\Windows> command prompt, you could use:
icacls <folder> /t /g <user>:f

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com

"chesss" <> wrote in message
news:...
>
> I am trying to do a simple thing - delete a folder from c:\windows\
> Now vista permissions kick in..
>
> there are several folders inside the directory I want to delete . Now
> I can't change the permission of the directory itself to delete it . I
> have to individually take ownership and change permissions of each
> subfolder to delete it. which isn't possible, because there are like 300
> subfolders .
>
>
> So how do I change the permission settings of of every folder and file
> inside a directory ? just delete a goddamn non-empty folder.
>
> ty
>
>
> --
> chesss
> ------------------------------------------------------------------------
> chesss's Profile: http://forums.techarena.in/members/chesss.htm
> View this thread: http://forums.techarena.in/vista-help/1106510.htm
>
> http://forums.techarena.in
>


 
Reply With Quote
 
mltsy
Guest
Posts: n/a

 
      05-01-2009

I also ran into this problem when trying to delete an old copy of a
Windows folder I had kept for backup. Here's how to take ownership of
all those files so you can delete them:

Run CMD (command prompt)
Type: takeown /F directory /R

This will change ownership of "directory" and all it's subfolders and
files to the current user, assuming you have permission to change
ownership of them. It might ask you if you want to also grant full
permission to yourself, which you probably do, just for good measure.


--
mltsy
 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      05-01-2009
This is very handy...
http://www.vistax64.com/tutorials/11...ownership.html


--
Windows 7 beta
http://get.live.com/wlmail/overview
http://download.live.com/wlmail


"mltsy" <> wrote in message
news:...
>
> I also ran into this problem when trying to delete an old copy of a
> Windows folder I had kept for backup. Here's how to take ownership of
> all those files so you can delete them:
>
> Run CMD (command prompt)
> Type: takeown /F directory /R
>
> This will change ownership of "directory" and all it's subfolders and
> files to the current user, assuming you have permission to change
> ownership of them. It might ask you if you want to also grant full
> permission to yourself, which you probably do, just for good measure.
>
>
> --
> mltsy


 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
subfolders Patrick D. Windows Vista Mail 1 08-22-2008 06:23 PM
Apply custom folder details to all subfolders WesW69 Windows Vista General Discussion 1 02-03-2008 09:43 AM
where did my subfolders go? pmeeker Windows Vista Mail 1 07-19-2007 10:03 AM
Customize Folder -> Apply to Subfolders Danny L Windows Vista General Discussion 0 02-17-2007 09:03 PM
Propagating file permissions to all subfolders Mike Windows Vista Security 4 02-16-2007 09:02 PM



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