On Windows 11, Microsoft Defender Antivirus is always running in the background to detect and remove virtually any kind of malware, such as viruses, ransomware, spyware, rootkits, and others. Also, the security feature can proactively protect the device against hackers and other threats. However, sometimes, you may still have to perform a full virus scan manually to make sure that nothing suspicious is infecting Windows 11.
If you notice that Windows 11 is responding sluggishly than usual or suspect a malware has infected the device, the built-in antivirus lets you perform at least three different types of scans, including quick, custom, and full via the Windows Security app, Command Prompt, and PowerShell.
In this guide, you will learn the steps to perform a complete virus scan using the built-in anti-malware solution on Windows 11.
- Run a full virus scan on Windows 11
- Run a full virus scan with Command Prompt
- Run a full virus scan with PowerShell
Run a full virus scan on Windows 11
To perform a full virus scan on Windows 11, use these steps:
Open Start on Windows 11.
Search for Windows Security and click the top result to open the app.
Click on Virus & threat protection.
Under the “Current threats” section, click on Scan options.
Select the Full scan option to check the entire system for viruses and any other type of malware.
Click the Scan now button.
Once you complete the steps, Microsoft Defender Antivirus will scan the computer for viruses and other types of malware. If anything is detected, the antivirus will remove (or quarantine) the threats automatically.
Run a full virus scan with Command Prompt
To run a Microsoft Defender Antivirus scan with commands, use these steps:
Search for Command Prompt, right-click the top result, and select the Run as administrator option.
Type the following command to locate the latest version of Microsoft Defender Antivirus installation and press Enter:
cd C:\ProgramData\Microsoft\Windows Defender\Platform\4*
Type the following command to run a full virus scan and press Enter:
mpcmdrun -scan -scantype 2
After you complete the steps, Microsoft Defender will scan, detect, and remove any malware on the computer. You will notice the “Start scanning” messages as you execute the command. Once the scan is complete, the “Scan finished” message will return on the screen.
Run a full virus scan with PowerShell
To start a full virus scan with PowerShell, use these steps:
Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to start a full malware scan and press Enter:
start-mpscan -scantype fullscan
Once you complete the steps, the antivirus will perform a full scan of your Windows 11 computer to remove any malware.