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


  1. Posts : 177
    Windows 7 Home Premium 64Bit
       #1

    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 Computer


  2. Posts : 177
    Windows 7 Home Premium 64Bit
    Thread Starter
       #2

    Could anyone at this splendid froum take some of his precious time out reply to me?
      My Computer


  3. Posts : 177
    Windows 7 Home Premium 64Bit
    Thread Starter
       #3

    Is it difficult to this extent even no one replied to me?
      My Computer


  4. Posts : 177
    Windows 7 Home Premium 64Bit
    Thread Starter
       #4

    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?
    Last edited by Hadramawt; 02 Feb 2015 at 06:55.
      My Computer


  5. Posts : 177
    Windows 7 Home Premium 64Bit
    Thread Starter
       #5

    Could you please reply to me or at least move my thread to a suitable forum section if not in suitable forum section?
      My Computer


  6. Posts : 177
    Windows 7 Home Premium 64Bit
    Thread Starter
       #6

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 16:34.
Find Us