Trouble deleting folders because of 'security controls'!

Posted: 07-17-2006, 02:16 PM
Hi!
I have Vista Beta 2 installed, and in general I'm pretty happy, but I have
an issue that comes up a lot, and that is I can't delete certain folders, I
just get a message along the lines of 'There is security controlling
access.... You do not sufficient permission.....'.
I am the only user with administrative rights.
What can I do?
One of the folders I amn trying to remove is '_$WINDOWS.~Q' which I guess is
a remnant of a previous failed install.
Any help appreciated.
Iain
Reply With Quote

Responses to "Trouble deleting folders because of 'security controls'!"

Jimmy Brush
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-17-2006, 05:07 PM
Hello,

It sounds like this file is set up to not allow administrators access to it.

Generally, if you try to access a folder from explorer that you do not have
access to, it will ask you if you want to give yourself permission to access
the folder. If you go through this process and you still can't get to the
folder, then that means the folder does not allow administrators access to
it.

However, you can still do it the old fashioned way:

1) Open an "administrator/root" explorer
- Click start
- Type explorer
- right-click windows explorer
- click run-as administrator

2) Give yourself ownership of the folder
- Right-click on the folder in question
- Click Properties
- Click Security Tab
- Click Edit
- Click Advanced
- Click Owner
- Click Administrators
- Click the box next to "Replace owner on subcontainers and objects"
(WARNING: This is a dangerous option, especially when dealing with operating
system-created files. However, since your intent is to delete the folder in
question and any file or folder underneath it, this is necessary)
- Click OK
- Click OK
- Click OK

3) Give yourself access to the folder
- Right-click the folder again
- Click Properties
- Click security tab
- Click Edit
- Click Advanced
- Click Add
- Type your username
- Press enter
- Click the checkbox under Allow next to Full control
- Click OK
- Click the box next to "Replace all existing inheritable permissions on..."
(WARNING: This is a dangerous option, especially when dealing with operating
system-created files. However, since your intent is to delete the folder in
question and any file or folder underneath it, this is necessary)
- Click OK
- Click OK

You should now be able to delete the folder.

- JB

Vista FAQ
http://www.jimmah.com/vista/

Reply With Quote
imacken
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-17-2006, 07:00 PM
Thanks Jimmy, but I'm afraid it doesn't work.
Everything is OK until 'Click the box next to "Replace owner on
subcontainers and objects"'. Then I just get a mass of the same 'There is
security controlling
access.... You do not have sufficient permission.....'.
I think the folder in question - _$WINDOWS.~Q - is a temporary one created
by the install of Vista.
I wouldn't normally bother, but it's taking up about 2Gb of space!
Any other suggestions?


"Jimmy Brush" wrote:
> Hello,
>
> It sounds like this file is set up to not allow administrators access to it.
>
> Generally, if you try to access a folder from explorer that you do not have
> access to, it will ask you if you want to give yourself permission to access
> the folder. If you go through this process and you still can't get to the
> folder, then that means the folder does not allow administrators access to
> it.
>
> However, you can still do it the old fashioned way:
>
> 1) Open an "administrator/root" explorer
> - Click start
> - Type explorer
> - right-click windows explorer
> - click run-as administrator
>
> 2) Give yourself ownership of the folder
> - Right-click on the folder in question
> - Click Properties
> - Click Security Tab
> - Click Edit
> - Click Advanced
> - Click Owner
> - Click Administrators
> - Click the box next to "Replace owner on subcontainers and objects"
> (WARNING: This is a dangerous option, especially when dealing with operating
> system-created files. However, since your intent is to delete the folder in
> question and any file or folder underneath it, this is necessary)
> - Click OK
> - Click OK
> - Click OK
>
> 3) Give yourself access to the folder
> - Right-click the folder again
> - Click Properties
> - Click security tab
> - Click Edit
> - Click Advanced
> - Click Add
> - Type your username
> - Press enter
> - Click the checkbox under Allow next to Full control
> - Click OK
> - Click the box next to "Replace all existing inheritable permissions on..."
> (WARNING: This is a dangerous option, especially when dealing with operating
> system-created files. However, since your intent is to delete the folder in
> question and any file or folder underneath it, this is necessary)
> - Click OK
> - Click OK
>
> You should now be able to delete the folder.
>
> - JB
>
> Vista FAQ
> http://www.jimmah.com/vista/
>
Reply With Quote
Mark D. VandenBerg
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-17-2006, 07:30 PM
If you are dual-booting you could access it from the other O/S.

--
Ted Stevens taught me everything I know about putting internets in tubes...


"imacken" <imacken@discussions.microsoft.com> wrote in message
news:216372F4-301F-4F17-97B9-6C21C40299DB@microsoft.com...
> Thanks Jimmy, but I'm afraid it doesn't work.
> Everything is OK until 'Click the box next to "Replace owner on
> subcontainers and objects"'. Then I just get a mass of the same 'There is
> security controlling
> access.... You do not have sufficient permission.....'.
> I think the folder in question - _$WINDOWS.~Q - is a temporary one created
> by the install of Vista.
> I wouldn't normally bother, but it's taking up about 2Gb of space!
> Any other suggestions?
>
>
> "Jimmy Brush" wrote:
>
>> Hello,
>>
>> It sounds like this file is set up to not allow administrators access to
>> it.
>>
>> Generally, if you try to access a folder from explorer that you do not
>> have
>> access to, it will ask you if you want to give yourself permission to
>> access
>> the folder. If you go through this process and you still can't get to the
>> folder, then that means the folder does not allow administrators access
>> to
>> it.
>>
>> However, you can still do it the old fashioned way:
>>
>> 1) Open an "administrator/root" explorer
>> - Click start
>> - Type explorer
>> - right-click windows explorer
>> - click run-as administrator
>>
>> 2) Give yourself ownership of the folder
>> - Right-click on the folder in question
>> - Click Properties
>> - Click Security Tab
>> - Click Edit
>> - Click Advanced
>> - Click Owner
>> - Click Administrators
>> - Click the box next to "Replace owner on subcontainers and objects"
>> (WARNING: This is a dangerous option, especially when dealing with
>> operating
>> system-created files. However, since your intent is to delete the folder
>> in
>> question and any file or folder underneath it, this is necessary)
>> - Click OK
>> - Click OK
>> - Click OK
>>
>> 3) Give yourself access to the folder
>> - Right-click the folder again
>> - Click Properties
>> - Click security tab
>> - Click Edit
>> - Click Advanced
>> - Click Add
>> - Type your username
>> - Press enter
>> - Click the checkbox under Allow next to Full control
>> - Click OK
>> - Click the box next to "Replace all existing inheritable permissions
>> on..."
>> (WARNING: This is a dangerous option, especially when dealing with
>> operating
>> system-created files. However, since your intent is to delete the folder
>> in
>> question and any file or folder underneath it, this is necessary)
>> - Click OK
>> - Click OK
>>
>> You should now be able to delete the folder.
>>
>> - JB
>>
>> Vista FAQ
>> http://www.jimmah.com/vista/
>>
Reply With Quote
imacken
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-17-2006, 07:35 PM
Thanks MArk, but unfortunately I'm not!

"Mark D. VandenBerg" wrote:
> If you are dual-booting you could access it from the other O/S.
>
> --
> Ted Stevens taught me everything I know about putting internets in tubes...
>
>
> "imacken" <imacken@discussions.microsoft.com> wrote in message
> news:216372F4-301F-4F17-97B9-6C21C40299DB@microsoft.com...
> > Thanks Jimmy, but I'm afraid it doesn't work.
> > Everything is OK until 'Click the box next to "Replace owner on
> > subcontainers and objects"'. Then I just get a mass of the same 'There is
> > security controlling
> > access.... You do not have sufficient permission.....'.
> > I think the folder in question - _$WINDOWS.~Q - is a temporary one created
> > by the install of Vista.
> > I wouldn't normally bother, but it's taking up about 2Gb of space!
> > Any other suggestions?
> >
> >
> > "Jimmy Brush" wrote:
> >
> >> Hello,
> >>
> >> It sounds like this file is set up to not allow administrators access to
> >> it.
> >>
> >> Generally, if you try to access a folder from explorer that you do not
> >> have
> >> access to, it will ask you if you want to give yourself permission to
> >> access
> >> the folder. If you go through this process and you still can't get to the
> >> folder, then that means the folder does not allow administrators access
> >> to
> >> it.
> >>
> >> However, you can still do it the old fashioned way:
> >>
> >> 1) Open an "administrator/root" explorer
> >> - Click start
> >> - Type explorer
> >> - right-click windows explorer
> >> - click run-as administrator
> >>
> >> 2) Give yourself ownership of the folder
> >> - Right-click on the folder in question
> >> - Click Properties
> >> - Click Security Tab
> >> - Click Edit
> >> - Click Advanced
> >> - Click Owner
> >> - Click Administrators
> >> - Click the box next to "Replace owner on subcontainers and objects"
> >> (WARNING: This is a dangerous option, especially when dealing with
> >> operating
> >> system-created files. However, since your intent is to delete the folder
> >> in
> >> question and any file or folder underneath it, this is necessary)
> >> - Click OK
> >> - Click OK
> >> - Click OK
> >>
> >> 3) Give yourself access to the folder
> >> - Right-click the folder again
> >> - Click Properties
> >> - Click security tab
> >> - Click Edit
> >> - Click Advanced
> >> - Click Add
> >> - Type your username
> >> - Press enter
> >> - Click the checkbox under Allow next to Full control
> >> - Click OK
> >> - Click the box next to "Replace all existing inheritable permissions
> >> on..."
> >> (WARNING: This is a dangerous option, especially when dealing with
> >> operating
> >> system-created files. However, since your intent is to delete the folder
> >> in
> >> question and any file or folder underneath it, this is necessary)
> >> - Click OK
> >> - Click OK
> >>
> >> You should now be able to delete the folder.
> >>
> >> - JB
> >>
> >> Vista FAQ
> >> http://www.jimmah.com/vista/
> >>
>
Reply With Quote
Jimmy Brush
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-17-2006, 08:15 PM
Hmm...

You're supposed to be able to take ownership of anything when logged in as
an administrator. I guess there's some black magic going on somewhere ...

Anyway, I found an answer regarding a similar problem with windows.old, that
may work for you as well. Check it out:

http://neosmart.net/forums/index.php?gettopic=69

- JB

Vista FAQ
http://www.jimmah.com/vista/

Reply With Quote
Jean-Yves \(398693\)
Guest
Posts: n/a
 
Re: Trouble deleting folders because of 'security controls'!
Posted: 07-19-2006, 10:08 AM
If "Folder" is empty, go to Run, then type CMD
Enter : DEL "Folder Name" (without cotes)
Normally it works

--
Jean-Yves
http://www.ifrance.com/jychamb/
"imacken" <imacken@discussions.microsoft.com> a écrit dans le message de
news: 2CDB0DDD-DA6F-4D5A-BBB9-A75AB7EC2368@microsoft.com...
> Hi!
> I have Vista Beta 2 installed, and in general I'm pretty happy, but I have
> an issue that comes up a lot, and that is I can't delete certain folders,
> I
> just get a message along the lines of 'There is security controlling
> access.... You do not sufficient permission.....'.
> I am the only user with administrative rights.
> What can I do?
> One of the folders I amn trying to remove is '_$WINDOWS.~Q' which I guess
> is
> a remnant of a previous failed install.
> Any help appreciated.
> Iain

Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


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
Parental Controls Silo Windows Vista Administration 21 02-08-2008 07:41 PM
IMPORTANT FLAW: accidentally deleting folders Alexander Windows Vista File Management 4 10-15-2006 10:33 AM
trouble deleting videos ethereal_being Windows Vista Performance & Maintenance 1 06-19-2006 02:26 AM
Question about parental controls and possible suggestion. Silo Windows Vista Administration 0 06-18-2006 04:20 PM
Gamma/Contrast/Brightness Controls Sean Smith Windows Vista Install & Setup 2 06-09-2006 11:09 AM


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