-1

我正在使用命令行执行 Windows Defender,我想更改日志文件的路径,但是在执行此命令时不起作用。"c:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 3 -File c:\Downloads\activite_202002241057.sql -GetFiles c:\Downloads

我得到以下结果: CmdTool:失败,hr = 0x800106BA。检查 C:\Users\test\AppData\Local\Temp\MpCmdRun.log 了解更多信息

谢谢!

4

1 回答 1

0

当 Windows 无法初始化 Windows Defender 应用程序时,会出现此 HResult 0x800106ba。

有一个注册几个 dll 的修复程序。这是一个powershell代码。

@('wuapi.dll', 'wuaueng.dll', 'wucltui.dll', 'wups.dll', 'wuweb.dll', 'atl.dll', 'Softpub.dll', 'Wintrust.dll', 'Initpki.dll') | ForEach {
  regsvr32.exe $_
}

完成后,禁用计算机上的所有其他防病毒应用程序。

于 2020-04-01T16:09:18.253 回答