为了禁用Windows Defender,我在Windows10中使用PowerShell (以管理员身份)运行以下命令:Set-MpPreference -DisableRealtimeMonitoring $true
但实时保护并未被禁用。
有人知道如何通过编程禁用实时防护吗?
发布于 2020-02-19 18:28:20
篡改保护(启用时)阻止"Set-MpPreference -DisableRealtimeMonitoring $true“执行任何操作。
发布于 2020-02-03 21:50:00
虽然在我的Windows10机器上,Set-MpPreference -DisableRealtimeMonitoring $true可以正常工作,但您可以尝试直接在注册表中操作它:
# Windows Defender DisableRealtimeMonitoring
$regpath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender"
if (!(Test-Path $regpath -PathType Container)) {
$null = New-Item -Path $regpath -ItemType Container -Force
}
Set-ItemProperty -Path $regpath -Name "DisableRealtimeMonitoring" -Value 1 -Type DWord -Force
# restart the service
Restart-Service -Name WinDefend -Confirm:$false -Force要将其重新打开,请删除"DisableRealtimeMonitoring“条目或将其值设置为DWORD 0
发布于 2021-06-01 22:23:00
我用的是按键
ctrl + esc键入字符串"virus protect“enter tab x 4 enter blahblah =按下其余的键关闭defender和防火墙以及诸如卸载avast和avg lol之类的所有错误
https://stackoverflow.com/questions/60035145
复制相似问题