Tag: 窗口防御

在Windows Docker容器Windows Server 2016中运行时的Windows Defender /更新问题

我创build了一个ASP.NET Web API,将文件作为stream内容检索,保存到磁盘并使用Windows Defender(MpCmdRun.exe)扫描文件。 在我的电脑上本地运行API时,一切都很好。 不过,我想在云端(Azure)托pipe这个API,因为我的其他应用程序在那里。 我决定把这个Web API放在Docker容器中,然后发布到Azure。 但是,在Docker容器中运行Windows Defender时,出现以下错误: 运行: C:\Program Files\Windows Defender>MpCmdRun.exe -Scan -ScanType 3 -File ThirdPartyNotices.txt 返回: Scan starting… CmdTool: Failed with hr = 0x8050800C. Check C:\Users\ContainerAdministrator\AppData\Local\Temp\MpCmdRun.log for more information 日志文件没有提供更多的信息。 MpCmdRun: Command Line: MpCmdRun.exe -Scan -ScanType 3 -File ThirdPartyNotices.txt Start Time: ?Sun ?Dec ?03 ?2017 23:53:16 Starting RunCommandScan. INFO: ScheduleJob is […]