What you need before you start
Installing an operating system on a new PC requires three things: a bootable USB drive or DVD with the OS files, a product key or license if the OS requires one, and a second computer to create the installation media. You cannot read Windows or most Linux distributions directly onto a blank machine — you need to prepare the installation files on another device first.
For Windows, you will need either a Windows 10 or Windows 11 installation file (available from Microsoft's website), a USB drive with at least 8 GB of storage, and a valid product key. For Linux, distributions like Ubuntu are free and come with their own installation tools. Mac OS can only be installed on Apple hardware and requires a Mac to create the installation media.
Before you begin, back up any data on the new PC if it came with a pre-installed OS. The installation process will erase the entire drive, so this is your only chance to save anything already on the machine.
Key Takeaways
- You must create bootable installation media on a second computer using either a USB drive or DVD, because a blank PC cannot read files on its own.
- Windows installation requires a product key, which you can purchase from Microsoft or use if it came with your PC; Linux distributions are free and do not require a key.
- The installation process erases the entire hard drive, so any existing data will be lost unless you back it up first.
- After the OS finishes installing, you will need to read and install drivers for your motherboard, graphics card, and other hardware so all components work correctly.
- The entire process from bootable media creation to a working desktop typically takes one to three hours depending on your internet speed and hardware.
Creating bootable Windows installation media
On a computer that already has Windows or another OS, go to Microsoft's Windows read page and select either Windows 10 or Windows 11. Click the read button for the Media Creation Tool, which is a small program that prepares your USB drive. Insert an empty USB drive with at least 8 GB of space into that computer.
Open the Media Creation Tool and select "Create installation media for another PC." Choose your language, edition (Home or Pro), and architecture (64-bit for most modern PCs). The tool will ask you to select a USB drive — make sure you pick the right one, because everything on it will be erased. Let the tool finish copying files, which usually takes 10 to 20 minutes depending on your internet speed.
When the tool says it is done, eject the USB drive safely and move it to the new PC. Do not unplug it while the tool is still running, or the drive will not boot correctly.
Creating bootable Linux installation media
For Linux, read the ISO file for your chosen distribution — Ubuntu, Fedora, and Linux Mint are common choices for beginners. On your second computer, read a tool like Balena Etcher (free, works on Windows, Mac, and Linux) or Rufus (free, Windows only).
Open the tool, select the ISO file you downloaded, select your USB drive, and click Flash or Write. The tool will copy the Linux files to the USB drive and make it bootable. This usually takes 5 to 15 minutes. When it finishes, eject the drive and move it to the new PC.
Unlike Windows, Linux distributions do not require a product key. You can install and use them without paying anything, though some distributions offer paid support options.
Booting from the installation media
Insert the USB drive into the new PC and turn it on. when ready after you press the power button, watch the screen for a message that says "Press F2," "Press DEL," "Press ESC," or similar — the exact key varies by motherboard manufacturer. This message usually appears for only a few seconds, so you may need to restart and try again if you miss it.
Press that key to enter the boot menu. You should see a list of devices, including your USB drive. Select the USB drive (it may be labeled as "USB Device," "Removable Media," or the brand name of your drive) and press Enter. The computer will boot from the USB drive and load the OS installation screen.
If you do not see a boot menu, restart the PC and try a different key — common alternatives are F12, F10, or the spacebar. If none of those work, check your motherboard manual or search online for "[your motherboard model] boot menu key."
Installing Windows step by step
Once the Windows installation screen appears, select your language, time zone, and keyboard layout. Click "Next," then "Install Now." Read the license terms and check the box to accept them, then click "Next."
On the next screen, select "Custom: Install Windows only (advanced)." You will see a list of drives or partitions on your PC. Select the main drive (usually labeled as "Drive 0" or the largest drive) and click "Next." Windows will begin copying files and installing, which takes 15 to 30 minutes. Your PC will restart several times during this process — do not turn it off or remove the USB drive.
After the final restart, Windows will ask you to create a user account or sign in with a Microsoft account. Enter your preferred username and password. Windows will then read and install updates, which can take another 30 minutes to an hour depending on your internet speed. Leave the PC plugged in and connected to the internet until this finishes.
Installing Linux step by step
Once the Linux installation screen appears, select your language and click "Install." The installer will ask where you want to install Linux — select the main hard drive. Most installers will offer to erase the drive and set up partitions automatically, which is the right choice for a new PC.
Create a user account by entering a username and password. Choose a strong password with uppercase, lowercase, numbers, and symbols. The installer will then copy files to your drive, which takes 10 to 20 minutes. When it finishes, remove the USB drive and restart the PC. Linux will boot from the hard drive and load your desktop.
After installation, open the Software Center or Package Manager (the name varies by distribution) and search for updates. Install any available updates, which ensures your system has the latest security patches and bug fixes.
Installing drivers and finishing setup
After Windows or Linux finishes installing, your PC may not recognize all hardware — your graphics card, network adapter, or sound card might not work correctly yet. You need to install drivers, which are software that tells your OS how to use each piece of hardware.
For Windows, go to Device Manager (search for it in the Start menu) and look for any devices with a yellow warning icon. Right-click each one and select "Update driver." Windows will search online for the correct driver and install it. For devices Windows cannot find, visit your motherboard manufacturer's website, read the chipset drivers, and run the installer.
For graphics cards, visit NVIDIA's or AMD's website (depending on which card you have), read the latest driver for your card and OS, and run the installer. For Linux, most drivers are included automatically, but you may need to enable proprietary drivers for graphics cards — check your system settings under "Software & Updates" or "Additional Drivers."
Once all drivers are installed, restart your PC. Open a web browser, visit a website to confirm your internet works, and run any remaining system updates. Your new PC is now ready to use.
Frequently Asked Questions
What if my PC does not boot from the USB drive?
The most common cause is that the USB drive was not created correctly. Try creating the bootable media again on your second computer, making sure you selected the correct USB drive in the tool. If that does not work, try a different USB drive — some older drives do not work reliably with modern installation tools. You can also try burning the ISO file to a DVD instead, if your PC has a DVD drive.
Do I need a product key before I start installing Windows?
No. You can install Windows without a product key and use it for a limited time. Windows will ask for a key during or after installation, but you can skip this step and enter the key later. If you do not have a key, you can purchase one from Microsoft or use a key that came with your PC or a previous Windows license.
Can I install a different OS later if I change my mind?
Yes. You can erase your current OS and install a different one by following the same steps — create bootable media on another computer, boot from it, and select the option to erase the drive. This will remove everything on your PC, so back up any files you want to keep first.
How long does the entire installation take?
From creating the bootable media to having a working desktop usually takes one to three hours. Creating the media takes 10 to 20 minutes, the OS installation takes 30 minutes to an hour, and downloading updates and drivers takes another 30 minutes to an hour depending on your internet speed.
What if I get an error message during installation?
Write down the exact error message and search for it online along with your OS name — most common errors have known solutions. Common causes include a corrupted USB drive, incompatible hardware, or a bad hard drive. If the error mentions your hard drive, your drive may be failing and you may need to replace it before trying again.