# How to FIX: Drive not accessible, Access is Denied on Drive X: (Windows 10/8/7 OS)

When Windows throws the "Drive is not accessible. Access is Denied" error for a
specific drive letter (e.g., Drive D:, E:, or X:), it usually boils down to
restricted NTFS permissions, a corrupt file system state, or outdated security
ownership.




METHOD 1: TAKE OWNERSHIP OF DRIVE X: (GUI METHOD)



When Windows revokes permission to open an internal or external drive,
re-claiming ownership via File Explorer restores full access.




STEP-BY-STEP LAYOUT:








STEPS:

 1. Open This PC, right-click Drive X:, and select Properties.

 2. Switch to the Security tab and click Advanced near the bottom.

 3. Click Change next to the Owner field.

 4. Type Administrators or your current Windows username into the text box,
    click Check Names, then click OK.

 5. Check "Replace owner on subcontainers and objects".

 6. Check "Replace all child object permission entries with inheritable
    permission entries from this object".

 7. Click Apply, then OK on all prompt boxes.




METHOD 2: FORCE ACCESS VIA COMMAND PROMPT (FASTEST CODE FIX)



If File Explorer freezes or blocks you from changing security properties, use
administrative command line overrides.

 1. Press Win + S, type cmd, right-click Command Prompt, and choose Run as
    Administrator.

 2. Execute the following commands in order (replace X: with your actual drive
    letter):




CODE 1: TAKE OWNERSHIP OF THE ENTIRE VOLUME




CODE 2: GRANT FULL PERMISSION TO ADMINISTRATORS GROUP




CODE 3: RESET INHERITED ACL PERMISSIONS (IF FILES ARE STILL BLOCKED)




METHOD 3: REPAIR FILE SYSTEM & BAD SECTORS (CHKDSK)



If user security settings are fine but the volume index is corrupt,
chkdsk repairs the drive structure.

 1. Open Command Prompt as Administrator (Win +
    S $\rightarrow$ cmd $\rightarrow$ Run as Administrator).

 2. Run this command:



 * /f: Fixes errors found on the disk.

 * /r: Locates bad sectors and recovers readable information.

 * /x: Forces the volume to dismount first if necessary.




METHOD 4: ASSIGN A NEW DRIVE LETTER

Sometimes Windows caches bad drive letter permissions. Reassigning the letter
refreshes system access.


STEP-BY-STEP LAYOUT:



 * Press Win + X and select Disk Management.

 * Right-click Drive X: and select Change Drive Letter and Paths....

 * Click Change..., pick a new letter from the dropdown (e.g., Z:), and hit OK.




QUICK TROUBLESHOOTING SUMMARY

Error Trigger

Primary Solution

Command / Action

Permission Denied

GUI Ownership Reset

Drive Properties $\rightarrow$ Security $\rightarrow$ Advanced

Locked by System

Forced CLI Access

takeown /f X:\ /r /d y

Corrupted Partition

Disk File System Repair

chkdsk X: /f /r