How to perform boot sector malware scan on Microsoft Defender If you are using the '-Timeout' option, then if the scan is taking a long time, it will timeout once the time you specified has been reached. Once you complete the steps, the anti-malware solution will only scan the location you specified. The option is also available for quick and full scan commands. (Optional) Type the following command to perform a custom scan with timeout time and press Enter: MpCmdRun -Scan -ScanType 3 -File PATH\TO\FOLDER-FILES -Timeout 1In the command, make sure to specify the path to the folder you want to scan.For example, this command scans the 'Downloads' folder and sets the timeout to one day: MpCmdRun -Scan -ScanType 3 -File C:\Users\username\Downloads -Timeout 1 Quick note: You can always change the number for the timeout option to specify another number of days.Source: Windows Central (Image credit: Source: Windows Central)