
Quote: Originally Posted by
Brink
Hello Nalbe,
Thank you, but it would be this instead.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender]
ON
"DisableAntiSpyware"=dword:00000000
OFF
"DisableAntiSpyware"=dword:00000001
You have to set registry permissions for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender" on Windows Vista and 7. Otherwise, you get registry import error:
Code:
[Window Title]
Registry Editor
[Content]
Cannot import .\Disable Windows Defender.reg: Not all data was successfully written to the registry. Some keys are open by the system or other processes.
[OK]
You must follow these steps:
- Right click on key > Permissions...> Advanced > Owner.
- Under "Change owner to:", select "Administrators" > Enable "Replace owner on subcontainers and objects" > OK.
- Under "Group or user names:", select "Administrators" > Under "Allow", enable "Full Control" > OK.
Otherwise, setting permissions will show this error:
Code:
---------------------------
Windows Security
---------------------------
Unable to save permission changes on Windows Defender.
Access is denied.
---------------------------
OK
---------------------------