How do I remove Linux and install Windows?

Updated: 04/01/2018 by Computer Hope

Users who have installed Linux may find it difficult to install Microsoft Windows afterward due to how Linux utilizes different partition information. This condition can cause errors during the install or first setup of Windows. The following steps show you how to completely remove Linux from the hard drive and install Windows.

  1. Boot from a bootable floppy diskette or bootable CD that contains the fdisk.exe and debug files.
  2. Once at the MS-DOS prompt, you must delete all the partitions using the fdisk command. In some cases, you may be unable to delete all the partitions. If this occurs, erase all the HDD information using the debug routine found on our debug page.
  3. Recreate a primary partition using fdisk. If you are installing Windows 2000, Windows XP, or later versions, run the setup from the installation CD or DVD and create the partitions through the setup program.
  4. If you are installing Windows 95 or Windows 98, after the partition is created and set as the active partition, format the partition using the format command.
  5. Finally, for Windows 95 and Windows 98 users, run the setup program for your operating system.