Computer Hope

Microsoft => Microsoft Windows => Windows 10 and 11 => Topic started by: MIRKOSOFT on March 25, 2020, 05:52:40 AM

Title: How scan files and folders for viruses by Windows Defender from command line?
Post by: MIRKOSOFT on March 25, 2020, 05:52:40 AM
Hello!

Before including Windows Defender anti-virus into Windows I was using other AV software which not all of tested in time supported scan from command line, even free alternatives never supported it.

Since is Windows has built-in Defender I want to ask if is it possible?
And what a command or batch to create for command line scan?

Thank you for help, reply or comments.
Miro
Title: Re: How scan files and folders for viruses by Windows Defender from command line?
Post by: patio on March 25, 2020, 07:25:14 AM
See Here... (https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/command-line-arguments-windows-defender-antivirus)
Title: Re: How scan files and folders for viruses by Windows Defender from command line?
Post by: gorge441 on March 25, 2020, 08:32:48 AM
Please check this, I guess it might help to solve your problem
https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/command-line-arguments-windows-defender-antivirus