Did you try the ‘Repair’ function (Control Panel > Add/Remove programs > avast > Change > choose the Repair option when a window pop-up)?
If this do not work, try uninstalling/boot/installing/boot…?
Did you change your shutdown properties in Windows XP?