TechBuzzPro

How to Attach a Hard Drive to a PC

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can attach a hard drive to a PC in two ways: externally, by plugging a SATA-to-USB adapter or an external enclosure into a USB port, or internally, by mounting a SATA drive in a desktop case and connecting a SATA data cable to the motherboard plus a power cable from the power supply. External is the safe, no-tools option for most people; internal gives you the fastest, most permanent connection. Either way, back up anything important before you start, and never open a drive's metal casing — that destroys it and voids the warranty.

What You'll Need

  • A 2.5-inch or 3.5-inch SATA hard drive (or an M.2 drive if your board supports it and you are installing internally)
  • For external use: a SATA-to-USB 3.0 adapter cable or a powered external enclosure. A 3.5-inch desktop drive needs an enclosure or adapter with its own power supply, because USB alone cannot spin it reliably.
  • For internal use: a SATA data cable, a free SATA power connector from the power supply, and a screwdriver plus mounting screws
  • A desktop PC with a free drive bay and SATA port (for internal installation)
  • An anti-static wrist strap, or at least touch bare metal on the case before handling components

Step-by-Step

  1. Decide on external or internal. If you only need to copy files off an old drive or add storage occasionally, go external. If you want a permanent second drive inside a desktop, go internal. Laptops generally cannot take a second 3.5-inch drive, so external is the realistic route there.
  2. Power down and unplug the PC. For internal work, shut down fully (not sleep), switch off the power supply at the back if it has a switch, and pull the power cable. Hold the power button for a few seconds to drain residual charge.
  3. Ground yourself. Clip an anti-static strap to bare metal on the case, or touch the metal chassis before you pick up the drive. Static is the most common way people kill a working drive.
  4. Open the case. Remove the side panel — usually two thumbscrews at the back. Labels and layouts differ slightly between case models, so check your case manual if a panel resists.
  5. Mount the drive. Slide a 3.5-inch drive into a free bay and secure it with screws on both sides, or use a tool-free rail if the case has one. 2.5-inch drives can often be screwed to the floor of the case or into a small bracket.
  6. Connect the data cable. Plug one end of the SATA data cable into the drive and the other into a free SATA port on the motherboard. The ports are usually grouped at the lower right of the board and are labelled SATA1, SATA2 and so on. Use any free port; order does not matter for a data drive.
  7. Connect power. Find a spare SATA power connector from the power supply and push it into the wider connector on the drive. It is keyed, so it only fits one way.
  8. Close up and boot. Replace the panel, reconnect power, and start the PC. Watch for the drive in the BIOS/UEFI screen if you want to confirm it is detected before Windows loads.
  9. For external drives instead: slide the drive into the enclosure or plug the adapter into the drive's SATA ports, connect the power brick if the enclosure has one, then plug the USB cable into a rear USB 3.0 port on the PC. Rear ports are more reliable than front-panel ones.
  10. Initialise and format the drive in Windows. Open Disk Management (right-click Start and choose Disk Management). A brand-new drive shows as unallocated. Right-click it, choose New Simple Volume, follow the wizard, pick NTFS for Windows use or exFAT if you also need Mac access, and assign a drive letter. A drive that already contains data from another PC should appear with its existing letter and needs no formatting.

Common Mistakes

  • Formatting a drive that already has data. If Windows asks to format a drive you pulled from another machine, cancel. The files are probably still there; formatting wipes them.
  • Using a bus-powered adapter on a 3.5-inch drive. The drive will click or fail to spin. Use a powered enclosure or a mains-powered adapter.
  • Forgetting the power cable. A SATA data cable alone is not enough for an internal drive; it will not appear at all.
  • Handling the drive by its circuit board or dropping it even a few centimetres while it is spinning or recently spun down. Hard drives are mechanical and fragile.
  • Hot-plugging internal SATA drives on a machine that is not set up for it. Power off first.
  • Ignoring the drive letter. A newly formatted drive sometimes takes a letter already in use by a network drive, which hides it in File Explorer.

Tips

  • Label cables and note which SATA port you used, so future upgrades are easier.
  • Keep the drive flat and stable while it runs; do not move a desktop PC with a spinning drive inside.
  • If you are moving a drive from an old PC, copy the data off before you reuse the drive for anything else.
  • Check drive health with the manufacturer's own diagnostic tool before trusting it with important files.
  • Use a rear USB port and a short, decent-quality cable for external drives to avoid dropouts during large transfers.

Troubleshooting

The drive does not appear at all. Recheck both cables at the drive and the motherboard, try a different SATA port, and confirm the power connector is fully seated. Then look in the BIOS/UEFI — if the drive is missing there too, the problem is cabling or the drive itself, not Windows.

It shows in BIOS but not in File Explorer. Open Disk Management. The drive may be unallocated (needs a new volume) or have no drive letter (right-click and choose Change Drive Letter and Paths).

It appears but asks to format. Stop. This usually means a partition Windows does not recognise, common with drives from Macs or Linux. Do not format if you need the data; use recovery software or a Linux live environment to read it.

External drive disconnects mid-copy. Try another USB port (preferably rear), a different cable, and check that the enclosure's power supply is connected. Avoid USB hubs for large transfers.

Clicking or beeping noises. Power the drive down and stop using it. That is a mechanical failure; repeated attempts make recovery harder and more expensive.

Frequently Asked Questions

Can I attach a hard drive without opening the PC?

Yes. A SATA-to-USB adapter or external enclosure lets you connect any SATA drive to a USB port, which is the standard way to read an old drive.

Do I need to format a new hard drive?

Yes, a brand-new drive usually arrives unallocated and needs a volume created in Disk Management before it shows in File Explorer.

Will attaching a second drive erase my existing data?

No. Adding a drive does not touch other drives. Only formatting the new drive removes data, and only on that drive.

Can I use a laptop hard drive in a desktop?

Yes. 2.5-inch SATA laptop drives use the same connectors; you may just need a bracket or adapter to mount one in a desktop bay.

Why does my 3.5-inch drive not spin up on a USB adapter?

It needs more power than USB provides. Use an enclosure or adapter with its own mains power supply.

Is it safe to unplug an external drive while the PC is on?

Only after ejecting it in Windows. Pulling it during a write can corrupt files.