tag:help.appveyor.com,2012-11-13:/discussions/questions/47373-virus-scanningAppVeyor: Discussion 2020-06-02T03:08:12Ztag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:10:42Z2020-03-24T02:10:42ZVirus scanning<div><p>I'm not sure I understand your question - could you please elaborate?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:18:51Z2020-03-24T02:18:51ZVirus scanning<div><p>Hi Feodor,</p>
<p>I'm trying to find out wherever it is possible to run an antivirus on the bit produced with the CI using AppVeyor. It's a requirement for our process to scan the files prior to packaging those and deploying them. I was wondering if it was possible with AppVeyor is some way or not.</p>
<p>Thank you.</p></div>Sean Feldmantag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:23:35Z2020-03-24T02:23:35ZVirus scanning<div><p>Hi Sean,</p>
<p>I think that is possible to Windows Defender command line: <a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/command-line-arguments-windows-defender-antivirus">https://docs.microsoft.com/en-us/windows/security/threat-protection...</a> It should be disabled by default on our images, but you can <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">hop into build VM via RDP</a> and play around with it.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:34:05Z2020-03-24T02:34:05ZVirus scanning<div><p>Thank you Feodor,</p>
<p>Correct me if I'm wrong, but this would be a manual operation. What I'd like to see is a way to run the scan on every build. I.e. no manual intervention. Would that be possible?</p></div>Sean Feldmantag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:38:15Z2020-03-24T02:38:15ZVirus scanning<div><p>I mean connect via RDP to figure out the correct commands to start anti-virus service and then to scan specific folder/file. That could be much faster rather then run-fail with starting a new build. Unfortunately, we don't have a ready solution for your problem yet.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/481776052020-03-24T02:43:16Z2020-03-24T02:43:16ZVirus scanning<div><p>Thank you, Feodor.</p></div>Sean Feldmantag:help.appveyor.com,2012-11-13:Comment/481776052020-04-01T13:29:09Z2020-04-01T13:29:09ZVirus scanning<div><p>feldman.sean, any chance you figured out the right commands to enable Windows Defender?</p></div>Nishant George Agrwaltag:help.appveyor.com,2012-11-13:Comment/481776052020-04-01T14:58:04Z2020-04-01T14:58:04ZVirus scanning<div><p>@Nishant, I did not proceed with that.</p></div>Sean Feldman