Trouble deleting folders because of 'security controls'!

G

Guest

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
 
J

Jimmy Brush

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/
 
G

Guest

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?
 
J

Jean-Yves \(398693\)

If "Folder" is empty, go to Run, then type CMD
Enter : DEL "Folder Name" (without cotes)
Normally it works
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top