Here is a step-by-step process on how you can use Microsoft safety scanner to scan for the infected files using the Command Prompt.
Step 1: Open Command Prompt as Administrator on your computer. For this, open Start and search for Command Prompt. In the search results, right-click on the app and then select “Run as Administrator.”
Step 2: In the Command Prompt, enter the following command:
In the command, update the path with the location containing the “MSERT.exe” file.
Step 3: Now, type the following command to start a forced scan and press Enter:
- Type the following command to do a full scan and automatically clean infected files:
- Type the following command to run a scan quietly:
- Type the following command to execute a full scan quietly:
msert /f /q
After these steps are completed, the tool will perform a scan on the computer to detect and delete any malware it may find.