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: Cant access a drive due to "deny all" permissions set by my own

27 Jun 2011   #1

Windows 7 Ultimate x64
Cant access a drive due to "deny all" permissions set by my own

Hi all,
I wanted to prevent the guest users on my laptop from accessing D: drive. So from my admin account, I set the permissions on my D: drive to deny all for the Users group, without even looking at all the permissions listed. I thought these permissions would affect only the non-admin group....but I went wrong and now cant access any file in D: even from the admin account.
Have some serious work in that drive, and need some urgent help in getting back my data...any help would be appreciated !

Thanks !

My System SpecsSystem Spec
27 Jun 2011   #2
James Colbert


Before removing users permissions, you should always add your user account to the permission list. These links may help:

Privileges problem after clean re-install

Read through the enitre thread(s). Of particular usefulness will be the posts by Barman and KarlSnooks. There is some really good information in these threads that you may find quite helpful.

My System SpecsSystem Spec
28 Jun 2011   #3

32 bit Windows 7

With the same user you changed permissions you need to be able to remove them. Remove only the Deny rule from the Security tab. Just look for Properties, Change, Remove, Advanced and options like that.
My System SpecsSystem Spec
28 Jun 2011   #4

Windows 7 Professional 64-bit

there is one think I think you can try.... go here:
Trinity Rescue Kit | CPR for your computer
boot into this live linux and use the winpass (just winpass) command to unlock the super admin account that is by default hidden. then using the account you should be able to give your orignal account access to the drive.
hope it helps you out...
My System SpecsSystem Spec
28 Jun 2011   #5

Windows 7 Ultimate RTM (Technet)

If you have set "deny all" as the permission on the root of the drive and allowed it to apply to subfolders, you're pretty much done. A "deny" permission overrides any "grant" permission. Hope you have backups!
My System SpecsSystem Spec
28 Jun 2011   #6
James Colbert


Here is a relevant link, with a possible solution:

security - Revert "Deny" permissions in Windows 7 - Super User

and a google search on the matter:

"deny all" as the permission - Google Search

and finally, a primer on the use of Xcacls:

How to use Xcacls.exe to modify NTFS permissions

If it turns out that you are unable to regain access to the drive, you will be able to recover all your data using a Linux live disc, such as Ubuntu. a fairly simple process.

Post back to let us know your progress.
My System SpecsSystem Spec

 Cant access a drive due to "deny all" permissions set by my own

Thread Tools

Similar help and support threads for2: Cant access a drive due to "deny all" permissions set by my own
Thread Forum
Solved Permissions for non-system, "user" drives; not "c:" General Discussion
Solved How to remove Uninherited "Deny" permission on specific folder? General Discussion
LAN File Sharing "7" to "XP" Permissions issue Network & Sharing
"access denied" when using "assoc" and "ftype" from cmdline? General Discussion
Bypass "Ownership" and "permissions" to files altogether! General Discussion
Accidentally set "deny" on full control, can't unset 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 12:02 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App