We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that in the script ServiceKeepAlive is set to 1. This is wrong. The value must be set to 0 to properly disable Windows Defender.
https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDefender::ServiceKeepAlive
:: ---------------------------------------------------------- :: --------Disable always running antimalware service-------- :: ---------------------------------------------------------- echo --- Disable always running antimalware service PowerShell -ExecutionPolicy Unrestricted -Command "$data = '1'; reg add 'HKLM\Software\Policies\Microsoft\Windows Defender' /v 'ServiceKeepAlive' /t 'REG_DWORD' /d "^""$data"^"" /f" :: ----------------------------------------------------------
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I noticed that in the script ServiceKeepAlive is set to 1. This is wrong. The value must be set to 0 to properly disable Windows Defender.
https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDefender::ServiceKeepAlive
How can the bug be recreated?
:: ----------------------------------------------------------
:: --------Disable always running antimalware service--------
:: ----------------------------------------------------------
echo --- Disable always running antimalware service
PowerShell -ExecutionPolicy Unrestricted -Command "$data = '1'; reg add 'HKLM\Software\Policies\Microsoft\Windows Defender' /v 'ServiceKeepAlive' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------
Operating system
No response
Script file
No response
Screenshots
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: