How to Reinstall Windows XP: Repair or Clean Install

To reinstall Windows XP, boot the PC from the Windows XP installation CD, press Enter to start setup, accept the licence with F8, then either press R to repair the existing installation or Esc to install a fresh copy. For a clean install, delete the old partition, create a new one, format it as NTFS and follow the prompts, entering your own product key. Windows XP reached end of support on April 8, 2014 and gets no security updates, so keep a reinstalled XP machine offline and use it only for software or hardware that truly needs it.

Quick Answer

Back up > boot from the XP CD > Enter > F8 > R to repair or Esc for a clean install > format as NTFS > enter your product key > finish setup.

Before You Start

  • Back up files; a clean install erases the partition.
  • Find your original CD and the product key (often on a sticker on the PC).
  • Download any drivers you can still find from the PC maker, since support sites for XP-era hardware may be gone.

Steps to Reinstall Windows XP

  1. Insert the CD, restart and set the BIOS to boot from CD if needed. Press a key when asked to boot from the CD.
  2. At the Welcome screen, press Enter to set up (R here opens the Recovery Console, which is different).
  3. Press F8 to accept the licence.
  4. If setup finds your existing installation, press R to repair it and keep programs and files, or Esc for a fresh install.
  5. For a fresh install, select the partition, delete and recreate it if you want a clean slate, and format it with NTFS.
  6. After files copy and the PC restarts, enter your region, name, product key, computer name and an administrator password.
  7. Install drivers and complete activation if it’s still available for your copy.
Classic blue text-mode setup screen offering to set up or repair an existing installation
Setup offers to repair an existing installation or install a fresh copy.

Repair vs Clean Install

Option Keeps files and programs Best for
Repair install (R after F8) Yes, usually Damaged system files
Recovery Console (R at Welcome) Yes Command-line fixes for boot problems
Clean install (Esc, then format) No Starting fresh

Troubleshooting

  • Setup can’t find a hard disk: Many newer SATA controllers need a driver XP doesn’t include. Try setting the SATA mode to IDE or Compatibility in the BIOS.
  • Activation fails: Activation for unsupported XP copies may no longer work reliably through the usual channels. We can’t confirm current availability, so check with Microsoft support.
  • Only need a fix, not a reinstall: See repairing Windows XP.
  • Slow after reinstalling: See making Windows XP run faster.

Frequently Asked Questions

Is it safe to go online with Windows XP?

It’s risky. XP and its browsers no longer get security fixes, so keep it offline and move files with a USB drive you scan on a current PC.

Can I upgrade this PC to a newer Windows instead?

Most XP-era hardware doesn’t meet Windows 10 or 11 requirements. A newer PC is usually the practical option for everyday use.

How long does reinstalling take?

Typically 30 to 60 minutes on original hardware, plus time for drivers.

Summary

  1. Back up and find your key.
  2. Boot from the CD and press Enter, then F8.
  3. Repair with R, or Esc for a clean install.
  4. Keep the finished PC offline.