Is your PC acting strangely? Pop-ups you never asked for, a browser that keeps changing, programs you do not remember installing. These can be signs of a virus or other malware. The good news is that in many cases you can clean your PC yourself, without wiping everything and reinstalling Windows. This guide shows you how, and also explains when formatting really is the better choice.
Your PC may be infected if you notice:
- It has become very slow, or the fan is running loudly for no reason
- Pop-ups or ads appear even when your browser is closed
- Your browser homepage or search engine changed on its own
- Programs or toolbars appear that you did not install
- Your antivirus is turned off and will not turn back on
- Files are missing, renamed, or locked, or a message demands payment
Some malware sends your information out or downloads more harmful files. Turn off Wi-Fi or unplug the network cable to stop this while you work.
If you have important files (documents, photos, school or work files), copy them to an external drive or flash drive. Copy only your own files and not programs.
Safe Mode starts Windows with only the basics, which makes it harder for malware to run and easier for you to remove it.
- Open Settings (press Windows + I)
- Go to System then Recovery (on Windows 10: Update & Security then Recovery)
- Under Advanced startup, click Restart now
- Choose Troubleshoot, then Advanced options, then Startup Settings, then Restart
- When the list appears, press 5 for Safe Mode with Networking
Windows already includes a good free antivirus called Windows Security. Use it to run a deep scan:
- Click Start, type Windows Security and open it
- Click Virus & threat protection
- Click Scan options
- Select Full scan, then click Scan now
A full scan can take a long time, so let it finish. When it is done, follow the prompts to remove or quarantine anything it finds.
No single scanner catches everything. After Windows Security, run a free scan with a trusted second tool, such as the free version of Malwarebytes.
- Download it only from the official website of the program
- Run a full scan and remove what it finds
- Restart your PC when it asks you to
- Open Settings, then Apps, then Installed apps (on Windows 10: Apps & features)
- Sort the list by install date to see the newest programs first
- Uninstall anything you do not recognise or did not mean to install
Malware often hides in the browser. In Chrome, Edge or Firefox:
- Open the Extensions page and remove any you do not recognise
- Check the homepage and search engine settings and set them back to what you want
- In Site settings, look at Notifications and remove spammy sites that are allowed to send alerts
- If problems continue, use the browser's Reset settings option
Press Ctrl + Shift + Esc to open Task Manager, click the Startup apps tab, and disable programs you do not recognise. Look up any unfamiliar names before you disable them.
If malware was on your PC, it may have recorded what you typed. Using a clean device (a different phone or computer), change the passwords for your email, banking, social media and other important accounts. Turn on two-step verification wherever it is offered.
Cleaning works in most cases, but a clean installation of Windows is the safest choice when:
- Problems keep coming back after several scans and cleanups
- Important Windows files are damaged, or your PC will not start properly
- Ransomware has locked your files
- You simply do not trust the PC any more, for example after a serious infection
- Keep Windows and your apps updated
- Leave Windows Security (or another antivirus) turned on
- Avoid cracked or pirated software, which is a common way viruses spread
- Do not open attachments or click links from people or emails you do not trust
- Download programs only from the official website or the Microsoft Store
- Back up your important files regularly
Final Thoughts
A virus is stressful, but it is not always the end of your PC. A full scan, a second opinion, and a little cleanup solve many problems, and good habits make future infections much less likely.
From my experience as a computer technician, some infections are harder to remove completely, and in those cases a clean Windows installation is the most reliable fix. Whatever you decide, back up your files first and change your important passwords.