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

Windows 7 Home Premium 64bit
 
 
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
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

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

Windows 7 Home Premium 64bit
 
 

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

Windows 7 Home Premium 64bit
 
 

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

Windows 7 Home Premium 64bit
 
 

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

Windows 7 Home Premium 64bit
 
 

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
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 for2: Can't delete folder - access denied (despite attempts to fix)
Thread Forum
Solved Can't delete folder - access denied General Discussion
Solved I cannot delete a particular file Access Denied Security Basics
Solved Can't delete a file - Access is denied General Discussion
Solved Unable to Delete Folder from Desktop: Access Is Denied? Software
"Access denied:" How to overcome denied access to a folder General Discussion

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:18 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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