Windows Security is good to have and we don't recommend disabling it if everything on your PC works well. But sometimes Windows users aren't left with any choice but to eliminate programs that take up system resources and make their PC painfully slow. Windows Defender on Windows 11 can be disabled using three ways — Using Group Policy, Windows 11 Settings, and Registry.
There are two ways to go about disabling Windows Defender / Windows Security on Windows 10 — Using Registry Hacks or Editing the Group Policy. There are other methods too but the aforementioned methods work best in completely disabling Windows Defender on Windows 10.