How to Use Windows Defender to Scan a Folder for Malware
Lawrence Abrams
- September 18, 2019
- Read 63,098 times
Windows 10 comes with a free built-in antivirus program called Windows Defender that offers real-time protection and the ability to performs scans of your computer.
It also allows you to perform a Custom scan that lets you specify the specific folder or drive you would like to scan for malware. As you only need to scan that one folder, the scan time will be much quicker than scanning an entire machine.
Below we have provided two methods that you can use to perform a custom scan of a particular folder.
Method 1: Right-click on a folder and scan it
If you wish to scan a single folder, and its subfolders, the easiest method is to just right-click on the folder and select "Scan with Windows Defender" as show below.
Once you select Scan with Windows Defender..., Windows Defender will launch and scan all the files in the folder and its sunfolders.
If it finds malware, it will alert you as shown below.
You should now click on the Start actions button to quarantine the file and make it inaccessible.
When done, Windows Security will give you a summary as shown below.
You can now close Windows Security.
Method 2: Perform a Custom scan using Windows Defender
The other method is to use the Windows Defender interface to perform a Custom scan of a selected folder. To do this, please follow these steps:
- From the Start Menu, search for Windows Security and click on the result when it appears as shown below.
- When Windows Security opens, click on the Virus & threat protection option.
- When the Virus & threat protection screen opens, click on the Scan options link as shown below.
- When the Scan options screen opens, scroll down and select Custom scan. Then click on Scan now to start a Custom scan.
- Windows Defender will now ask you what folder you wish to scan. In our example, we selected the C: drive to scan the entire C: drive, and only that drive, and all of its subfolders.
- Windows Defender will now scan the enter C: drive for malware. While running, it will provide a running count of files that have been scanned and the approximate amount of time left until its finished.
- When done, it will list the amount of infections that have been detected. To clean the infections, click on the Start actions button.
After reviewing the summary, you can close the window.