<p>Repairing the <a href="https://www.lifewire.com/what-is-a-master-boot-record-mbr-2625936" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">master boot record</a> on your <a href="https://www.lifewire.com/windows-xp-2626354" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="2">Windows XP</a> system is accomplished using the <a href="https://www.lifewire.com/fixmbr-command-2625887" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="3">fixmbr</a> command, available in <a href="https://www.lifewire.com/recovery-console-2625991" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="4">Recovery Console</a>. This is necessary when the master boot record has become corrupt due to a virus or some kind of damage.</p><p>Follow these easy steps to repair a damaged master boot record in Windows XP.</p><p>Repairing the master boot record on a Windows XP system is easy and should takes less than 15 minutes.</p><h3>How to Repair the Master Boot Record In Windows XP</h3><ol><li><p><a href="https://www.lifewire.com/how-to-enter-windows-xp-recovery-console-2624534" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="5">Enter Windows XP Recovery Console</a>.</p></li><li><p>When you reach the <a href="https://www.lifewire.com/command-prompt-2625840" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="6">Command Prompt</a> (detailed in Step 6 in the link above), type the following and then press <strong>Enter</strong>.</p><pre> <code><strong>fixmbr</strong></code></pre> </li><li><p>The fixmbr utility will write a master boot record to the <a href="https://www.lifewire.com/what-is-a-hard-disk-drive-2618152" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="7">hard drive</a> that you&#39;re currently using to boot into Windows XP. This will repair any corruption or damage that the master boot record may have.</p></li><li><p>Take out the Windows XP CD, type <strong>exit</strong> and then press <strong>Enter</strong> to restart your PC.</p><p>Assuming that a corrupt master boot record was your only issue, Windows XP should now start normally.</p></li></ol>