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

Page 1 of 2 12 LastLast

  1. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #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 Computer


  2. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #2

    What is the obsolete Directory?
    Was it copied from a different computer?
      My Computer


  3. Posts : 2,470
    Windows 7 Home Premium
       #3

    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 Computer


  4. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #4

    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 Computer


  5. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #5

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

    To delete the Recovery Console Microsoft Corporation
      My Computer


  6. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #6

    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 Computer


  7. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #7

    Have you done this? Built-in Administrator Account - Enable or Disable[2]=User Accounts
      My Computer


  8. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #8

    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 Computer


  9. Posts : 86
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #9

    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 Computer


  10. Posts : 8,608
    Windows 7 Ultimate 32bit SP1
       #10

    That's just the way the address link copy/paste came out when I posted it
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 03:47.
Find Us