Updates fix security holes and bugs. Most infections use problems that an update already fixed.
Install updates
- Save your work and plug in a laptop charger.
- Open Settings → Windows Update and click Check for updates.
- Click Download and install or Restart now when asked. Do not switch the computer off while it says "Working on updates".
Good habits
- Leave automatic updates on.
- Set active hours (in Windows Update → Advanced options) so restarts do not happen while you work.
- Restart once a week even if Windows does not ask.
- Keep at least 10 GB of free disk space.
If an update fails
- Restart and try again. Many failures are one-time.
- Check the free disk space (see "How to free up disk space on Windows").
- In Settings → System → Troubleshoot → Other troubleshooters, run Windows Update.
- Write down the error code (for example
0x800f0831) and open a ticket.
Other software
Browsers, Office, PDF readers and your phone also need updates. Turn on automatic updates there too.