How to fix hard drive not showing in Windows 10 File Explorer

File Explorer fix missing drive
(Image credit: Future)

When connecting a mechanical hard drive (HDD), solid-state drive (SSD), or an external USB hard drive to a computer, Windows 10 can automatically detect and set it up. However, a newly added drive may sometimes not appear in File Explorer, which could be for a number of reasons.

For example, it could mean a physical problem with the data or power connection. If the hard drive does not appear in File Explorer, this could indicate that the device is disabled, offline, or does not have a drive letter. You may try to connect a drive previously installed on another computer, the partition on the USB drive may be corrupted, or you could be dealing with a raw drive that was never configured. Therefore it was never initialized or formatted.

Regardless of the reason, Windows 10 includes multiple ways to fix the issue and regain access to the drive using Device Manager, Disk Management, and command-line tools like diskpart.

This guide will walk you through several ways to troubleshoot a hard drive that refuses to appear in File Explorer.

How to fix missing hard drive in File Explorer using physical troubleshooting

On Windows 10, if a traditional mechanical hard drive (HDD) or solid-state drive (SSD) does not appear in File Explorer, there are many reasons to why this is happening, but before checking and modifying the system settings, try these troubleshooting steps:

  • Confirm the hard drive is correctly connected to the computer and receiving power.
  • If it is an external USB hard drive, disconnect and try a different USB port. If you use a USB hub, connect the drive directly to the computer.
  • If it is an internal hard drive, ensure the data and power cables are correctly connected to the storage device, motherboard, and power supply. When checking the internal components, power off and unplug the computer before beginning the process.
  • Connect the drive to another computer to determine whether the problem is not the device.
  • Access the computer's Basic Input Output System (BIOS) or Unified Extensible Firmware Interface (UEFI), and make sure the firmware detects the storage. Since the motherboard firmware is a different per manufacturer and even per-device model, check the manufacturer support website for more specific instructions.

Once you determine that it is not a physical problem, you can use the following recommendations to fix the most common problem preventing File Explorer from showing a hard drive.

How to fix missing hard drive in File Explorer using Device Manager

In the rare case that the storage does not appear in Disk Management and File Explorer, it could mean that the hard drive seems to be disabled. If this is the case, you can enable it quickly using Device Manager.

To enable a hard drive using Device Manager on Windows 10, use these steps:

  1. Open Start.
  2. Search for Device Manager and click the top result to open the app.
  3. Expand the Disk drives branch.
  4. Right-click the hard drive in question and select the Properties option.

(Image credit: Future)
  1. Click the Driver tab.
  2. Click the Enable Device button.

(Image credit: Future)
  1. Click the OK button.

After you complete the steps, the hard drive and data should be accessible on the computer.

How to fix missing hard drive in File Explorer using Disk Management

There are a few requirements for a hard drive to be available in File Explorer. The device must be online and initialized. It needs to have a partition properly configured. And it has to have a drive letter assigned, or it should be mounted as a folder.

If you are dealing with any of these problems, the steps below will help you to troubleshoot and fix the most common issues with Disk Management.

Set drive online

To bring a hard drive online, use these steps: 

  1. Open Start.
  2. Search for Disk Management and click the top result to open the app.
  3. Right-click the disk with the "Offline label" and select the Online option.

(Image credit: Future)

After you complete the steps, if the hard drive was offline and previously configured, it should appear in File Explorer. If the storage was offline but never configured, continue with the steps below.

Initialize drive

To initialize a hard drive on Windows 10, use these steps:

  1. Open Start.
  2. Search for Disk Management and click the top result to open the app.
  3. Right-click the disk with the "Unknown" label and select the Initialize Disk option.

(Image credit: Future)
  1. Under the "Select disks" section, check the drive you want to initialize.
  2. Select the "GPT (GUID Partition Table)" option.

(Image credit: Future)
  1. Click the OK button.

Once you complete the steps, this action will erase everything on the drive and prepare it to be formatted if the storage was never initialized.

Import foreign drive

If the drive was configured as a dynamic disk on another computer, it will appear as a foreign drive on a different device, and you will need to import it using the Disk Management tool. This process should grant you access to the data without destroying it, but creating a backup of the data is still recommended before proceeding.

To import a hard drive with a dynamic configuration to make it accessible through File Explorer, use these steps:

  1. Open Start.
  2. Search for Disk Management and click the top result to open the app.
  3. Right-click the disk with the "Dynamic" label and select the "Import Foreign Disks" option.

(Image credit: Future)
  1. Under the "Disk groups" section, select the "Foreign disk group (1 of 1 disks)" item.

(Image credit: Future)
  1. Click the OK button.
  2. Click the OK button again.

Once you complete the steps, the hard drive will be imported, and the data will be accessible from File Explorer or any other application.

Configure drive letter

On Windows 10, when the hard drive is online and initialized and does not appear in the system, usually, it's for one or two reasons. The drive does not have a drive letter. Or if it was connected to another computer, the new system is now trying to assign the same drive letter already assigned to another drive on the machine.

To assign a drive letter to the storage on Windows 10, use these steps:

  1. Open Start.
  2. Search for Disk Management and click the top result to open the app.
  3. Right-click the partition on the hard drive without a drive letter and select the "Change Drive Letter and Paths" option.

(Image credit: Future)
  1. Click the Add button.
  2. Select the "Assign the following driver letter" option.

(Image credit: Future)
  1. Use the drop-down menu option and select a drive letter – for example, Z, X, or Y.

(Image credit: Future)
  1. Click the OK button.

After you complete the steps, the hard drive data should now be accessible using File Explorer.

Configure new partition

If the drive is online and initialized, the drive may not have a formatted partition. In this case, you can use the Disk Management wizard to configure and assign a letter to the partition.

To set up and format a hard drive to allow it to appear in File Explorer, use these steps:

  1. Open Start.
  2. Search for Disk Management and click the top result to open the app.
  3. Right-click the partition on the hard drive without a drive letter and select the "New Simple Volume" option.
  • Quick tip: Usually, the "basic" drive will have a blue stripe indicating the beginning and end of the partition. Also, select the correct storage, as the following steps will erase everything on the hard drive you choose.

Disk Management New Simple Volume

(Image credit: Future)
  1. Click the Next button.
  2. Click the Next button to use all the available space for the partition. Otherwise, specify the size in the "Simple volume size in MB" option.

(Image credit: Future)
  1. Select the "Assign the following driver letter" option.
  2. Use the drop-down menu option and select a drive letter – for example, Z, X, or Y.

(Image credit: Future)
  1. Click the Next button.
  2. Select the "Format this volume with the following settings" option.
  3. Use the "File system" drop-down menu and select the NTFS option.
  4. Use the "Allocation unit" size drop-down menu and select the Default option.
  5. In the "Volume label" field, confirm a descriptive name for the drive – for example, data.
  6. Check the "Perform a quick format" option.

(Image credit: Future)
  1. Click the Next button.
  2. Click the Finish button.

Once you complete the steps, the hard drive will be listed on the "This PC" page of File Explorer, and you can start saving files in it.

If you happen to be dealing with a damaged hard drive, we recommend the Western Digital My Book because of its reliability and affordability. Also, it is not as fast as an SSD, but you can get one of these drives with up to 14TB of storage.

How to fix missing hard drive in File Explorer updating driver

If the problem is related to the storage driver, you can reinstall or update the driver to the latest version to resolve the issue.

To reinstall the hard drive driver, use these steps:

  1. Open Start.
  2. Search for Device Manager and click the top result to open the app.
  3. Expand the Disk drives branch.
  4. Right-click the hard drive in question and select the Uninstall device option.

(Image credit: Future)
  1. Click the Uninstall button.
  2. Restart the computer

Once you complete the steps, Windows 10 should reinstall the driver automatically, and the hard drive should now appear in File Explorer.

Update hard drive driver

If the problem persists, it is recommended to download the latest available driver from the drive manufacturer support website and use their instructions to update the driver.

If the support website does not offer any instructions, unpack the driver zip folder and then use these steps:

  1. Open Start.
  2. Search for Device Manager and click the top result to open the app.
  3. Expand the Disk drives branch.
  4. Right-click the hard drive in question and select the Update driver option.

(Image credit: Future)
  1. Select the "Browse my computer for drivers" option.

(Image credit: Future)
  1. Click the Browse button.

(Image credit: Future)
  1. Select the folder with the extracted driver files.
  2. Click the OK button.
  3. Check the Include subfolders option.
  4. Click the Next button.
  5. Click the Close button.

After you complete the steps, the driver will install, and the hard drive should be accessible on Windows 10.

How to fix missing hard drive in File Explorer using DiskPart

Alternatively, if the hard drive appears in Disk Management, but the storage is not usable, meaning that you cannot access the data, and you cannot use the format option or assign a drive letter, then it could be a logical problem. If this is the case, you can use DiskPart to clean the drive and start from scratch. Here's how:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to launch the diskpart tool and press Enter: diskpart
  4. Type the following command to list the available disks and press Enter: list disk
  5. Type the following command to select the hard drive not showing up in File Explorer and press Enter: select disk 1

In the command, make sure to select the correct drive. Otherwise, you may end up erasing the data in the wrong storage, which cannot be undone.

  1. Type the following command to completely erase the drive and press Enter: clean
  • Warning: The "clean" command will erase everything, including data, partition, type, and the drive will appear blank with the label unknown and not initialized.

(Image credit: Future)
  1. Type the following command to create a partition using the available space and press Enter: create partition primary
  2. Type the following command to select the newly created partition and press Enter: select partition 1
  3. Type the following command to set the partition as active and press Enter: active
  4. Type the following command to format the partition with the NTFS file system and press Enter: format FS=NTFS
  5. Type the following command to assign a drive letter and press Enter: assign letter=Z

In the command, change "Z" for another drive letter not already in use.

(Image credit: Future)
  1. Type the following command to close diskpart and press Enter:exit

Once you complete the steps, the hard drive will be formatted with a new drive letter, and it should now appear in File Explorer.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

Mauro Huculak

Mauro Huculak is technical writer for WindowsCentral.com. His primary focus is to write comprehensive how-tos to help users get the most out of Windows 10 and its many related technologies. He has an IT background with professional certifications from Microsoft, Cisco, and CompTIA, and he's a recognized member of the Microsoft MVP community.