Set-ExecutionPolicy Bypass -scope Process -Force;Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False
Stop-Service WinDefend
Set-Service WinDefend -StartupType Disabled
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableAntiSpyware" -Value 1
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableRoutinelyTakingAction" -Value 1
Stop-Service : Service 'Windows Defender Antivirus Service (WinDefend)' cannot be stopped due to the following error:Stop-Service WinDefend Set-Service WinDefend -StartupType Disabled Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableAntiSpyware" -Value 1 Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows Defender" -Name "DisableRoutinelyTakingAction" -Value 1
Stop-Service : Service 'Windows Defender Antivirus Service (WinDefend)' cannot be stopped due to the following error:
Cannot open WinDefend service on computer '.'.
Not Working![]()
Debloat-Windows-10/scripts/disable-windows-defender.ps1 at master · W4RH4WK/Debloat-Windows-10
A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps - W4RH4WK/Debloat-Windows-10github.com