How to Reset Windows XP to Factory Settings

Resetting a Windows XP computer to factory settings erases everything and returns it to the state it was in when it left the factory, or gives you a fresh copy of Windows XP. People do this to give an old PC to someone else, prepare it for recycling, set it up for retro games or legacy software, or clear out years of clutter. XP has no “Reset this PC” button like Windows 10 and 11, so the method depends on what your computer came with. This guide covers each option.

Quick Answer

If your PC came with Windows XP preinstalled, restart it and press the manufacturer’s recovery key during startup (often F10, F11, or Ctrl + F11) to launch the built-in recovery tool, then choose the option to restore to factory condition. If there’s no recovery partition, use the recovery discs that came with the PC, or boot from a Windows XP installation CD, delete the old partition, and install fresh.

Legacy text-mode setup screen listing hard disk partitions with the existing C: partition selected for deletion before a clean install
During a clean install from CD, select the old C: partition (1) and press D to delete it, then install to the empty space (2). Leave the recovery partition alone if you want to keep it.

Important Before You Start

  • Back up files you want to keep to a USB drive or external disk. A reset erases the drive.
  • Windows XP is unsupported. Microsoft ended support in April 2014, so XP gets no security updates. Keep a reset XP machine offline or behind a firewall, and don’t use it for web browsing, email, or banking.
  • Have your product key ready (usually on a sticker on the PC’s case) if you reinstall from a CD.
  • Plug laptops into power; a reset can take an hour or more.

Method 1: Manufacturer Recovery Partition

Most brand-name PCs with XP preinstalled have a hidden recovery partition.

  1. Restart the computer.
  2. As soon as the logo appears, press the recovery key repeatedly. Common keys: HP/Compaq: F10 or F11, Dell: Ctrl + F11, Lenovo/IBM ThinkPad: the blue ThinkVantage button or F11, Acer: Alt + F10, Toshiba: 0 (zero) while powering on, Sony VAIO: F10. The key is often shown briefly on the startup screen.
  3. Follow the on-screen menu and choose the option to restore the system to its original factory state (the wording varies by brand).
  4. Confirm that you understand all data will be erased, and let the process finish.
  5. Complete the Windows XP setup screens (language, time zone, user name).

Method 2: Recovery Discs

Many PCs shipped with recovery CDs or DVDs, or prompted you to create them.

  1. Insert the first recovery disc and restart.
  2. If the PC doesn’t boot from the disc, press the boot menu key (often F12, F9, or Esc) and choose the CD/DVD drive, or change the boot order in the BIOS.
  3. Follow the prompts to restore the factory image, swapping discs when asked.

Some manufacturers sold replacement recovery discs for older models; availability for XP-era computers is now limited.

Method 3: Clean Install From a Windows XP CD

  1. Insert the Windows XP installation CD and restart. Press any key when you see Press any key to boot from CD.
  2. At the Welcome screen, press Enter to set up Windows, then F8 to accept the license.
  3. If Setup finds an existing installation, press Esc to install a fresh copy instead of repairing.
  4. In the partition list, select the C: partition and press D to delete it (confirm with L).
  5. Select the Unpartitioned space and press Enter to install there.
  6. Choose Format the partition using the NTFS file system (not Quick if you want a thorough wipe).
  7. Follow the setup screens and enter your product key.
  8. After installation, install drivers from the PC maker’s website or driver discs.

Activation for Windows XP may be difficult today. If online activation fails, the setup offers phone activation, but availability can vary.

If You’re Giving Away or Recycling the PC

  • A factory reset or full format makes files hard to recover, but not impossible. For sensitive data, use a free disk-wiping tool that overwrites the whole drive, or remove the hard drive and keep or destroy it.
  • Remove any personal discs from the drive and any stickers with passwords.

Summary

  1. Back up your files and keep in mind XP is unsupported.
  2. Try the manufacturer’s recovery key at startup.
  3. Or use recovery discs.
  4. Or boot from a Windows XP CD, delete the old partition, and install fresh.
  5. Wipe the drive thoroughly before giving the PC away.