The editor has tried many methods and finally summarized three more popular ones (which are effective in personal testing)
Method 1: win+r to bring up the run box
Input: gpedit.msc
Click OK to enter the local policy editor; then find "Administrative Templates---Microsoft Defender Antivirus---Real-time Protection---Turn off real-time protection" and then double-click it and click "Enable--Apply--OK". Then just restart the computer
If the first method doesn't work, you can try the second method
win+r brings up the run command box
Enter: regedit to open the registry
Enter in the box below: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center\Feature; then right-click the mouse in the blank space on the right column, create a new DWORD (32) value, and rename it to "DisableAvCheck"
Then double-click to enter, the numerical data is "1", and then confirm
Then enter "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" in the search box. Create a new DWORD (32) value in the blank space on the right, and rename it to DisableAntiSpyware, then the value is 1; finally restart the computer.
Method three:
The last method is the simplest one. After the editor found countless methods, I tried this method to completely turn it off. The method is as shown in the figure.
When anti-tampering is turned off, real-time protection is automatically turned off.