TechBuzzPro

How to Secure Your Computer from Unauthorized Access

· 7 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

Securing your computer from unauthorized access means making sure that only you (and people you deliberately allow) can log in, read your files, or use your machine — whether someone is sitting at your desk or trying to reach it over a network. The single most effective first step is to set a strong password or PIN on your user account and turn on automatic screen locking; everything else builds on that. You do not need special tools to start: your operating system already includes the settings you need, and the steps below use only built-in options on Windows, macOS, and common Linux desktops. Menu labels can differ slightly by version, device, and region, so if a name does not match exactly, look for the closest equivalent in the same area of settings.

What You'll Need

  • Your computer and the account you normally sign in with (administrator rights help for some steps).
  • A password manager or a safe place to store passwords — a notebook kept away from the computer is fine.
  • Access to your router's admin page if you want to secure network access (optional but recommended).
  • About 30–45 minutes for the first pass; you can do the steps in any order.

Step-by-Step

  1. Set a strong account password or PIN. On Windows, open Settings > Accounts > Sign-in options and set a password or PIN. On macOS, open System Settings > Users & Groups and change your password. Use a long passphrase (four or more unrelated words) rather than a short complex string. Avoid reusing a password from another site.
  2. Turn on automatic screen lock. On Windows, go to Settings > Personalization > Lock screen > Screen saver settings and enable “On resume, display logon screen,” then set a short wait (for example 5 minutes). On macOS, open System Settings > Lock Screen and set “Require password after screen saver begins or display is turned off” to immediately or 5 minutes.
  3. Lock manually when you step away. Windows: press Windows key + L. macOS: press Control + Command + Q. Linux desktops usually have a similar shortcut in the system menu. Get into the habit — this is the fastest protection against someone at your desk.
  4. Use a standard (non-administrator) account for daily use. Create a separate administrator account and use a standard user for browsing and email. On Windows: Settings > Accounts > Other users > Add account. On macOS: System Settings > Users & Groups > Add Account, and set the new account as Standard. This limits what malware or a casual intruder can change.
  5. Enable full-disk encryption. Windows Pro devices can use BitLocker (Settings > Privacy & security > Device encryption, or search “BitLocker” in Start). macOS: System Settings > Privacy & Security > FileVault > Turn On. Linux: use the encryption option during installation or your distribution's disk utility. Encryption protects your files if the computer is stolen. Save the recovery key somewhere offline — losing it can mean losing access to your data.
  6. Keep the system and apps updated. Turn on automatic updates: Windows Update in Settings, Software Update on macOS, and your package manager on Linux. Updates close known security holes that attackers rely on.
  7. Enable the built-in firewall. Windows: Settings > Privacy & security > Windows Security > Firewall & network protection, and turn it on for all network types. macOS: System Settings > Network > Firewall. Leave the default rules unless you have a specific reason to change them.
  8. Secure your router and Wi-Fi. Log in to your router's admin page (the address is usually printed on the router), change the default admin password, and use WPA2 or WPA3 encryption with a strong Wi-Fi password. Disable remote administration if you do not use it. This stops strangers on your network from reaching your computer.
  9. Turn off file and printer sharing you do not need. On Windows, open Settings > Network & internet > Advanced network settings > Advanced sharing settings and turn off sharing on public networks. On macOS, check System Settings > General > Sharing and disable services you do not use.
  10. Review who can sign in. Remove unused accounts and guest accounts. On Windows: Settings > Accounts > Other users. On macOS: System Settings > Users & Groups. Also check for unknown accounts — an unexpected account is a red flag.
  11. Enable two-factor authentication where offered. For your Microsoft or Apple account, and for your password manager, turn on two-factor authentication in the account's security settings. This means a stolen password alone is not enough to get in.
  12. Use a screen privacy filter and physical lock in shared spaces. A privacy filter narrows the viewing angle, and a cable lock or locked drawer prevents someone from walking off with the machine. Physical access defeats most software protections.

Common Mistakes

  • Using the same password for the computer and for online accounts — one breach then exposes everything.
  • Leaving the screen unlocked “just for a minute” in an office or café.
  • Disabling the firewall or antivirus because a game or app asked — fix the app's permissions instead.
  • Skipping the recovery key for disk encryption, then losing access after a hardware change.
  • Leaving the router's default admin password unchanged, which lets anyone on the network reconfigure it.
  • Using an administrator account for everyday browsing, which gives any malware full control.

Tips

  • Set the screen lock timeout to 5 minutes or less; shorter is better on laptops you carry.
  • Keep the recovery key for encryption on paper in a safe place, not only on the encrypted drive.
  • Check your sign-in activity occasionally in your Microsoft or Apple account security page for unfamiliar devices.
  • Use a password manager so each account has a unique, long password you do not have to memorize.
  • Before selling or giving away a computer, sign out of accounts and wipe the drive — deleting files alone is not enough.

Troubleshooting

  • You are locked out of your own account. Use the password reset option on the sign-in screen if you set recovery questions or a linked Microsoft/Apple account. If not, an administrator account on the same machine can reset a standard user's password (Windows) or use Recovery Mode (macOS). Data may be at risk — back up first when possible.
  • BitLocker or FileVault asks for a recovery key. Enter the key you saved. If you stored it in your Microsoft or Apple account, sign in on another device to retrieve it. Without the key, the drive cannot be unlocked.
  • You cannot turn on the firewall. Check whether another security program has taken over firewall duties; only one firewall should be active. Restart and try again.
  • Updates fail repeatedly. Restart, free some disk space, and check that the device is connected to the internet. If it still fails, run the built-in update troubleshooter (Windows) or try again later.
  • You suspect someone else has accessed the machine. Change your password from a different, trusted device, sign out of all sessions, review recent files and installed programs, and run a full antivirus scan. If the device may be compromised, disconnect it from the network until you have checked it.

Frequently Asked Questions

Is a PIN less secure than a password on Windows?

A PIN is tied to that specific device and is protected by hardware-backed security on many machines, so it can be as safe or safer than a password for local sign-in. Use a longer PIN (six digits or more) and keep it private.

Do I need antivirus as well as a firewall?

They do different jobs: the firewall blocks unwanted network connections, while antivirus scans for malicious software. Windows and macOS include both by default; keep them on and updated.

Does disk encryption slow my computer down?

On modern hardware the performance impact is usually small and often unnoticeable in everyday use. The protection against data theft is worth it, especially for laptops.

What should I do if I forget my encryption recovery key?

Without the key, the encrypted drive cannot be unlocked and the data is effectively lost. This is why you should store the key offline in a safe place before you need it.

Can someone access my computer through my Wi-Fi?

If your Wi-Fi uses a strong password and WPA2/WPA3, and file sharing is off on public networks, the risk is low. Changing the router's default admin password closes the most common route in.

Is it safe to use a guest account for visitors?

Yes — a standard or guest account with no administrator rights limits what a visitor can change or install. Create one only when needed and remove it afterward.