Back to Tech Guides   /   How to Remove a Virus From Your PC (Without Formatting)

How to Remove a Virus From Your PC (Without Formatting)

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.

What is malware? "Malware" is a general word for harmful software, including viruses, spyware, adware and ransomware. In this guide, "virus" and "malware" mean the same thing.

1 Know the Warning Signs

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
⚠ Fake virus alerts: a loud pop-up or web page saying "Your PC is infected! Call this number" or "Download this cleaner now" is a scam. Do not call the number or download anything. Close the browser and carry on with the steps below.

2 Disconnect From the Internet and Back Up

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.

Note: Scan that backup drive later, before you plug it into another computer, so you do not spread anything.

3 Restart in Safe Mode

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
Shortcut: You can also hold the Shift key while clicking Restart from the Start menu to reach the same menu.

4 Run a Full Scan With Windows Security

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.

Stubborn infections: in the same Scan options screen, choose Microsoft Defender Offline scan. Your PC restarts and scans before Windows fully loads, which helps catch malware that hides while Windows is running.

5 Get a Second Opinion

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
⚠ Careful with "free cleaner" downloads: many websites offer fake security tools that are malware themselves. If you do not recognise the name, do not install it.

6 Uninstall Suspicious Programs
  • 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
Note: If you are not sure what a program is, search its name online first. Do not remove drivers or Windows components you are unsure about.

7 Clean Up Your Browser

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

8 Check What Starts With Windows

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.


9 Change Your Passwords

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.

Note: Change your email password first, because email is often used to reset all your other accounts.

10 When Formatting Is the Better Option

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
⚠ Back up first: formatting removes your programs and can erase your personal files. Copy anything important to an external drive before you do it.
Need professional help? If you are not comfortable removing malware or reinstalling Windows, contact Lils Tech Hub at lilstechhub@gmail.com.

11 How to Stay Safe in Future
  • 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.

Need help? Not sure whether to clean or format? Contact Lils Tech Hub at lilstechhub@gmail.com for guidance or professional assistance.

Still having PC problems?

Get in touch with Lils Tech Hub for practical, hands-on guidance — online or in person.

Contact Us
IA
Isaac Amosu

Computer technician and founder of Lils Tech Hub. Writing practical, beginner-friendly guides based on real repair experience.