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: Changing Setting Security on root folder returns 'access is denied'

24 Jan 2015   #1
Hadramawt

Windows 7 Home Premium 64Bit
 
 
Changing Setting Security on root folder returns 'access is denied'

Hi,

Changing setting Security on root folder returns access is denied for some sub-folders.

I have an external HHD assigned with 'G' driver letter under my Computer. I have removed 'everyone' from the 'Groups and user names' on the root folder by choosing 'security tab' from the property options of root folder for that HDD, and while applying changes, 'access is 'denied' was shown to me for some subfolders, although when I added 'everyone' on that root drive folder, I have added 'everyone' in the Group or user names by choosing 'security tab' from the property options of root folder for that HDD, and I've taken ownership as ''administrators" under the current owner for that root folder. While applying new settings of removing 'everyone', whenever I have faced 'access is denied', I have clicked on 'continue'. Then, I ended up with no one taken access to this root folder.

These some screen shots show the subfolders I have faced 'access is denied' with.

Changing Setting Security on root folder returns 'access is denied'-windows-security.jpg

Changing Setting Security on root folder returns 'access is denied'-windows-security1.jpg

Changing Setting Security on root folder returns 'access is denied'-windows-security2.jpg


After that, I have re- added 'everyone' on the same root folder, and the same thing happened while applying the new settings.


These some screen shots show the subfolders I have faced 'access is denied' with.
Changing Setting Security on root folder returns 'access is denied'-windows-security3.jpg
Changing Setting Security on root folder returns 'access is denied'-windows-security4.jpg
Changing Setting Security on root folder returns 'access is denied'-windows-security5.jpg
Changing Setting Security on root folder returns 'access is denied'-windows-security6.jpg
Changing Setting Security on root folder returns 'access is denied'-windows-security7.jpg
Changing Setting Security on root folder returns 'access is denied'-windows-security8.jpg


However, after the settings of adding 'everyone' on that root folder has completed, then whenever I open a subfolder, then I was still faced with 'message'.
Changing Setting Security on root folder returns 'access is denied'-i-still-still-faced-message-until-i-have-clicked-continue.jpg

Whenever I have clicked on 'continue', when faced this message.

Changing Setting Security on root folder returns 'access is denied'-i-still-still-faced-message-until-i-have-clicked-continue0.jpg

Although the current owner is 'Administrators' as shown below::

Changing Setting Security on root folder returns 'access is denied'-i-still-still-faced-message-until-i-have-clicked-continue-1.jpg




My questions are:
First:: Why have I encountered 'access is denied' on some sub-folders, although they are personal data, and NOT System files?
Seoncd: Imagine I have faced far too many error messages (i.e a loop of ) 'access is denied', then how to manage this to arrive at the end. Since 'clicking on 'continue' separately would be not acceptible. There is no apply this settings of all.

Finally: If my main folder have many subfolders inside it, then going through 'security tab' on each of them would be absolute nonesnese. So, If I want to only go to 'secuirty tab' on the root folder, and add settings needed, then let the settings be applied on all the subfolders, and files inside main folder without going through all subfolders, and files, and apply the settings separately.




My System SpecsSystem Spec
.
25 Jan 2015   #2
Hadramawt

Windows 7 Home Premium 64Bit
 
 

Could anyone at this splendid froum take some of his precious time out reply to me?
My System SpecsSystem Spec
27 Jan 2015   #3
Hadramawt

Windows 7 Home Premium 64Bit
 
 

Is it difficult to this extent even no one replied to me?
My System SpecsSystem Spec
.

02 Feb 2015   #4
Hadramawt

Windows 7 Home Premium 64Bit
 
 

I am in not suitable forum?

Could anyone please reply to me to finish this problem??

It seems that I messed the Windows security permission, and I couldn't undo the changes done to what it were.
I have another external hard disk driver cloned from the same hard disk having a problem permissions before happening the problem. However, when opening the cloned HDD, I found no Windows security permissions with it, 'everyone' is assigned as ownership of the root driver, and 'Administrators' is taken as the currnet owner.


These screen shots show the HDD cloned, not having a problem with permissions:
No folders having locks on their icon









On Subfolders inised the root folder of that HDD not having a problem, the current owner is a long number:



On the HDD having permission problems. first, I have removed all Users from accessing tha root drive folder, even when I plugged my HDD, then I saw this message.



Since I know that it doesn't need to be formated, I canclled it, then I clicked on the properites of that root folder,


After that, I have taken Ownership of root folder, assigned Ownership on that root folder (i.e. I haveAssigned Ownership as 'everyone', and took ownership on that root folder as'Administrators'When I were taking ownership of that root folder, I took ownership of all subfolders and files within the folder by selecting the Replace Owner On Subcontainers And Objects option.). Thus, all subfolders and Files must have been accessed without needing to assigning ownership and taking ownership of every subfolder and file inisde that root folder. I AM RIGHT OR NOT.
However, the HDD having a problem sitll has locks on the icons of some sub-folders, and 'access is denied' on some of subfolders and files::
These screen sthos show HDD having a problem:








, although I have taken Ownership of root folder, assigned Ownership on that root folder (i.e. I haveAssigned Ownership as 'everyone', and took ownership on that root folder as 'Administrators'When I were taking ownership of that root folder, I took ownership of all subfolders and files within the folder by selecting the Replace Owner On Subcontainers And Objects option.).
Thus, all subfolders and Files must have been accessed without needing to assigning ownership and taking ownership of every subfolder and file inisde that root folder. I AM RIGHT OR NOT.

  • I have read https://technet.microsoft.com/en-us/magazine/ff404240.aspx. But it didn't help me.
  • Could you please let me know how to get my HDD driver to its pervious noraml way.(I.e. What should be shown in the 'Group or User names' and in the ownership tab for the root folder).
  • Since assigning ownership and taking ownership of every subfolder and file inisde that root folder would be bsolute nonsense . I AM RIGHT OR NOT.Could you please let me know how to cancelled all users from accessing the the root folder and all subfolders, and files( No groups or users have permission to access this object. )? Then, let these changes be applied on all subfolders and files without receiving 'access is denied' on some subfolders inside the root folder while applying this changes since I have done that, however, I was receving access 'is denied' on some subfolders while applying changes?
My System SpecsSystem Spec
10 Feb 2015   #5
Hadramawt

Windows 7 Home Premium 64Bit
 
 

Could you please reply to me or at least move my thread to a suitable forum section if not in suitable forum section?
My System SpecsSystem Spec
22 Feb 2015   #6
Hadramawt

Windows 7 Home Premium 64Bit
 
 

I found the solution of my problem, so I liked to share it since maybe it will help others facing the same problem.


 It is not surprising that you're facing this issue since you're using the drive on multiple computers, one of which is running XP which doesn't have UAC. Here is how to unlock astorage drive (in Windows 7) so that it can be accessed normally in any PC with no permissions issues:
  1. Press [Windows] (or click the Start Orb), and type "user account control".
  2. In the search results, click "Change User Account Control settings".
  3. Drag the slider all the way down to "Never notify".
  4. Click [OK], confirm the changes, and reboot your computer.
  5. Open Windows Explorer, right-click on the affected drive, and click Properties ->Security (tab) -> [Advanced] -> Owner (tab) -> [Edit].
  6. You should be on a dialog that is asking what you want to change the owner to. Click to selectAdministrators.
  7. Tick Replace owner on subcontainers and objects, and click [OK]. Windows should start processing all the files on the drive. This could take a few minutes.
  8. When it is done, click [OK] to close the ownership message, and then close out of all the other dialogs.
  9. Back in Windows Explorer, right-click the affected drive again, and click Properties -> Security (tab) -> [Advanced] -> [Change Permissions].
  10. Now in the Advanced Security Settings dialog, click the [Remove] button repeatedly to remove all the permission entries.
  11. Add SYSTEM and grant Full control.
    1. Click [Add...].
    2. Type "SYSTEM" and press [Enter].
    3. Tick Full control under the Allow column and press [Enter].
  12. Add Administrators and grant Full control.
  13. Add Users and grant Full control.
  14. Back in the Advanced Security Settings dialog, you should have three permission entries: SYSTEM,Administrators, and Users, all granted Full control. Tick "Replace all child object permissions with inheritable permissions from this object" and click [OK].
  15. Click [Yes] to confirm the replacement of permissions. Again, Windows will start processing all the files on the drive, which could take a few minutes.
  16. When it finishes, close out of all the dialogs and verify that all the folders are now accessible. You may need to refresh (or close and reopen) Explorer to see the changes.
  17. Assuming that it worked, let's re-enable UAC to reduce the temporary security vulnerability we created earlier. Press [Windows] and type "user account control".
  18. In the search results, click "Change User Account Control settings".
  19. Drag the slider back up to the position right below the top (position #2, the default).
  20. Click [OK] and reboot your computer. The files should now remain accessible.
This should straighten out your storage drive's permissions so that you can use it again. You may need empty the recycle bin on that drive after changing the permissions.
Don't do this procedure on your C:\ drive, as it will gravely reduce the security of your Windows installation. This is for storage drives only. If you need to access a particular folder you created on C:\, you can safely do the above steps onthat folder, but never on the C:\ drive itself. Please note that when doing this procedure on a folder instead of a disk drive, you will need to replace step #10 with this:
10. Now in the Advanced Security Settings dialog, untick "Include inheritable permissions from this object's parent" and click [Remove] to confirm. If some permission entries remain, click [Remove] until they are all gone.



My System SpecsSystem Spec
Reply

 Changing Setting Security on root folder returns 'access is denied'




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Access denied editing text files to root C drive
I thought i had all my permissions and sharing done correctly until i tried to edit a text file across my network on another windows 7 machine. When i go to save the file it ask me "save as" which it never did while trying to do the same thing on a windows xp machine. Well after the save as i try...
General Discussion
Access denied to encrypted files after changing password
I had certain files encrypted under a standard user account on Win 7 I changed my password, and then lost power without logging off. After logging in again I was no longer able to access those files. Changing the password back to the original did not help. I have imported my backup...
System Security
Disable write access to personal folder (root location of user area)
Hi all, Im not sure if anyone else has had this problem or noticed it, but I have enabled the GPO prevent users from adding files to the root of thier users files folder on our network as we use folder re-directs to my documents which in theory should keep everything tidy. This works up until a...
General Discussion
Changing security setting on netgear extender
Hi All I have just installed a Netgear WN3000RP Wireless range extender and Netgear N300 Wireless USB Adaptor. The USB Adaptor shows as having WPA2-PSK Security but the Extender only shows as having WPA-PSK Security. This is probably something I did when installing. Is there any way to alter...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion
DVD Backup - ISO saved to root folder... can't access
Hello, I was trying to backup one of my DVDs to save on my hard drive as an ISO file rather than burn it to a DVD. I used DVD Shrink to create the ISO, and it was saved as C:\DVD_Video.ISO in the C drive root folder. It is definitely there, I even rewrote it, but I am unable to see it when I...
Music, Pictures & Video


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 09:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App