To remove a virus from Master Boot Record you have to initially setup the Recovery console:
Step 1
Login into your desktop and launch the command prompt through the run dialogue box by typing cmd or clicking strart-all programs-accessories-command prompt.
Step 2
From command prompt type cd I386 and press enter.
Step 3
A i386:\> prompt appears in which you type the following i386:\>WINNT32 /CMDCONS
Step 4
A prompt appears asking you wether you want to reboot click yes.
Step 5
After the machine has performed a reboot two options appear
1) Login into Recovery Console
2) Login into Windows Xp Professional/Home
Select a and a prompt for administrator password comes out, enter it and then after which a blank command prompt appears.
To remove virus from MBR enter the following cmd FIXMBR it will ask if you are sure and click yes.