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
- Insert the CD, restart and set the BIOS to boot from CD if needed. Press a key when asked to boot from the CD.
- At the Welcome screen, press Enter to set up (R here opens the Recovery Console, which is different).
- Press F8 to accept the licence.
- If setup finds your existing installation, press R to repair it and keep programs and files, or Esc for a fresh install.
- For a fresh install, select the partition, delete and recreate it if you want a clean slate, and format it with NTFS.
- After files copy and the PC restarts, enter your region, name, product key, computer name and an administrator password.
- Install drivers and complete activation if it’s still available for your 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
- Back up and find your key.
- Boot from the CD and press Enter, then F8.
- Repair with R, or Esc for a clean install.
- Keep the finished PC offline.

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.