If Avast antivirus detects Win32:Adware-gen [Adw] then it indicates that your computer is infected with a previously unknown adware. This unwanted software usually come with some freeware or from malicious websites that ask users to download and run a Flash Player or Java update. Once started, the Win32:Adware-gen [Adw] will be configured to start automatically