Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can't delete folder - access denied (despite attempts to fix)

01 Dec 2013   #1
coffent

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 
Can't delete folder - access denied (despite attempts to fix)

I'm trying to delete an obsolete directory. When I try to do so, I get a message "Folder access denied: You require permission from Administrators to make changes to this folder."

Based on forum advice for a similar problem that worked in the past, I did the following:

Right-click the directory and choose Properties, then Security/Advanced/Owner/Edit. Check "Replace owner on subcontainers". When I checked it and clicked OK, I got a message saying "If you have just taken ownership of this object, you will need to close and reopen this object's properties before you can view or change permissions." However when I closed & reopened Properties, the check mark was gone.

Once I was able to delete such a directory in spite of this problem, so I continued:

Right-click the directory/Properties/Edit: Give Full Control to Administrators (I gave it to Administrators and everyone else).

Right-click the directory/Properties/Security/Advanced/Change Permissions. Check Replace all child permissions with inheritable permissions from this object.

When I reopened Properties, the check I made was gone and more to the point, I still couldn't delete the directory.

What can I do? Is there any way to avoid all these senseless (to me) machinations and just get rid of the directory? Thanks for any help.


My System SpecsSystem Spec
.
01 Dec 2013   #2
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

What is the obsolete Directory?
Was it copied from a different computer?
My System SpecsSystem Spec
02 Dec 2013   #3
cottonball

Windows 7 Home Premium
 
 

If you do not get this issue sorted out...

...try to Take Ownership of the folder:
Take Ownership Shortcut

Next, try Unlocker:
UNLOCKER 1.9.2 BY CEDRICK 'NITCH' COLLOMB
Go down on the page, to where it says: Download Unlocker 1.9.2 - 32 and 64 bit version
My System SpecsSystem Spec
.

02 Dec 2013   #4
coffent

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Thanks for the suggestions. Unlocker (which I've used on many occasions) doesn't work, as the problem isn't one of another process locking the directory. I looked at the "Take Ownership" shortcut, but was a little concerned that if one used it inadvertently to take ownership of the C: drive, one would have to reinstall Windows! I may try it as a last resort.

Regarding what the directory is - when I upgraded from Windows XP to Windows 7 I left the XP operating system and some other files on an old drive in case I wanted to reboot into XP. I'm no longer going to do that and am trying to clear out files to free up space on the disk. The particular directory is called "cmdcons", and I'm not even sure what it is, other than that it contains a lot of .xx_ and .dll files. I ran into the same problem with another directory on the drive but using the procedure I described I was finally able to delete it. The procedure doesn't work for this one though.
My System SpecsSystem Spec
02 Dec 2013   #5
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

The CMDCONS folder in the root of the Windows system drive is the XP Recovery Console.

To delete the Recovery Console Microsoft Corporation
My System SpecsSystem Spec
02 Dec 2013   #6
coffent

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Thanks. I hoped the link might solve my problem, but it says to do what I'm already doing:
"6. At the root directory, delete the \Cmdcons folder."
When I click Delete, I get (as before) the message "Folder access denied. You require permission from Administrators to change this folder."
My System SpecsSystem Spec
02 Dec 2013   #7
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

Have you done this? Built-in Administrator Account - Enable or Disable[2]=User Accounts
My System SpecsSystem Spec
02 Dec 2013   #8
coffent

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I've now tried it. I successfully enabled the Built-in Elevated Administrator Account (via the Command Prompt option) & logged in as Administrator. Nevertheless, when I tried to delete Cmdcons folder I got the same "You need permission from Administrators..." message.
My System SpecsSystem Spec
02 Dec 2013   #9
coffent

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Forgot to ask - you have "[2]=User Accounts" in your message. I'm not sure what you mean by this. The command I used was net user administrator /active:yes. There was no number choice.
My System SpecsSystem Spec
03 Dec 2013   #10
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

That's just the way the address link copy/paste came out when I posted it
My System SpecsSystem Spec
Reply

 Can't delete folder - access denied (despite attempts to fix)




Thread Tools




Similar help and support threads
Thread Forum
Delete folder/files - access denied
My PC originally came with a normal SATA HD with Windows 7 installed. Then I got an SSD and did a fresh installation of Windows 7 on the SSD. The SSD is labeled C: while SATA HD is D:\ Now I am trying to delete the SATA's folders:
General Discussion
Folder access denied, cannot rename or delete
Win 7 Premium 64, updated, logged in as Admin. Currently: C:\Users\Public Documents.........I have taken ownership Public Documents\Properties shows: General- Public Documents Sharing- Public Network Path:...
General Discussion
Unable to Delete Folder from Desktop: Access Is Denied?
I had a folder on my Desktop that just won't delete. It was apparently being shared with my Xbox360. I right-clicked it, pressed Delete, and it said it was being shared and if I was sure I wanted to do it anyways. So, of course, I said Yes. It deleted everything within the folder, yet the folder...
Software
Can't delete folder - access denied
Hello! I have a small issue concerning deleting folder. Here's situation: I had a folder that I wanted to delete. I used shift+del combo for instant deletion, but than issue occured. Basicly, folder stayed, yet files deleted themselves. And when I try to delete the folder, it says I need...
General Discussion
I cannot delete a particular file Access Denied
I am tryiong to save, delete or overwrite the file "Clear Print Spooler.bat" in C;\windows\system32 and in each case get "ACCESS Denied" error. I have tried the above in the command window with admin. priviledge. Same error. I had added a line that contained the word "Runas". Now I try to remove...
Security Basics


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:01.
Twitter Facebook Google+