Accidentally set "deny" on full control, can't unset


  1. Posts : 4
    Windows 7 RC #7100
       #1

    Accidentally set "deny" on full control, can't unset


    Can someone please help me? I meant to deny only one folder access temporarily to another user I added, but even though I right clicked that folder, it apparently gave me the properties of the entire D:\ drive. On top of that, I ended up denying full control on 'users', which even locked out my Admin!

    That said, now in "Computer", that drive does not show how much space it has left. If I right click it, I get NO security tab.

    I have also attempted to go into cmd.exe and do cacls D: (anything here results in "Access is Denied" error.

    I went into safemode, also got "Access is Denied" error.

    Apparently, I made it so not even the admin can change the permissions or even access that drive, period.

    Is there ANYTHING that I can do to override this and reset it somehow?
      My Computer


  2. Posts : 5,705
    Win7 x64 + x86
       #2

    Dunno if it'll work in Win7, but you'll have to run it as an administrator.
    Here's 2 links that may help (or at least give you a start):
    Reset Registry Permissions (originally posted18Oct08)
    Reset Registry Permissions2 (originally posted 16Dec08)
      My Computer


  3. Posts : 4
    Windows 7 RC #7100
    Thread Starter
       #3

    I tried all that, and during the SubInAcl process it became red and started spamming me with Access is Denied errors (in an ADMINISTRATOR command prompt, even)
      My Computer


  4. Posts : 5,705
    Win7 x64 + x86
       #4

    I'm just shooting in the dark here, but have you tried to copy the registry hives to a FAT32 volume and then copy them back to the NTFS volume?

    You'll have to do it from outside of Windows, but this used to be a trick back in the old days to strip file permissions from NTFS data.

    Another way is to use another OS and mount the registry hives in that, then change the permissions there. We do this at work, but it's with a proprietary tool, so I'm not familiar with how to do it manually.
      My Computer


  5. zay
    Posts : 507
    Windows 7 Ultimate
       #5

    go to tools> folder options, then uncheck the option to use simple file sharing. That will make the security tab come back, then go ahead and set the permissions. Hope that helps.
      My Computer


  6. Posts : 4
    Windows 7 RC #7100
    Thread Starter
       #6

    I just reinstalled Windows 7. The drive's permissions were STILL fubar'd. This time I was able to take ownership, though, but the drive's really messed up now.

    ALL folders have a lock icon, and I can't make them go away.

    The security tab used to list 4 things in the Users list.
    Authenticated Users
    Administrators
    Users
    SYSTEM

    Now they only show ONE.

    As well, nothing lists itself as being inherited by the drive, it's non-inherited now. It's so messed up. I even ran the subinacl tool stuff again, no go.

    I had to do "lcacls D:\ /Grant Users:F /T" just so windows would stop asking me to give it permission to open files/folders on the drive.

    It's a total mess, and it feels like I can't repair it. I want to just reset all the stuff to what they would be if the drive was formatted and new, I want it to have all the proper inheritances and userlists applied like all other drives do... but I don't know how to get it back that way.
      My Computer


  7. Posts : 75
    XP sp3
       #7

    have you tried "Take Ownership"

    Its a way out...of this lockout situation

    paul
      My Computer


  8. zay
    Posts : 507
    Windows 7 Ultimate
       #8

    http://files.getdropbox.com/u/976813...Fixit50198.msi
    After you run this Fix it, standard user accounts may no longer appear on the log on screen when you start your computer or try to switch users. This occurs because standard user accounts are removed from the Users group when you reset Windows security settings. To add the affected users accounts back to the Users group, follow these steps:
    1. Click Start, and then All Programs. Or click Programs.
    2. Click Accessories, right-click Command Prompt, and then click Run As Administrator.
    3. In the Command Prompt window, type net users and then press ENTER. A list of user accounts is displayed.
    4. For each accountname listed in the Command Prompt that is missing from the log on or switch user screen, type the following command and then press ENTER:

      net localgroup users accountname /add
      My Computer


 

  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 18:07.
Find Us