Security and certificates

Turn on disk encryption

Scramble everything on your computer's drive, so a lost or stolen laptop is useless to a thief.

  1. Turn on FileVaultNeeds sudo
    Terminal
    sudo fdesetup enable

    It shows a recovery key. Save it somewhere safe, like your password manager. You may need to restart.

Check it worked

  1. Check it's on
    Terminal
    fdesetup status

    It should say FileVault is On.

Undo it
  1. Turn it offNeeds sudo
    Terminal
    sudo fdesetup disable

    Decrypting takes a while. Keep the laptop plugged in.

Ubuntu encrypts the disk when it's installed (tick “Encrypt the new installation” or choose LVM with encryption). It can't simply be switched on later without reinstalling.

  1. Turn on BitLocker for drive C:Run as administrator
    PowerShell
    manage-bde -on C: -RecoveryPassword

    Copy the recovery password it shows into your password manager. Needs Windows Pro. On Windows Home, use Settings, then Privacy & security, then Device encryption.

Check it worked

  1. Check it's on
    PowerShell
    manage-bde -status C:

    Look for “Protection On”.

Undo it
  1. Turn it offRun as administrator
    PowerShell
    manage-bde -off C:

    Decrypting takes a while.

New to encryption? I explain it in plain English on Layman Terms.