W4RH4WK / Debloat-Windows-10

A Collection of Scripts Which Disable / Remove Windows 10 Features and Apps
Other
6.03k stars 851 forks source link

disable-windows-defender.ps1 not working properly but ... #244

Closed chneau closed 4 years ago

chneau commented 4 years ago

Hello,

disable-windows-defender.ps1 didn't work for me on this version of windows:

I'm not a specialist of all this windows power shell commands, but I have found on this website https://theitbros.com/managing-windows-defender-using-powershell/ this command:

New-ItemProperty -Path “HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender” -Name DisableAntiSpyware -Value 1 -PropertyType DWORD -Force

After a reboot it just works:

gxgl commented 4 years ago

Yes! The thing that should be done before running the script is to go to the security settings and disable the Tamper protection.

It will work after that.

chneau commented 4 years ago

Ohhhh... alright I might have forgot to do that...

Thank you :-)