AVG has posted on their site a fix tool for those who might be having problems with their Windows XP machines after a faulty database confirmed a Windows file as a virus. If you are experiencing a problem and use AVG, follow the instructions below to fix your computer:

We have prepared an utility which can fix the issue mentioned above. You can use the following boot media: either CD-ROM or USB flash drive. If you decide to use CD-ROM, please follow the instructions in part A), in case of USB flash drive follow the steps in part B). When finished it is neccessary (in both cases) to follow additional instructions described in part C).

A. CD-ROM instructions (recommended):

1. Please download the CD image.
2. Use your favourite CD burning software to burn the downloaded image (IMPORTANT NOTE: Please use the “Burn CD from image”* option).
3. Insert the CD into the CD-ROM drive of the affected computer and restart the computer. It should boot up from the CD. If not, please see the user’s manual for you motherboard to find out how to let the computer boot from a CD.
4. Continue with instructions in section C).

B. USB flash drive instructions (available only for computers supporting USB boot function):

1. Please download the USB flash archive (rescue.zip).
2. Extract the content of the “rescue.zip” archive to your USB flash drive.
3. IMPORTANT: go to the root of the flash drive.
WARNING: take care to do the next step only when you are located on the flash drive. Doing the step on the local disk can DESTROY BOOT FILES ON YOUR HARD
DRIVE!

4. Please run the “makeboot.bat” batch (pay attention that it is the one on the USB flash drive) and follow the instructions.
5. Connect the USB flash drive to the affected computer and restart the computer. It should boot up from the USB flash drive. If not, please see the user’s manual for you motherboard to find out how to let the computer boot from a USB flash drive. Please note that this function is not supported on all motherboards.

C. Additional instructions:

1. Boot the computer from the CD-ROM or USB flash drive as described in steps A) and B).
2. Follow the rescue process.
3. Please login to Windows as Administrator.
4. Update the AVG program (Open AVG User Interface and click the “Update now” button)
5. Rename the file “avgrsx.exe_off” to “avgrsx.exe”. This file is located in the AVG 8.0 Program folder (C:Program FilesAVGAVG8 by default)ยด.
6. Rename the file “avgsched.dll_off” to “avgsched.dll”. This file is located in the AVG 8.0 Program folder (C:Program FilesAVGAVG8 by default)
7. Remove the boot media (CD-ROM or USB flash drive) and restart your computer.

Hopefully this should repair your system and it should boot properly.

Comments welcome.

Source.