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
winorwin

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

http://www.sevenforums.com/general-d...ml#post1450278

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.

James
My System SpecsSystem Spec
28 Jun 2011   #3
RhapsodyOfFire

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
agent47er

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
MacGyvr

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
Reply

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




Thread Tools




Similar help and support threads
Thread Forum
"access denied" when using "assoc" and "ftype" from cmdline?
I tried to associate the file extension .txt to a new editor program with the well known cmdline programs ASSOC and FTYPE. No, assigning them through WinExplorer menu does not work. But this is another problem which should not discussed here. When I type now one of the following...
General Discussion
Accidentely clicked "deny" on winlogon in regedit,how to fix with cmd?
Yeah like the title says, I clicked "deny" on the wrong folder (on all users). Anyone know how I can change it to "allow" so windows can start again? At this point I can't start windows, however I can access cmd. This is the folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows...
General Discussion
Permissions for non-system, "user" drives; not "c:"
Would like to not have UAC pop-up for files & folders on non-C: drives, so expect they need to have "full control". Default is Special Permissions. Is there a way to default to "full control" when new folders are created, or do I need to mod permissions for each one? Note that I am NOT talking...
General Discussion
How to remove Uninherited "Deny" permission on specific folder?
I just migrated data from my old WinXP computer to my new Win7 computer. I noticed that I cannot open the migrated folder c:\documents and settings\user\my documents\ - access is denied. I changed permissions to allow administrators Full Control of this folder, and the user read/write access. I...
General Discussion
Bypass "Ownership" and "permissions" to files altogether!
Hello all! I don't understand what the issue is but I am logged on as administrator on my computer and only a few of my files I can access. the window will pop up stating that i don't have permission to view the file! if I am the adminitrator i should have full access to any file, right? this...
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 01:50.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App