Skip to content

sivom/ClamAVContextMenuScanReportWin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

ClamAVContextMenuScanReportWin

Windows ClamAV Context menu Scan and Generate HTML report with Virus references

  • image

ClamAV Right-Click Scan Tool for Windows

This tool integrates ClamAV with Windows Explorer's right-click context menu, allowing you to scan any file or folder and generate a professional-looking HTML report with VirusTotal links and signature info. You can use CLAMAV like any other commericial anticirus scanning tool.


📦 Prerequisites

  • ClamAV for Windows

    • Install to: C:\Program Files\ClamAV
    • Download: https://www.clamav.net/downloads NOTE: If you install in a different location make path changes accordingly in the .reg file and in .ps1 file
  • Ensure the following files are present:

C:\Program Files\ClamAV\clamscan.exe
C:\Program Files\ClamAV\clamdscan.exe
C:\Program Files\ClamAV\freshclam.exe
C:\Program Files\ClamAV\clamd.conf
C:\Program Files\ClamAV\freshclam.conf
  • Update virus definitions using: "C:\Program Files\ClamAV\freshclam.exe"

📁 clamav_scan_tool Installation

  1. Extract the contents of clamav_scan_tool.zip to:
C:\Program Files\ClamAV
├── clamav_scan.bat
├── clamv_context_menu.reg
├── scan.ps1
└── assets
   ├── clean.png
   └── virus.png
   └── file.png
  • If you are not using standard installation
    • Make changes to path in the files clamav_context_menu.reg and scan.ps1 accordingly
  • Doubleclick on clamav_context_menu.reg file and install into registry in enabling the context menu
  • copy assets folder to Desktop Thats it you are ready to enjoy the ClamAV in windows like any other Antivirus program

🖱️ Enable Right-Click "Scan with ClamAV"

  1. Create or open a file named clamav_context_menu.reg with the following contents:

🚀 How to Use

Right-click any file or folder

Click "Scan with ClamAV"

A PowerShell window opens, showing scan progress

After scan completes:

    An HTML report will be saved on your Desktop

    If threats are found, the report includes:

        File path

        Signature name

        SHA256 hash

        VirusTotal and ClamAV signature links

❓ Troubleshooting

No scan results?

    Ensure ClamAV is installed and virus definitions are up to date.

HTML report missing?

    Check if PowerShell has permission to write to your Desktop.

    Review console for errors.

Slow scans?

    Avoid clamscan.exe; prefer clamdscan.exe.

    Avoid scanning entire C:\ drive unless necessary.

** Sample output **

  • image
  • image

you can donate if you like my work

  • PayPal-qrcode

About

Windows ClamAV Context menu Scan and Generate HTML report with Virus references

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published