How to Secure Your Hard Drive Data: Encryption, Drive Passwords and Safe Disposal
Your computer’s drive holds the operating system, your programs, and everything personal: documents, photos, saved passwords, browser history. A Windows or macOS login password keeps casual users out, but it does not protect the drive itself. Anyone who removes the drive and connects it to another computer, or boots the machine from a USB stick, can often read unencrypted files directly.
Securing drive data comes down to protecting it while you own the computer, and erasing it properly when you stop using it.
1. Turn on full-disk encryption
Encryption scrambles everything on the drive so it can only be read with the correct key. If a laptop is lost or stolen while switched off, an encrypted drive is effectively unreadable to the thief.
Windows: Device Encryption
Many modern Windows laptops support Device Encryption, including on Windows Home editions.
- Windows 11: Settings > Privacy & security > Device encryption
- Windows 10: Settings > Update & Security > Device encryption
If you do not see the option, your hardware does not meet the requirements, and you will need BitLocker or a third-party tool instead.
Device Encryption stores a recovery key in your Microsoft account (or your organisation’s account on a work computer). That makes it easy to recover if you get locked out, but it means a copy of the key is held online. Some people are uncomfortable with that; if so, use BitLocker and keep the recovery key yourself.
Windows Pro, Enterprise and Education: BitLocker
BitLocker offers more control, including encrypting additional internal drives and removable USB drives (BitLocker To Go). Search for “Manage BitLocker” in the Start menu to set it up.
- BitLocker works best with a TPM (Trusted Platform Module) chip, which almost all PCs that run Windows 11 have.
- Choose where to save the recovery key: print it, save it to a USB stick, or store it in your Microsoft account. Do not lose it. Without it, a hardware fault or firmware update could lock you out of your own data.
- For extra protection, you can require a PIN at start-up.
Mac: FileVault
On a Mac, go to System Settings > Privacy & Security > FileVault and turn it on. Apple silicon and T2-equipped Macs encrypt the internal SSD at a hardware level anyway, but FileVault ties that encryption to your login password so the data cannot be read without it.
Third-party encryption
VeraCrypt is a well-known free, open-source option for encrypting whole drives or creating encrypted containers, and works on Windows, macOS and Linux.
2. Set a drive (ATA) password, where supported
Some laptops let you set a hard disk password in the BIOS/UEFI settings, separate from your Windows password and from the BIOS administrator password. With it enabled, the drive refuses to unlock until the password is entered at start-up.
Points to understand:
- A drive password locks access but does not encrypt the data itself on most drives. It is a useful extra barrier, not a substitute for encryption.
- Not every computer or drive supports it. Check your laptop’s BIOS/UEFI security menu.
- If you forget it, you may lose access to the drive entirely. Record it somewhere safe.
- Remove it before selling the computer, or the buyer will not be able to use the drive.
3. Consider a self-encrypting drive (SED)
A self-encrypting drive encrypts everything written to it in hardware, using an internal data-encryption key. On its own, it decrypts automatically for whoever is using the computer, so it needs an authentication key (a password set through the BIOS or management software) to provide real protection. Once that is set:
- the drive stays locked at power-on until the correct key is entered
- moving it to another computer does not bypass the lock
The important limitation is that an SED stays unlocked until power is cut. A laptop that is asleep, rather than shut down, may have an unlocked drive. If you rely on an SED, get into the habit of shutting down fully when the machine is unattended or travelling with you.
SEDs also have a useful side effect at end of life: changing or destroying the internal key (a cryptographic erase) renders all the data unreadable almost instantly.
4. Erase the drive properly before it leaves your hands
All of the above protects your data while you own the computer. When you sell, donate, recycle or return it, you need to remove the data itself.
- Do not rely on deleting files or a quick format. These leave data that recovery software can often find. (Our explainer on why deleting is not enough covers the details.)
- Encrypted drives are easier to erase effectively, but you should still wipe or cryptographically erase them, not simply hand them over.
- Use a method that matches the drive type. Hard drives can be overwritten; SSDs need a method that supports flash storage, such as the drive’s built-in secure erase or a wipe tool designed for SSDs.
- Cover every drive. Desktops often have more than one, and external drives and memory cards are easy to forget.
A bootable wipe tool such as RedKey USB erases every drive it detects by default, which is helpful on desktops with multiple drives. Built-in options (Windows’ Reset this PC with drive cleaning, or macOS Erase All Content and Settings) work for the system drive. Whatever you use, check that the process reports success.
Quick summary
| Layer | Protects against | Set it up |
|---|---|---|
| Login password | Casual access | Always |
| Full-disk encryption (BitLocker, Device Encryption, FileVault) | Theft, drive removal | Turn on now; save the recovery key |
| Drive (ATA) password | Drive removal, booting from USB | Optional; remove before sale |
| Self-encrypting drive | Drive removal; enables instant crypto-erase | When buying or upgrading a drive |
| Secure wipe | Data left behind after disposal | Every time a computer or drive leaves your possession |
Start with encryption, as it is free on most current computers and has the biggest effect. Then make secure wiping a routine part of retiring any device.
