I can’t see a relationship between avast (or any other software) and WGA except Microsoft itself. Did you try Windows Update site and get the latest ones?