How to fix permissions

Judith Roales 20 Reputation points
2025-09-22T14:34:38.0133333+00:00

I use an external drive ( "Y") as my primary storage. Y is then automatically backed up to another external drive ("Z"). I am the Administrator, User, "God" of my computer and both external drives.

Recently, access to all the folders and files (100k) on Y has been denied. This happened around the time of recent Windows 11 updates and/or when I was batch deleting lots of files from the Cloud, but I don't know if either was the reason.

I can regain access to some Y files, but only by going to every single file to do it. And I have to do it at every single level to get down to the individual file. However, granting permission at the folder or drive level for subfolders and files -- when that appears as an option, which is rarely)--still only gives access to that level.

Fortunately, this change did not backup to Z and I am still able to use Z. But I tried overwriting some Y folders and files with copies from Z and was not allowed to do that. I can simply copy Z folders to Y with a different name, but copying ALL OF Y at once is estimated to take all day.

There has got to be something somewhere other than in the properties that is keeping me from having access. Please help me find it.

Windows for home | Windows 11 | Devices and drivers
0 comments No comments

Answer accepted by question author
Anonymous
2025-09-22T21:49:02.56+00:00

Dear Judith Roales,

Thank you for reaching out to the Microsoft Q&A.

This "access denied" issue, especially when it ignores recursive permission changes, is a classic (and maddening) symptom of a problem with the drive's ownership.

You are correct, trying to fix this file-by-file is impossible. The problem isn't at the file level; it's at the top level of the drive. The solution is to use your administrator status to seize ownership of the entire drive and all its contents in one go.

You could try following these steps below to solve this issue:

  1. Open advanced security settings for drive Y:
    • Open File Explorer.
    • Right-click on your problematic external drive (Y:) and select Properties.
    • Go to the Security tab.
    • Click the Advanced button.
  2. Change the drive's owner:
    • In the "Advanced Security Settings" window, look at the top where it says Owner:. It likely shows "Unable to display current owner" or an unknown account.
    • Click the blue Change link next to the owner's name.
    • A "Select User or Group" box will pop up.
    • In the text box, type Administrators (make sure to include the "s" at the end).
    • Click the Check Names button. It should find the group and underline it (e.g., YOUR-PC-NAME\Administrators).
    • Click OK.
  3. Replace ownership on all files and folders:
    • You are now back in the "Advanced Security Settings" window. The owner should show "Administrators".
    • Check the box that says "Replace owner on subcontainers and objects". This is the key. This tells Windows to apply this ownership change to every single one of your 100k files and folders.
    • Click Apply.
  4. Grant full control permissions:
    • After the ownership process is complete, while still in the "Advanced Security Settings" window, click the Add button (near the bottom left).
    • Click the blue link "Select a principal".
    • In the box, type your Windows username (the one you use to log in).
    • Click Check Names to verify, then click OK.
    • In the "Basic permissions" section, check the box for "Full control". This will automatically check all other boxes.
    • Click OK.
  5. Replace all permissions:
    • You are now back in the main "Advanced Security Settings" window and should see your username in the list with "Full control".
    • At the very bottom, check the box that says "Replace all child object permission entries with inheritable permission entries from this object".
    • Click Apply, and then OK.

Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution. Thank you for your cooperation.  


To assist others who might have similar questions and to help us improve our support system, we kindly encourage you to "Accept the answer" if it successfully addressed your concern. Accepting an answer lets other users know that this solution worked for you, and it also helps us track the effectiveness of our support efforts.

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Judith Roales 20 Reputation points
    2025-09-23T18:29:00.8866667+00:00

    Bryan, Thanks for such a thorough reply.

    That's pretty much what I had been doing, but since I was figuring it out on the fly, it was not all in one try, in order, etc. So I went through it again exactly as you have written it.

    There were a couple of additional popup boxes along the way. One warned that I didn't have permission to read the files that were being changed and asking if I wanted to "change the directory permissions" with permissions that will give full control. I clicked YES. The other warned that I was applying full control to all the files and asked if I was sure I wanted to do that. Again, I clicked YES.

    Obviously, I haven't checked ALL 100k files yet, but I did check quite a few and this appears to have worked.

    However, there are a few problems that I don't understand --

    1. a few folders on Y have a red circle with an x in it and are EMPTY when I open them. However, these files can be recovered from Z so I can live with this issue.
    2. I get a message that says the recycle bin is corrupted and asks if I want to delete all the files. They appear to be the files I was deleting from One Drive anyway plus some others. A lot of the files are also empty. Should I say YES? This makes me ask: Does deleting files in One Drive delete them EVERYWHERE on my computer? Because I think they match the red circles on the empty folders in Y.
    3. The "Administrators" (with an s) that I added to the security permissions box doesn't show up in properties for the repaired Y drive, but the Windows user name I added does and everything seems to work without it. Will that be a problem down the road?

    Thanks again for your swift and very helpful answer. I will ACCEPT your answer AND I will definitely print it and put it in my files so I'm never in this shape again.

    Judith

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.