It is not so easy to reliably and totally disable the Windows Defender. There is a PowerShell script that uninstalls Windows Defender, but you may not be able later to install it back. This script requires two reboots.
Just download the Debloat-Windows-10 and follow these steps, provided by the author:
Unpack the archive;
Enable execution of PowerShell scripts:
PS> Set-ExecutionPolicy Unrestricted
Unblock PowerShell scripts and modules within this directory:
PS > ls -Recurse *.ps1 | Unblock-File PS > ls -Recurse *.psm1 | Unblock-File
Run
scripts\disable-windows-defender.ps1
Reboot the computer (either usual way or via the
PS > Restart-Computer
)Run
scripts\disable-windows-defender.ps1
one more time.Reboot the computer again.
This is not the easiest way, but very reliable and resilient.
There are also the scripts to remove unnecessary programs like BingFinance, Skype, OneDrive, etc - if you don't need them.
The archive does also contain lot of scripts that you may find useful.
Please be aware that these scripts irreversible delete files and can delete vital functions of Windows. For example, they may totally disable the Start menu!
If the Start Menu eventually stopped opening by left mouse button, restart the computer. If it still doesn't open after restart,Don't run the following PowerShell scriptdisable-ShellExperienceHost.bat
from the Administrator mode:
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
this package, although it will link some application that you might not want tootherwise the start menuStart Menu will stop opening.