Permissions set to 'Deny' Full Control


  1. Posts : 7
    Windows 7
       #1

    Permissions set to 'Deny' Full Control


    Ok, so I set permissions to deny, hoping that nothing would be able to change the files inside. Unfortunately, now I can't do anything to the folder. I have tried takeown /f while running cmd in administrator. I've tried "rmdir" nothing works. pics included.
    Anyone know how i can delete the file or reset the permissions?

    also, in the 2nd pic, all those were set to deny.




      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    Since you put "Full control" to DENY...on whatever account....you are foobared unless you have access to an account that is not covered under the account you altered. However...if every account was giving DENY then you are screwed, to say the least.

    This is why one should not mess with permissions, especially not DENY permissions. DENY takes priority over ALLOW, even with full control DENY will overthrow it.
      My Computer


  3. Posts : 7
    Windows 7
    Thread Starter
       #3

    logicearth said:
    Since you put "Full control" to DENY...on whatever account....you are foobared unless you have access to an account that is not covered under the account you altered. However...if every account was giving DENY then you are screwed, to say the least.

    This is why one should not mess with permissions, especially not DENY permissions. DENY takes priority over ALLOW, even with full control DENY will overthrow it.
    would creating a new account work?
      My Computer


  4. Posts : 1,020
    Windows 7 Ultimate 64 bit
       #4

    HI j0ckinjz,

    Run the take ownership script. THen right click on the folder and select take ownership.
    The other script is to remove this function.

    I tested and this worked for me

    Good luck
    Permissions set to 'Deny' Full Control Attached Files
      My Computer


  5. Posts : 5,642
    Windows 10 Pro (x64)
       #5

    j0ckinjz said:
    would creating a new account work?
    Would depend on the entry you set the DENY permissions on. Was it CREATOR? SYSTEM? Administrators? or Users?
      My Computer


  6. Posts : 7
    Windows 7
    Thread Starter
       #6

    logicearth said:
    j0ckinjz said:
    would creating a new account work?
    Would depend on the entry you set the DENY permissions on. Was it CREATOR? SYSTEM? Administrators? or Users?
    um, i think creator... that would be bad, right.

    and for the take ownership, i tried takeown /f and that didnt work and i thought it as like the same thing
      My Computer


  7. Posts : 11,840
    64-bit Windows 8.1 Pro
       #7

    They are not the same... take ownership, or get ready to reinstall...
      My Computer


  8. Posts : 7
    Windows 7
    Thread Starter
       #8

    Thanks for the advice everyone but I think I figured out how to fix it, and it was quite simple. This is what I did:
    I went to properties (of the locked folder) > Security tab > advanced > change permissions. Then in there I removed the 2 setting that listed "deny." I can now view and delete the folder.
      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 01:59.
Find Us