To set a password on a laptop running Windows, go to Settings > Accounts > Sign-in options > Password > Add; on a Mac, the password is set in System Settings > Users & Groups. It takes two minutes and is the cheapest protection you can give a laptop that travels to campus, the office or a cybercafé.
Password, PIN or fingerprint?
| Option | What it is | Best for |
|---|---|---|
| Password | The master key for your account | Always needed as the fallback |
| PIN (Windows Hello) | A short code that only works on this one laptop | Fast daily sign-in |
| Fingerprint / face | Biometric sign-in, if your laptop has the hardware | Fastest, hard to shoulder-surf |
A PIN is tied to the device, so someone who sees it can’t use it to sign in to your email or Microsoft account elsewhere. You still need a password (or Microsoft account) behind it.
Windows 11: step by step
- Open Settings (Windows key + I) > Accounts > Sign-in options.
- Click Password > Add. Type the new password twice and a hint that only you understand.
- Click Next > Finish.
- Optional: under PIN (Windows Hello) click Set up for a PIN, or Fingerprint if available.
- Under Additional settings, set “If you’ve been away, when should Windows require you to sign in again?” to Every time.
If there’s no “Add” button and it says Change, a password already exists. See how to change a laptop password.
Windows 10: step by step
- Start > Settings > Accounts > Sign-in options.
- Under Password, click Add, enter it twice plus a hint, then Next > Finish.
- Add a Windows Hello PIN on the same page if you want a quicker sign-in.
Mac: step by step
Every Mac account already has a password from setup. To change or strengthen it: 1. Apple menu > System Settings > Users & Groups. 2. Click the info (i) button next to your name > Change Password. 3. In Lock Screen settings, set “Require password after screen saver begins or display is turned off” to Immediately. 4. Add Touch ID under Touch ID & Password if your Mac has it.
Local vs Microsoft account
- Local account: the password lives only on this laptop. Simple, but if you forget it, recovery is harder.
- Microsoft account: you sign in with your Outlook/Hotmail email and password. You can reset it online from your phone, and it lets you turn on Find my device (Settings > Privacy & security), which helps if the laptop is stolen on a matatu or at campus.
Make it strong but memorable
- Use a passphrase of three or four unrelated words:
Mango-Kettle-Rain-47. Long beats complicated. - Don’t use your ID number, phone number, birthday or name.
- Don’t give your password to a repair technician. Create a temporary account for them, or sign out and let them use the BIOS/diagnostics.
- Lock the screen every time you step away: Windows key + L (Windows) or Control + Command + Q (Mac).
- Write the password down once and keep it at home, not in the laptop bag.
Locked out already? Start with forgot your laptop password. If nothing else works, factory reset a laptop without the password is the last resort.
Quick answers
On Windows: Settings > Accounts > Sign-in options > Password > Add. On a Mac: System Settings > Users & Groups > info (i) > Change Password.
Press Windows key + I, open Accounts > Sign-in options, click Password > Add, type it twice with a hint, then Finish.
A PIN only works on that one laptop, so it’s safer if someone sees it. The password is the master key for your account and is still needed as a backup.




