To remove a virus from a Windows PC, disconnect it from the internet, restart in Safe Mode with Networking, run a full scan with Microsoft Defender (including the Microsoft Defender Offline scan), remove anything it finds, then update Windows and change your important passwords from a clean device. If the infection survives, reset Windows or reinstall it after backing up your documents.
This guide shows how to remove virus from pc systems safely, step by step, and how to tell when a full reinstall is the better choice.
Slowness, pop-ups and crashes do not always mean malware. Failing hardware, a full disk, too many startup programs or a pending update can cause the same symptoms. Strong signs of infection include browser home pages changing by themselves, unknown programs, security software that is switched off and cannot be turned on, files with new extensions, a ransom message, or accounts sending messages you did not write.
Open Task Manager (Ctrl + Shift + Esc) and look at the Processes and Startup tabs for unfamiliar high-use items. Do not end processes at random, because some are needed by Windows.
Safe Mode loads only the basic parts of Windows, so many threats cannot start.
Use Safe Mode with Networking only if you need to download updates for the scan. Reconnect to the internet only for that purpose.
Windows includes Microsoft Defender Antivirus. It is a capable scanner and is enough for most home users.
Some malware hides while Windows is running. In Scan options choose Microsoft Defender Offline scan and click Scan now. The PC restarts, scans before Windows fully loads and then returns to the desktop. This catches rootkits and threats that resist a normal scan.
If problems continue, run a well-known on-demand scanner from a reputable security vendor as a second opinion. Download it only from the vendor's official site, ideally from another clean computer onto a USB drive. Never download a so-called virus remover from a pop-up advert, as many are the malware itself.
A clean reinstall is the only way to be certain malware is gone. Consider it when:
To do it, open Settings, System, Recovery and choose Reset this PC. Pick Remove everything for the safest result, or Keep my files if you want to retain documents, knowing that a reset is more thorough when everything is removed. Reinstall programs only from official sources, and restore files from a backup after scanning them.
For most home users, Microsoft Defender, which is built in and updated through Windows Update, gives solid baseline protection. Extra products can add features, but safe habits matter more.
Often yes, for common adware and trojans. Reinstalling is better for ransomware, rootkits and repeat infections.
Documents and photos are usually safe once scanned. Executable files and scripts are not worth keeping, and you should reinstall programs from official sources.
It may be hiding in a startup entry, a browser extension, an infected backup or USB drive, or a rootkit. An offline scan or a reset normally ends it.
Disconnect the PC, boot into Safe Mode, run a full Microsoft Defender scan and an offline scan, remove unknown programs and extensions, update everything and change your passwords from a clean device. If the problem returns, reset Windows with Remove everything and restore only scanned data.