I do not really know why are you doing all this. Avast Free will prompt you 14 days before expiry and you can re-register is simply from the GUI.