WHS ClamAV Add-In Walkthrough

The availability of Anti-Virus products for Windows Home Server has been dominated since soon after the launch by Avast, with the only other fully integrated product coming from F-Secure. Manufacturers like HP have had a bundling deal with the likes of McAfee but this has not been available to the Home OEM Builder. Recent changes with the packaging of the Avast product has also resulted in ‘rumblings of dissatisfaction’ in the forums.

As WHS is a Server-class product, many of the AV options used in the home, particularly the increasingly good free products were not likely to make their way onto WHS. Some may argue that AV is not needed on the server if all the PC’s connecting to it are fully protected. However, there has been a steady move to have active elements running on the server, many of which result in internet access, whether they be torrent downloads, DVD & CD ripping (with access to cover artwork from various web sites) or even serving files out to family and friends via the web site. All these are potential ways on for a ‘nasty piece of work’.

ClamWin has been a popular free, open source AV product for many years. To quote the source website:-

ClamWin is a Free Antivirus program for Microsoft Windows 7 / Vista / XP / Me / 2000 / 98 and Windows Server 2008 and 2003.

ClamWin Free Antivirus comes with an easy installer and open source code. You may download and use it absolutely free of charge. It features:

  • High detection rates for viruses and spyware;
  • Scanning Scheduler;
  • Automatic downloads of regularly updated Virus Database.

Standalone virus scanner and right-click menu integration to Microsoft Windows Explorer;

  • Addin to Microsoft Outlook to remove virus-infected attachments automatically.

A number of We Got Served members had ventured to run ClamWin on WHS and discovered no ill effects. However, it had two major omissions for effective use:

    1. There was no ability to have program control through the Console without adapting something like the Advanced Admin Console Add-In.
    2. It does not perform real-time scanning as files are moved on and off the server.

Developer Al West had set to and managed to issue a beta of an Add-In with the aim of overcoming these deficiencies and bring another AV product to the WHS community in an easily managed form. The product – WHSClamAV – is still in ongoing development but this is a first look at the setup and operation in action.

Rather than repeat Al’s setup instructions and product aims here, please read our original release article for the background. The product is still moving forwards with 5 sub-releases in a little more than a month. The latest version can be downloaded here.

Having downloaded the single msi file, installation is as normal for a WHS Add-in. Drop the msi into the Add-ins folder of the Software share and then perform the installation through the Console. My initial Walk Through has been carried out on version 0.1.5.

Once the Console is restarted, WHS ClamAV has its own tab and Settings area.

screenshot.57 thumb WHS ClamAV Add In Walkthrough screenshot.58 thumb WHS ClamAV Add In Walkthrough

As you can see, ClamWin was not installed on the Server to start with. The Add-In detects this and has the option to download the latest version and then install it.

screenshot.59 thumb WHS ClamAV Add In Walkthrough

screenshot.60 thumb WHS ClamAV Add In Walkthrough

It is an indication of the early stage of development that even though the download and installation had completed and was shown as such on the Settings tab, the WHS ClamAV Tab had not caught up with this – surely a minor issue. Closing and reopening the Console resolved this. The Scheduling and Settings for the Add-in are also blank at present and a sign of things to come. The Proxy Server settings are available should this be necessary for the download of updates from the web.

The Main Console Tab has a row of control buttons to trigger program operations such as various types of scan and the signature file update. There are also a number of tabs within the window to view the Scanning Log, Update Log, Config File and Version details. The relevant logs can be cleared as needed. The Scan and Update commands throw up ‘dos boxes’ while running, presumably as a legacy from the triggers sent to the underlying ClamWin program and it would be hoped that these will be tidied up later in development.

It does seem that the Config does not allow for any specific exclusions in the WHS environment and time will tell if that presents an issue to be resolved. My own recommendation would be to at least avoid the PC Backups Database area.

The author has also been totally clear that in this ‘work in progress’ there are a lot of elements to be included before this is a fully functional add-in. Without Scheduling working as a minimum, it will not be a fully viable inclusion on most users’ servers. The desire to add real-time scanning to an AV product that does not already include it should be a noble challenge and would throw this add-in to the fore-front.

I can certainly say that WHS ClamAV has appeared totally stable in the testing done so far but clearly has some way to go. Al West is to be encouraged in endeavours to bring a popular and effective open source AV product into the WHS arena.


Enjoyed this post? Share it.

If you enjoyed reading this post, then why not share it with your friends and followers?

About Dave Marchant

For me, Windows Home Server is very much a hobby as well as a very useful addition to the home computer network. I have been in the computer industry since the embryonic days of microprocessors having designed with some of the original 8-bit devices. In the past I have worked as UK Support Manager for a major PC manufacturer and I am currently IT Manager for a major Microsoft Gold Partner in the Business Products arena.

Sign Up for WGS Daily News

If you don't want to miss out on the latest news from We Got Served, why not subscribe to our daily digest? You'll get the day's headlines and a short summary of each news item delivered straight to your inbox each morning.

, ,

  • http://www.pauljroberts.com Paul Roberts

    An AV with Console integration would be a godsend to WHS OEM builders! I've tried and tested many an AV and all had issues of some sort or another. Though, I had not tested Clam.

    Personally, all my files roll through one of my clients before moving to WHS, so they get scanned. But with no "on board" AV on my WHS machine, I'm apprehensive to download files directly to my server.

    I commend AI West for his efforts and will gladly use his add-in & Clam AV setup when he indeed completes its development.

    Thank you.

  • http://intensedebate.com/people/Jim_Clark Jim_Clark

    NOD32 also certifies their AV SW for WHS. They simply do not have a WHS specific version that installs in the console. Maybe I am the only one who uses it on my my WHS?

    • http://intensedebate.com/people/Dave_Marchant Dave_Marchant

      If they would only come out with a Console Add-In, it would give us another major player to consider.

      • http://intensedebate.com/people/Jim_Clark Jim_Clark

        If you can believe it, I happened to meet my ESET contact yesterday going down the hotel elevator here in Bellevue. He is an MVP and here for the summit also. The word that came back on the very comment you make is there is not enough demand to warrant doing the add-in (at this time).

        So… If you are a NOD32 user and would like to see a console add-in, make your voice heard over at the ESET website.

  • http://whsclamav.sourceforge.net/ Al West

    Hi,
    Thanks for the writeup. I've not got around to writing any documentation yet but I'd just like to mention that WHSClamAV at the moment only scans drive C (system) or D:Shares (Data) – so it avoids the backup areas and the DE fs sections.
    Cheers,
    Al

  • http://intensedebate.com/people/Dave_Marchant Dave_Marchant

    You are welcome Al. Maybe you can give an update on the development, although I have looked at the frequency of new builds and it seems you are progressing steadily.

  • http://intensedebate.com/people/Jim_Clark Jim_Clark

    Hi Al,

    I know I will keep a close eye on how things develop with ClamAV. Having an alternative like ClamAV is a big plus for WHS users.

  • GuustFlater

    I have installed it as my evaluation period for Avast came to an end. I found out it is detecting a a "trojan.faveAV-136" error on a file which never gave issues with Avast, being C:windowsNLDRV541cpanel.exe. This is not really dealing with the add-in itself, which really runs fine, but apparantly after browsing different forums, the detection rate of ClamAV and the false alarm rate are definitely not up to par with industry standard.

  • David Coulter

    Errors on the install:
    Error 1001. An exception occured during the commit phase of the installation. this exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete. –> Cannot start WHSClamAV Update on computer'' -> The service did not respond to the start or control requeste in a timely manner.

    The select ed add-in failed to install. The error code was 1603. Please contact the add-in author for assistance.

    • http://whsclamav.sourceforge.net/ Al West

      I've managed to reproduce error 1001 by trying to install on Windows Home Server PP1. Can you confirm that you got this error on PP3?

  • http://whsclamav.sourceforge.net/ Al West

    Can you open a bug on the whsclamav site. Ensure you are logged into the Windows Home Server Console and try the install again.

  • http://whsclamav.sourceforge.net/ Al West

    With respect to error code 1603 this can be caused by a number of reasons. If this a vanilla OEM install of WHS?
    http://support.microsoft.com/kb/834484

  • jochen

    so it still does not offer realtime scanning?

  • http://whsclamav.sourceforge.net/ Al West

    Hi Jochen, WHClamAV will never have realtime scanning and I have mentioned it quite a few times before – maybe when I get time I will create a FAQ for WHSClamAV. If you think you require realtime scanning for your server then there are plenty of products out there such as Avast, F-Secure and so on.

  • timp

    Anyone got this properly installed? I get a 'Fatal Error in WebRequest.GetResponse()' when I hit download (the OK past the warning)

  • http://whsclamav.sourceforge.net/ Al West

    Without more information it's a little hard to tell what the problem is. 1) Can you download files from the internet onto your Windows Home Server – that is firewalls, proxies (are you behind a proxy) and so on are not getting in the way – did you configure/not configure the proxy option in WHSClamAV settings?
    2) Can you specifically access this URL – the actual download – http://downloads.sourceforge.net/project/clamwin/…

    If you can download the installation from the URL but not through the add-in then you can copy the file to C:Documents and SettingsAdministratorApplication Dataclamav.exe – using the add-in you can proceed to install ClamAV.

    Perhaps there was an issue with sourceforge during the time your tried to download ClamAV. I just went through the remove/download/installation cycle with my installation and nothing appeared out of sorts.

    Let me know how you get on. If you wish feel free to contact me via http://whsclamav.sourceforge.net/

  • John

    Ech time I instal rev 0.1.8 via the add-in folder, it says installed. When I re-open Control Panel, it says it has not installed – many attempts to uninstal/reinstal haven't solved it … ?

    • http://whsclamav.sourceforge.net/ Al West

      Hi John,
      Not sure why the Add-in is not showing as installed in Add and Remove Programs. If it is installed correctly – the add-in is working yes – then it should show up in the Add and Remove programs. Are you running something else that might be causing a problem with MSI installations?
      Let me know how you get on,
      Al

      • Frank

        I'm having the same problem on my brand new Acer h340. I even did a full reboot, and the tab and settings both say it's not installed. How do I know if it's actively working? In settings, below download button, it shows two green lights to indicate the Update and Scan are both enabled. The first three tabs under the main ClamAV tab all say it's not installed, but the version tab says:
        ——
        WHSClamAV Version Information

        Location: C:Program FilesWindows Home ServerHomeServerConsoleTab.WHSClamAV.dll
        Version: 0.1.9.33850
        Culture: Invariant Language (Invariant Country)

        Clam AV Version:
        ——

        So, I assume it's working. Any updates expected to clean up some of these issues?

        Also, I still have McAfee Total Protection installed. Is that a problem?

  • Jorn

    works perfectly :) thanks alot.

    You still got a sceduler in the pipeline Al for this project?
    (by sceduler is mean: full auto scan at set time with email feedback incase of problems).
    :)

  • http://www.tsew.net Al West

    Hi,

    I'd love to get the time to write a scheduler. I am thinking of actually writing a standalone add-in that will allow interfacing to the Schedled Tasks built into WHS. Any found virii will be displayed by WHS. If you need email notifications then there is already an Add-in to do that: http://www.homeserverland.com/whs/m/whsaddins/44….

    Going to back to the scheduling of scans I will need to write an executable that is able to interface with the WHSClamAV Scanning Service – the code is all opensource so anyone can do this! I actually have 2 days off next week so I'll try to get something out then but with a new baby I now understand what lack of time is all about.

    Thanks for your support,
    Al

  • Pingback: Windows Home Server is Incredibly Awkward | VariableGHz

  • Mike Sanderson

    Al,
    I just wanted to say thanks for a great add-in! much appreciated!

  • Joe

    Could you use the windows task scheduler to run the scheduled scans? (is the a command line invocation for the product?)

    • http://whsclamav.sourceforge.net Al West

      Hi Joe,
      That is exactly what I am working on for the next version during this holiday period.
      Thanks,
      Al