Storage · Firmware
Fix a drive that disappears from the BIOS setup on some starts
A drive that shows in the BIOS setup on some starts and not others is usually a cable, power or port problem the firmware catches before Windows ever loads. Reseating the connections, swapping the cable and port, and checking the drive's health find it in that order.
What you need
- The PC's manual or motherboard model. You need the key that opens firmware setup and where its storage list lives.
- A spare SATA data cable, if it is a SATA drive. Cable swaps are the fastest test in this guide.
- Thirty to forty-five minutes, and patience for restarts. An intermittent fault only shows itself across several starts.
- A backup of the drive's contents, if it holds anything that matters. A drive that drops out intermittently can fail outright; copy first if Windows still sees it.
Read the problem before you touch it
- Understand what intermittent means here. A drive that is always missing points at a dead drive, a disabled port or a wrong boot setting. A drive that comes and goes points at a marginal connection: a cable that is almost seated, a power lead that sags, a port that is failing, or a drive whose electronics are weakening. Firmware checks storage early, which is why the drive vanishes from setup before Windows has any say. The boot phases behind that hand-off are set out in Advanced troubleshooting for Windows boot problems.
- Catch it in the act and write down the pattern. On the next start where the drive is missing, note whether the PC was cold, whether it had just been moved, and whether a restart brings the drive straight back. A drive missing only on cold starts and present on restarts is a classic marginal-power or slow-to-ready sign, and it steers the checks below.
The simple fixes, in order
- Shut down, unplug, and reseat both ends of the drive's cables. With the PC off and unplugged, press and release the data and power connectors on the drive and, for a SATA data cable, at the motherboard end too. For an M.2 drive, remove and refit the drive in its slot and refit its retaining screw without overtightening. Then run several starts and watch the setup storage list each time.
- Swap the cable and the port. Fit the spare SATA data cable, and move it to a different SATA port on the motherboard. If the fault follows the cable, the cable was it. If it stays on the original port, the port is failing and the drive can simply live on the new one.
- Load firmware defaults once, then re-check. In firmware setup, load the optimized defaults, save, and restart, then check the storage list across a few starts. This clears a stray storage-mode or fast-boot setting that can leave a drive undetected on some starts. Note any settings you had changed on purpose, such as boot order, before you do this, so you can put them back.
The advanced route
- Check the drive's health from Windows while it is present. On a start where Windows loads, open an administrator Command Prompt and run
chkdskfor the drive's letter with no switches first — a read-only pass that reports file system problems without changing anything. The switches and what each pass does are documented in chkdsk. Also open Disk Management and note the drive's status; Overview of Disk Management explains what its status labels mean. - Test the drive on a different power lead, then in another PC or enclosure if you have one. A different power connector from the same supply rules out one bad lead. If the drive still drops out in a second machine, the drive itself is failing: replace it and restore from your backup rather than coaxing it along.
- Check the boot mode has not changed. If the missing drive is the Windows drive and the PC also reports no bootable device, confirm the firmware boot mode still matches how Windows was installed. Boot to UEFI Mode or Legacy BIOS mode explains the two modes and why a mismatch stops a start even when the drive itself is detected.
End state
- The drive appears in the firmware storage list on every start, cold and warm, across at least several starts in a row.
- Windows loads normally each time, and Disk Management shows the drive with a healthy status.
- You know which change fixed it — reseat, cable, port, power lead or defaults — so a return of the fault points straight at the next suspect.
When it goes wrong
- No drive is listed at all now. Stop and recheck the basics: power lead connected, data cable latched at both ends, and the correct storage page in setup. If a known-good drive is also invisible, the fault is the board or its storage controller, not the drive.
- The drive is present in setup but Windows still does not start. That is a boot problem on a detected drive, not a detection problem — work through Advanced troubleshooting for Windows boot problems.
- Clicking or beeping from a spinning hard drive. Power off and leave it off. Those sounds mean mechanical damage, and every extra start lowers the chance of copying anything off it.
Related fixes
-
Fix a PC that boots into the BIOS setup screen every time instead of Windows
When a PC lands in BIOS setup on every start, the firmware is telling you it cannot find — or no longer trusts — something it needs to hand over to Windows. Work through the clock battery, the boot order, and the boot mode in that order and most machines go back to starting normally.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
-
Fix a keyboard or mouse that works in Windows but not in BIOS or recovery
A keyboard that works all day in Windows and goes dead in the BIOS setup or the recovery menu is not broken. Before Windows loads, the firmware drives the keyboard, and it only drives some ports, some connection types, and some settings. Use a wired keyboard in the right port first, then change the firmware setting that caused it.
-
Fix an external drive that ejects itself in the middle of copying
A large copy starts fine, then the drive vanishes mid-transfer and the copy fails. The drive is losing power or its USB connection under sustained load — a cable, a hub, or a port that cannot keep up, long before it is the drive itself. Feed it power and a direct connection first, then check the disk.
Sources
- Microsoft Learn, Advanced troubleshooting for Windows boot problems — the phases of startup and where firmware hands over to Windows.
- Microsoft Learn, chkdsk — the read-only pass and what each chkdsk switch does.
- Microsoft Learn, Overview of Disk Management — what Disk Management shows and what its disk and volume status labels mean.
- Microsoft Learn, Boot to UEFI Mode or Legacy BIOS mode — the UEFI and legacy boot modes and how a mismatch affects a start.