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: Permissions set to 'Deny' Full Control

19 Dec 2009   #1
j0ckinjz

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
logicearth

Windows 10 Pro (x64)
 
 

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
j0ckinjz

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
TimStitt

Windows 7 Ultimate 64 bit
 
 

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, 237 views)
File Type: reg WINDOWS - REMOVE-TAKE_OWNERSHIP.reg (122 Bytes, 117 views)
My System SpecsSystem Spec
20 Dec 2009   #5
logicearth

Windows 10 Pro (x64)
 
 

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
j0ckinjz

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
Tews

64-bit Windows 8.1 Pro
 
 

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

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




Thread Tools




Similar help and support threads
Thread Forum
Permissions - Allow or Deny Users and Groups
How to Allow or Deny Permissions to Users and Groups This will show you how to allow or deny users and groups access permissions and add or remove inheritable permissions to either a file, folder, drive, or registry key objects in Windows 7 or Vista. After you set user or group permissions...
Tutorials
I've lost control of permissions, how can get get control back?
Thanks for reading this. Boy, do I need help. Somehow I got my permissions all messed up. I can't access some folders. I have worked a lot trying to use properties-security tab and playing around, and I can sometimes change permissions so I can use a folder. But I am trying to open "Documents...
General Discussion
Cannot open/copy files I have 'Full Control': "you need permissions"
I cannot open/copy files within a folder containing web files. Basically the files that make up my website in a PHP-based CMS, a bit like Wordpress. All the files appear to be created by someone else, but I bought licencing rights (i.e. they are website 'theme' files). All the files were...
General Discussion
Full Use: Deny
Okay, the other day I was playing around with stuff on Windows 7 Ultimate (bad idea to begin with...) while playing around I decided to change my user's powers all off(This was in Security Local Disk (C:)). So I can't change any of the security stuff, I tried using the Hidden Admin to change my...
General Discussion
Please help-full control permissions..
hey guys i need to give full control permissions to 1 or both of the users on my comp but when i right click properties security etc, i cant click on any permissions to change them any ideas thanks guys!
General Discussion
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...
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 18:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App