How to Clear All Files from a Computer Running Windows XP

This wikiHow teaches you how to remove all user-created files, folders, and programs from a Windows XP computer by booting from your installation CD and reformatting the drive. You must have your Windows XP installation disc to perform...
Part 1 of 2:

Booting from the CD

  1. How to Clear All Files from a Computer Running Windows XP Picture 1How to Clear All Files from a Computer Running Windows XP Picture 1
    Back up any files you want to save. Once you delete the files from your computer, getting them back will be nearly impossible. You can use a USB drive or an external hard drive to back up your files.
    1. You can also use a CD-RW to back up your files, but these typically have less space available than a standard USB drive or hard drive.
  2. How to Clear All Files from a Computer Running Windows XP Picture 2How to Clear All Files from a Computer Running Windows XP Picture 2
    Insert your Windows XP install disc into your computer.
    1. If you no longer have your XP install disc, you'll have to buy a replacement.
    2. You can also download an XP installation file and burn it to a CD, though you'll need the accompanying purchase key.
  3. How to Clear All Files from a Computer Running Windows XP Picture 3How to Clear All Files from a Computer Running Windows XP Picture 3
    Restart your computer. Click Start, click Turn Off Computer, and click the green Restart button when prompted.
  4. How to Clear All Files from a Computer Running Windows XP Picture 4How to Clear All Files from a Computer Running Windows XP Picture 4
    Press and hold Del or F2 to enter setup. The key you're prompted to press might also be different; most computers will display a message on startup that says "Press [key] to enter setup" or something similar.
    1. You can look at your computer model's manual or online support page to confirm your computer's BIOS key.
  5. How to Clear All Files from a Computer Running Windows XP Picture 5How to Clear All Files from a Computer Running Windows XP Picture 5
    Select the Boot tab. Use the arrow keys to move the selection box over to Boot.
    1. The Boot tab may instead say Boot Options, depending on your computer's manufacturer.
  6. How to Clear All Files from a Computer Running Windows XP Picture 6How to Clear All Files from a Computer Running Windows XP Picture 6
    Select the CD-ROM Drive option. Press until this option has a box around it.
  7. How to Clear All Files from a Computer Running Windows XP Picture 7How to Clear All Files from a Computer Running Windows XP Picture 7
    Make the CD-ROM Drive your boot option. Press + until CD-ROM Drive is at the top of the list.
    1. You may have to press a different key here. Check the key legend on this screen to confirm.
  8. How to Clear All Files from a Computer Running Windows XP Picture 8How to Clear All Files from a Computer Running Windows XP Picture 8
    Save your settings. You should see a key prompt (e.g., F10) at the bottom of the screen that correlates to "Save and Exit"; pressing it will restart your computer, using the CD drive as a reboot point.
    1. You may have to press Enter to confirm the changes.
Part 2 of 2:

Formatting the Hard Drive

  1. How to Clear All Files from a Computer Running Windows XP Picture 9How to Clear All Files from a Computer Running Windows XP Picture 9
    Press Enter at the "Welcome to Setup" screen. This will begin the setup process.
  2. How to Clear All Files from a Computer Running Windows XP Picture 10How to Clear All Files from a Computer Running Windows XP Picture 10
    Press F8 to accept the Windows agreement. If you're prompted to press a different key, press that key instead of F8.
  3. How to Clear All Files from a Computer Running Windows XP Picture 11How to Clear All Files from a Computer Running Windows XP Picture 11
    Press Esc when prompted. Doing so bypasses the repair process.
  4. How to Clear All Files from a Computer Running Windows XP Picture 12How to Clear All Files from a Computer Running Windows XP Picture 12
    Select the "Windows" partition. This line of text will say something like "Partition 2 (Windows)". Press the key until this line of text is selected.
  5. How to Clear All Files from a Computer Running Windows XP Picture 13How to Clear All Files from a Computer Running Windows XP Picture 13
    Press D, then press L. This will delete the partition where your operating system and all of its files are stored.
    1. You may see slightly different key prompts at the bottom of the screen. If so, use those instead.
  6. How to Clear All Files from a Computer Running Windows XP Picture 14How to Clear All Files from a Computer Running Windows XP Picture 14
    Re-select the partition's space if necessary. There should be a blank space where the partition used to be; make sure it's selected.
  7. How to Clear All Files from a Computer Running Windows XP Picture 15How to Clear All Files from a Computer Running Windows XP Picture 15
    Press C, then press Enter. This will create a new, empty partition in the space where the old one was.
  8. How to Clear All Files from a Computer Running Windows XP Picture 16How to Clear All Files from a Computer Running Windows XP Picture 16
    Select the new partition and press Enter. Doing so will select the partition as the location to install Windows XP.[1]
  9. How to Clear All Files from a Computer Running Windows XP Picture 17How to Clear All Files from a Computer Running Windows XP Picture 17
    Choose NTFS as the partition's format. Select the Format the partition by using the NTFS file system (Quick) option using the arrow keys, then press Enter.
  10. How to Clear All Files from a Computer Running Windows XP Picture 18How to Clear All Files from a Computer Running Windows XP Picture 18
    Wait for your hard drive to finish formatting. This can take several hours. Once this process is complete, you'll follow the on-screen instructions to reinstall Windows XP; however, your files, programs, and any other user-installed items will be gone.
    1. You will need your product key to finish installing Windows XP.
4.5 ★ | 2 Vote