What version of avast are you using, presumably avast free ?
If so just re-register from the avastUI, Maintenance, Registration and complete the short form and the registration is done within the avastUI. If this system isn't on-line you can use the off-line method.
See images, these are for initial registrations, but should hold for re-registration.