Diskpart is a command-line utility that helps manage disks on Windows systems. However, sometimes it fails to recognize newly connected SSDs or HDDs. The drive may be visible in the BIOS, but not show up when you use Diskpart. This post will guide you through troubleshooting steps to resolve this issue.
Set SATA Mode to AHCI
AHCI (Advanced Host Controller Interface) is a hardware mechanism that allows software to communicate with Serial ATA (SATA) devices, such as hard drives and SSDs, efficiently. Incorrect SATA mode settings in the BIOS can prevent Diskpart from detecting the SSD. Setting SATA mode to AHCI is often the most effective solution.
Step 1: Boot into your computer’s BIOS settings.
Step 2: Look for SATA Configuration
or Storage Configuration
. It might be located under the Main
, Advanced
, or Boot
tabs.
Step 3: Set the SATA controller mode to AHCI
.
Step 4: Check that the SATA port to which your SSD is connected is enabled. Some SATA ports can be disabled in the BIOS.
Step 5: Save the changes and exit the BIOS.
Uninstall and Reinstall the Driver
If the SSD is visible in Device Manager but Diskpart doesn’t recognize it, reinstalling the driver may help.
Step 1: Unplug the new SSD.
Step 2: Open Device Manager
.
Step 3: Expand Disk drives
, right-click on the SSD, and select Uninstall device
.
Step 4: Click Uninstall
again to confirm.
Step 5: Plug the SSD back in. Check if the device is installed properly.
Step 6: If the device isn’t automatically installed, right-click on Disk drives
and select Scan for hardware changes
.
Check the Disk Health
Use the chkdsk
command to check and repair potential disk errors. You’ll need to boot from installation media to run this command if your system drive is the issue.
Step 1: Boot your computer using the Installation Media.
Step 2: Go to Repair your computer > Troubleshoot > Advanced options
.
Step 3: Select Command Prompt
.
Step 4: Run the following command:
Chkdsk /r /f
This command will scan your drive and attempt to repair any errors.
Unplug and Replug the Device
A simple disconnection and reconnection can sometimes resolve detection issues.
Step 1: Unplug the SSD from the computer.
Step 2: Plug the SSD back in securely. If it’s an internal SSD, ensure proper connection to the SATA and power cables.
Try a New SATA Cable
A faulty SATA cable can prevent the SSD from being detected.
Step 1: Replace the existing SATA cable with a new one.
Step 2: Ensure the cable is securely connected to both the SSD and the motherboard.
Reset your BIOS
If other methods fail, resetting the BIOS to its default settings can resolve compatibility issues. Consult your motherboard manual for specific instructions on how to reset the BIOS.
These steps should help you troubleshoot why Diskpart is not recognizing your SSD.