Windows 7 Forums


Windows 7: Permissions set to 'Deny' Full Control

19 Dec 2009   #1

Windows 7
 
 
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 System SpecsSystem Spec

19 Dec 2009   #2

Windows 7 x64 (SP1)
 
 

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 System SpecsSystem Spec
20 Dec 2009   #3

Windows 7
 
 

Quote   Quote: Originally Posted by logicearth View Post
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 System SpecsSystem Spec
.


20 Dec 2009   #4

Windows 7 Ultimate 64 bit
Singapore & Australia
 
 

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
Attached Files
File Type: reg WINDOWS - TAKE_OWNERSHIP.reg (660 Bytes, 217 views)
File Type: reg WINDOWS - REMOVE-TAKE_OWNERSHIP.reg (122 Bytes, 111 views)
My System SpecsSystem Spec
20 Dec 2009   #5

Windows 7 x64 (SP1)
 
 

Quote   Quote: Originally Posted by j0ckinjz View Post
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 System SpecsSystem Spec
20 Dec 2009   #6

Windows 7
 
 

Quote   Quote: Originally Posted by logicearth View Post
Quote   Quote: Originally Posted by j0ckinjz View Post
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 System SpecsSystem Spec
20 Dec 2009   #7

Windows 7 Ultimate
The Southern Hinterlands
 
 

They are not the same... take ownership, or get ready to reinstall...
My System SpecsSystem Spec
20 Dec 2009   #8

Windows 7
 
 

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 System SpecsSystem Spec
Reply

 Permissions set to 'Deny' Full Control problems?



Thread Tools



Similar help and support threads for: Permissions set to 'Deny' Full Control
Thread Forum
Permissions - Allow or Deny Users and Groups Tutorials
Cant access a drive due to "deny all" permissions set by my own General Discussion
Full Use: Deny General Discussion
Please help-full control permissions.. General Discussion
Accidentally set "deny" on full control, can't unset General Discussion


All times are GMT -5. The time now is 08:44 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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