D Drive Denied Access. Changed permissions and cancelled half way.

Gin 0 Reputation points
2026-11-07T23:15:32.4366667+00:00

Access is denied D: Drive

I stupidly changed permissions on the entire D: Drive and I noticed half way and cancelled. Now in my admin account, the Disk D shows NTFS instead of the usual storage size. When i try to open the D Drive it says its not accesible and access is denied.

I didn't try to change much of the permissions I just removed other users, left administrators and system the same, then added one of my standard account but this didnt complete. I panicked and cancelled half way when i realized i was doing it on the entire D Drive.

When I go to properties then security in my admin account, it says you must have read permissions to view properties of this object.

I click advanced and it says the same and says unable to display current owner.

I click continue in advanced security settings and I can still change everything and have access to removing adding and editing permissions. Adminsitrators, System, and my account says it has full control access and applies to this folder subfolder and files.

Please help.

Windows for home | Windows 10 | Files, folders, and storage
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-11-07T23:42:28.06+00:00

    Recover ownership of D:\ from an elevated Command Prompt, establish valid permissions at the drive root, and then reset child items so they inherit those permissions.

    Repair the interrupted permission change

    These commands change security information, not file contents. However, resetting inheritance removes custom per-folder permissions, so do not use this procedure if D: contains another Windows installation or folders that intentionally require different access rules.

    1. Sign in to an administrator account.
    2. Open Start, type Command Prompt, right-click it, and select Run as administrator.
    3. Take ownership of the drive for the built-in Administrators group:
    takeown /f D:\ /a /r /d Y
    

    /a assigns ownership to Administrators, while /r processes files and subfolders recursively. The operation can take considerable time; allow it to finish rather than cancelling it again. Some protected-folder warnings can occur. ^1^

    1. Establish permissions at the root of D::
    icacls D:\ /inheritance:e
    icacls D:\ /grant:r "*S-1-5-32-544:(OI)(CI)F"
    icacls D:\ /grant:r "*S-1-5-18:(OI)(CI)F"
    

    These entries give Administrators and SYSTEM full control and make the permissions inheritable by files (OI) and folders (CI). Microsoft documents these inheritance flags and the /grant:r behavior. ^2^

    1. Grant access to the standard account. Replace COMPUTER\UserName with that account’s actual name:
    icacls D:\ /grant:r "COMPUTER\UserName:(OI)(CI)F"
    

    To find the exact account name, sign in to that account and run whoami, or check Settings → Accounts → Your info.

    1. Reset the permissions below the drive root so all existing children inherit the repaired root permissions:
    icacls D:\* /reset /t /c
    

    /t processes subfolders, /c continues past individual errors, and /reset replaces child ACLs with inherited defaults. ^2^

    1. Restart Windows, sign in to the standard account, and open D:. File Explorer should again show the capacity bar and allow access.

    This ownership-first, permissions-second sequence also matches the accepted recovery procedure for a drive reporting “Unable to display current owner” and refusing recursive access. ^3^

    Important notes

    • Seeing NTFS instead of the storage-size bar does not mean the volume was converted or erased; NTFS is the file system. Explorer may be unable to read enough volume information while access to the drive root is denied.
    • Do not grant Everyone full control.
    • Do not alter System Volume Information separately. It is normally protected, and isolated access-denied messages for that folder do not mean the repair failed.
    • If takeown or icacls reports widespread I/O errors—not merely access errors—stop modifying permissions and check the drive’s health or recover the data to another disk.
    • If only particular files remain inaccessible after the repair and their Attributes include E, they may use Encrypting File System (EFS). Such files must be decrypted by the account that encrypted them or by its recovery agent; ordinary permission changes cannot decrypt them. ^4^

    References

    1. takeown
    2. icacls
    3. How to fix permissions - Microsoft Q&A
    4. Access is denied error message appears when permissions are correct
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was 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.