Uninstall-WindowsFeature -Name Windows-Defender
cd "C:\Program Files\ClamAV\"
copy .\conf_examples\freshclam.conf.sample .\freshclam.conf
copy .\conf_examples\clamd.conf.sample .\clamd.conf
write.exe .\freshclam.conf
write.exe .\clamd.conf
Updating the Antivirus Library
.\freshclam.exe
Install Clamd service
.\clamd.exe --install
Configure clamd service
Set-Service -Name clamd -StartupType Automatic
Start-Service -Name clamd
Get-Service -Name clamd
Some basic scans
.\clamdscan.exe C:\Uses
5/5 - (1 vote)