How to remove a virus from a Windows computer
Open the antivirus already protecting your PC from Start. If it shows an active threat, apply its recommended action. With Microsoft Defender, check for protection updates, run a Full scan and read the outcome in Protection history. If the same threat returns after a restart, check the new entry before running another scan.
By PC Cop Sources checked
Choose the right starting point
| What happened | Your first move |
|---|---|
| You downloaded a suspicious file and never opened it | Leave it closed. Scan that file or its folder with your antivirus. |
| You opened the file or your security app lists an active threat | Pause sensitive activity. Follow the antivirus action, then run a broader scan. |
| Files are becoming unreadable or a stranger is controlling the PC | Disconnect from the network, keep backups unplugged and contact trusted help from another device. |
Remove the threat and check what Windows did
Open your actual security provider
Search Start for Windows Security. Its Settings page lists security providers. If another antivirus is active, use that product’s update, scan and history screens. A web advertisement offering a “cleaner” is not a recovery step.
Sources · Microsoft Support [1] · UK National Cyber Security Centre [2] · No More Ransom Project [3]
Resolve the active detection
With Defender, open Virus & threat protection, then Protection history. Expand the newest entry and review its status and affected item. If it asks for a decision, use the recommended quarantine or removal action. Leave quarantined items isolated.
Source · Microsoft Support [4]
Update and complete a Full scan
On a PC you can safely keep online, check for updates under Virus & threat protection, Protection updates. Return to Scan options, select Full scan and let it finish. Avoid account sign-ins or payments on the suspect PC while investigating.
Sources · Microsoft Support [5] · UK National Cyber Security Centre [2] · UK National Cyber Security Centre [6]
If the same detection returns, compare the paths
Record the time and affected location of each fresh event. A newly downloaded installer, a restored copy or a mail attachment may reintroduce it. For persistent malware with Defender active, save your work and choose Microsoft Defender Offline scan from Scan options. Windows restarts for this scan.
Sources · Microsoft Support [7] · Microsoft Support [5]
Look for a completed action
After restarting, open your antivirus history again. Check for a completed action on the original item and look for later entries that still require attention. If a new active threat keeps returning or protection keeps turning off, get help from a trusted technician or your organization’s IT team.
Common questions
- Do I need to download another antivirus first?
- You can start with the provider already registered in Windows Security. That gives you a known place to check the detection, scan and see the outcome.
- Does removing malware undo a stolen password?
- A scan addresses files on the PC. If you entered credentials while the computer was compromised, use a trusted device to change them, review other sessions and sign them out.
Sources
- Microsoft Support · Find your active security providers
- UK National Cyber Security Centre · Recover a device affected by malware
- No More Ransom Project · First steps after a ransomware infection
- Microsoft Support · Read a Protection history entry
- Microsoft Support · Scan options in Windows Security
- UK National Cyber Security Centre · Recover a hacked account and check sessions
- Microsoft Support · Troubleshoot malware that returns