You can follow the steps below to turn off the Windows Defender virus service, which provides real-time protection for Windows.

First, download the required rar file from here .
The file you downloaded will have two registries. You will run the close writer.
Then reboot the computer.
Windows Defender will be turned off when your computer is turned on. You can run the other registry to reverse the process.