Health Checks

How do I do a PC health check?

How to check a Windows or Linux PC's health: updates, disk space, drive errors, memory, temperatures, startup programs, security scans and logs.

On this page
  1. Start with updates
  2. Check free disk space
  3. Check the drives
  4. Check memory
  5. Check the processor and temperatures
  6. Review startup programs
  7. Check the logs for errors
  8. Check security
  9. Check system files on Windows
  10. Check battery health on a laptop
  11. When the check finds a fault

A PC health check is a quick review of how one computer is running. You look at whether its software is current, whether its drives and memory are in good shape, whether it starts up cleanly, and whether it has any obvious security problems. Almost all of it can be done with tools that come with Windows or Linux.

Some checks need administrator rights. On Windows, open Command Prompt or PowerShell as administrator. On Linux, use sudo where a command shows it.

Start with updates

Pending updates are the first thing to clear, because many problems are fixed in them.

  • Windows: open Settings, go to Windows Update, and install anything pending. Restart when asked.
  • Debian or Ubuntu: apt list --upgradable lists packages with updates waiting. It only lists them. Install them with sudo apt upgrade when you are ready.
  • Fedora: dnf check-update lists available updates.

Check free disk space

Low free space can slow a PC down and cause updates to fail. On Windows, Settings > System > Storage shows how full each drive is. On Linux, df -h lists the space on each mounted file system. Leaving a reasonable margin free helps updates and temporary files work properly.

Check the drives

Drive problems are worth catching early, and a backup should come before any repair.

  • Windows: in an administrator Command Prompt, run chkdsk C:, replacing C: with the drive you want to check. Without extra options, it only reads and reports. It does not change the disk.
  • Linux: if smartmontools is installed, sudo smartctl -H /dev/sda reports the drive’s overall health status. Use your drive’s own device name.

A healthy report is reassuring, but it is not a guarantee. If a drive reports errors, makes clicking or grinding noises, or the system freezes while reading files, back up your data now and get expert help before running any repair.

Check memory

  • Windows: search for Windows Memory Diagnostic. It tests memory on the next restart, and the test takes a while.
  • Linux: free -h shows total and used memory. Heavy use of swap space can point to a shortage of memory.

Check the processor and temperatures

Task Manager shows processor and memory use on Windows. Temperature readings are often only available through a vendor’s utility or, on Linux, the lm-sensors package with its sensors command. A computer that runs hot at idle, or whose fans are loud and constant when nothing is running, is worth a closer look.

Review startup programs

Too many programs starting with the computer can slow boot and use up memory. On Windows, the Startup apps list in Task Manager shows what runs at sign-in. Disable only the entries you can identify. On Linux, systemctl list-unit-files --state=enabled lists the services that start at boot.

Check the logs for errors

Logs show repeated failures that you might otherwise miss.

  • Linux: journalctl -p err -b shows error-level messages from the current boot.
  • Windows: open Event Viewer and look at the System log under Windows Logs for errors. Repeated errors from the same source are worth noting.

Check security

  • Windows: open Windows Security and run a quick scan. Confirm that real-time protection is on.
  • Linux: if you use a firewall, check that it is enabled. On Ubuntu, sudo ufw status shows its state.
  • Check that your everyday account is not an administrator unless you need it to be.

Check system files on Windows

If Windows is behaving oddly, sfc /scannow in an administrator Command Prompt checks protected system files and repairs them where it can. It can take a while, so leave it to finish without interruptions.

Check battery health on a laptop

On Windows, run powercfg /batteryreport in an administrator Command Prompt. The command writes an HTML report, and its output shows where the file was saved. The report compares the battery’s original design capacity with its current full-charge capacity.

When the check finds a fault

If the check turns up a failing drive, repeated crashes or unexplained slowdowns, do not start repairs straight away. Back up your data first. If a fault keeps coming back, it is worth asking a repair shop to take a look.

Microsoft’s PC Health Check app is a separate program, not something this check looks at. If you are asking can I delete pchealthcheck, that is a different question with its own short answer.

The complete guide to health checks

How to Run a Computer Network System Health Check
Read the guide

Keep exploring

Guides from other topics

All topics →