Before you begin, make sure you have a valid Windows 7 product key and a DVD or USB drive with at least 4 GB of space.
Here are the steps to install Windows 7:
First, insert the DVD or USB drive into your computer. If you have a DVD drive, insert the Windows 7 DVD into the drive. If you have a USB drive, insert it into a USB port on your computer. Once the DVD or USB drive is inserted, restart your computer.
As your computer restarts, you should see a message appear on your screen that says something like "Press [key] to enter Setup." The key you need to press varies depending on your computer manufacturer, but it's usually one of the following: F2, F10, F12, or Del. Press the key quickly to enter the BIOS or UEFI settings.
Once you're in the BIOS or UEFI settings, look for an option called "Boot Order," "Boot Options," or "Boot Sequence." Use the arrow keys to highlight the option and press Enter. Then, use the arrow keys to move the DVD or USB drive to the top of the list. Save the changes and exit the BIOS or UEFI settings.
If everything is set up correctly, Windows Setup should start automatically. However, if it doesn't, you may need to restart your computer and try again. If it still doesn't work, you may need to check your BIOS or UEFI settings again to make sure the DVD or USB drive is set as the first boot option.
Once Windows Setup starts, you'll be prompted to choose your language, time and currency format, and keyboard or input method. Choose your preferences and click "Next."
Next, you'll be prompted to enter your Windows 7 product key. This key should be located on the DVD case or on a sticker on your computer. Enter the key and click "Next."
You'll be prompted to read and accept the license terms for Windows 7. Take some time to read through the terms, and then click "I accept the license terms" and click "Next."
You'll be prompted to choose the type of installation you want to perform. If you're upgrading from a previous version of Windows, choose "Upgrade." If you're installing Windows 7 on a new hard drive, choose "Custom."
If you chose "Custom," you'll be prompted to select the hard drive or partition where you want to install Windows 7. If you only have one hard drive or partition, select it and click "Next." If you have multiple drives or partitions, choose the one where you want to install Windows 7 and click "Next."
Congratulations! You have now successfully installed Windows 7.