Try removing all avast references from the following locations:

  • file \system32\config.nt
  • registry key HKLM\System\CurrentControlSet\Control\VirtualDeviceDrivers\VDD.

That will solve the problem.

This assumes you’re using WinXP (you didn’t say what OS you’re using).