The specific tutorials are as follows:
1, Win+r, "Run", input regedit, enter
2, open Registry Editor, navigate to the "Hkey_classes_rootfoldershell" path, right click on the shell, select "New-Item", Item: "Windowsdefender".
3, "Windowsdefender" item to the right, select "New-String Value", the new string value named "Icon"
4, double-click "Icon" string for editing, numerical%programfiles%windows DefenderEppManifest.dll
5. Create a new string value named "MUIVerb", which is "Use Windows Defender Scan"
6, on the "Windowsdefender" Item, right button "new-item", named "Command".
7, then the "Command" Item right double click edit "Default" string value, enter numeric Data "C:Program fileswindows DefenderMpCmdRun.exe"-scan-scantype 3-signatureupdate- File%1
8. Finally, close Registry Editor to take effect.
At this point, there is a "Use Windows Defender Scan" option in the right-click menu on a disk or any folder.
Of course, the above method only for scanning the drive or folder, temporarily unable to scan a single file or program.