

Search for Command Prompt, right-click the top result, and select the Run as administrator option.To scan the boot sector for malware with Microsoft Defender, use these steps: However, Microsoft Defender Antivirus includes an option to check and remove malicious code that may be residing in the boot sector. Sometimes, viruses can also attack the boot sector causing unwanted behaviors, which can be challenging to troubleshoot and fix. On Windows 10, the boot sector is an essential section in the installation drive that stores the instructions on how to start the boot process. 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)
