Each version of Microsoft Windows is installed on a computer using similar steps. While there are steps in the installation process that differ between versions of Windows, the following general steps and guidelines help you install Windows on your computer.
The steps below are for all recent versions of Windows, including Windows 98, Windows ME, Windows 2000, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, and Windows 11. These steps even work for earlier versions (e.g., Windows 95) as long as you use the disc version. The floppy diskette version is similar, but it requires additional steps.
If you’re replacing the hard drive in your computer, you need to reinstall Windows again. If you’re replacing the motherboard in your computer, you may need to purchase a new licensed copy of Windows and install it. Microsoft has designed current versions of Windows to be tied to the motherboard in the computer when Windows is installed. So if you change the motherboard, the existing license, or product key, may no longer be valid.
If you want to upgrade to a newer version of Windows on your computer, the steps on this page help you with the upgrade process. The Windows installation process should recognize if you have an older version of Windows already installed on the computer and ask if you want to upgrade or perform a fresh install. The upgrade process installs the newer Windows operating system files over the old ones and preserve your files.
Check hardware compatibility
Before installing or upgrading Windows on your computer, check the hardware in the computer to make sure it’s compatible with that version of Windows. Microsoft provides a Windows Compatible Products List for checking if the hardware in your computer is compatible with the chosen version of Windows.
The install guidelines for Windows for a server have additional steps based on the type of server and version of Windows.
If one or more pieces of hardware is not compatible with the chosen Windows version, we recommend replacing that hardware with compatible hardware or purchasing a new computer. Having compatible hardware in your computer helps ensure the Windows install or upgrade process is successful.
Genuine Windows CD, DVD, or USB thumb drive
First, you need a genuine copy of the Microsoft Windows operating system installation CD, DVD, or USB thumb drive. A genuine Windows product key is included with the installation disc, which is required to activate Windows after installation. If you have an OEM (original equipment manufacturer) computer, the Windows product key is often on the back or side of the computer.
If you have an OEM computer (e.g., Acer, Dell, HP, etc.), the computer will not have a genuine Windows CD, DVD, or USB thumb drive. Instead, you would reinstall Windows and the software using a hidden partition or a set of restore discs. The steps mentioned on this page would still work, but you’d need a copy of Windows. You can borrow a friend’s Windows disc, as long as it’s the same version of Windows that came with the computer and have a product key.
Installing or upgrading Windows
To start the Windows install or upgrade process, you need to configure your computer to boot from a CD or DVD before booting to the hard drive. Changing the boot process forces the computer to look for the Windows installation disc before booting from the hard drive.
With early versions of Windows, you cannot download a copy of Windows to install on a computer. You must purchase a physical copy of Windows. If you are installing Windows 10, you can download the Windows 10 Media Creation Tool to create a bootable disc or USB thumb drive. For Windows 11, you can download the Windows 11 Installation Assistant.
Microsoft has Windows 10 and 11 available for download only from their website. Any other site that claims to have copies of other versions of Windows should not be trusted. These copies of Windows are pirated software and could contain anything, including spyware or malware.
Open the CMOS setup.
How to enter and exit the BIOS or CMOS setup.
Change the computer’s boot order. Set the CD, DVD, or disc drive as the first boot device if you are trying to boot from a disc. Or, set the first boot device to your USB drive if you’re trying to boot from a USB thumb drive. If the drive is not shown, keep the disc is inserted and reboot the computer. With the disc in the drive, BIOS should recognize and include it in the list.
Save the settings change and exit BIOS.
Once you have updated the boot order, you can begin the Windows installation process.
Place the Windows disc in the CD/DVD drive or USB thumb drive into the back of the computer.
Turn on or restart the computer. As the computer starts up, it should detect the installation disc or drive and show a message similar to Press any key to boot from CD. Press any key on the keyboard to have the computer boot from the Windows disc or drive.
After the Windows install begins, there are several prompts that you need to answer. Select either Yes or the appropriate option to install Windows.
When asked which partition to install Windows onto, select the main partition, usually the C: drive or one labeled “Unallocated partition”. If upgrading Windows, select the existing installation of Windows on the hard drive.
You may be asked if you want to erase all contents on the hard drive, then install Windows. We recommend you choose this option, as it also formats the hard drive to allow the Windows operating system to be installed.
The computer may need to restart several times during the Windows install process. The restarts are normal and if prompted to restart, select the Yes option.
When the install process is nearly complete, the Windows configuration option screens are shown. On these screens, you may be asked to select the time zone you live in, your preferred language, and the account’s name you use to access Windows. Select the appropriate options and enter the appropriate information on each configuration screen.
The Windows install process is completed when the computer prompts you to log in or when it loads into Windows.
Make sure you select the Full Install option and not the Repair or Upgrade option.
If you are upgrading to a newer version of Windows, select the Upgrade option instead of the Full Install option.
You can use the erase all contents option to uninstall an existing version of Windows on the hard drive, then install Windows again.
Final Windows and computer configuration
After Windows is installed on the computer, you need to install the drivers and related software for the hardware in the computer. You can use the installation discs that came with the hardware or download the drivers from the hardware manufacturer’s website.
- How to install and update a computer driver.
We strongly recommend you install the latest drivers for each piece of hardware.
If you cannot download drivers because your network card is not working after installing Windows, you can download the drivers on another computer. Then, copy them to a USB thumb drive, and move them over to your computer.
To determine which hardware needs drivers to be installed, check the Device Manager and look for the exclamation mark “!” next to hardware devices. The exclamation point means drivers are needed for that device.
After installing the necessary hardware device drivers, install any software programs on the computer that you want to use.
Finally, download and install any available Windows updates. Updating Windows improves the operating system’s performance, the hardware in the computer, and the software programs you use. It can also improve security by fixing potential security holes and flaws in Windows.
- How to update a Microsoft Windows computer.
Long-term maintenance of Windows
Microsoft frequently releases new updates for Windows, so we recommend you check for and install available updates. Doing so helps keep Windows running better and keep your computer protected.
Also, periodically check for updated hardware device drivers from manufacturers’ websites. Keeping hardware drivers updated helps the hardware devices in the computer run at peak performance and improves compatibility with other computer hardware and software.
Related information
- How to create a copy of Windows software.
- How to erase my hard drive and start over?
- How to install Windows on a Mac.
- How to set up and install a computer printer.
- Microsoft Windows help and support.