What you need before you start
Installing an operating system on a new PC requires three things: the operating system itself (usually on a USB drive or DVD), a second computer to create that installation media, and about 30 minutes to an hour. You do not need technical experience, but you do need to follow the steps in order and not skip any.
Before you begin, back up any files on the new PC if it came with anything pre-installed — the installation process will erase the drive. Write down your product key or license information if you have it; you will need this during or after installation. If the PC is brand new and empty, you can proceed directly to creating installation media.
The specific steps differ slightly between Windows, macOS, and Linux, but the overall process is the same: create bootable media, insert it into the new PC, restart the computer to boot from that media, and follow the on-screen prompts to install the operating system to the hard drive.
Key Takeaways
- You need a second computer and a USB drive (or DVD) to create installation media before you can install an operating system on a new PC.
- Windows installation media can be created using the Windows Media Creation Tool, which you download on another computer and run on a USB drive.
- After creating installation media, insert it into the new PC, restart, and press the boot key (usually F12, Del, or Esc) to boot from the USB or DVD instead of the hard drive.
- The installation process will ask you to choose a drive, accept terms, and create a user account — you cannot skip these steps, but you can go back if you make a mistake.
- After installation finishes and the PC restarts, you will need to install drivers for your hardware and download Windows or macOS updates before the system is fully ready to use.
Creating Windows installation media on another computer
Download the Windows Media Creation Tool from Microsoft's website on a computer that already has Windows installed. You will need a USB drive with at least 8 GB of storage — the tool will erase it, so make sure it does not contain files you need to keep.
Plug the USB drive into the computer where you downloaded the tool, open the Media Creation Tool, and select "Create installation media for another PC." Choose your language, Windows edition (usually Home or Pro), and architecture (64-bit for most modern PCs). The tool will download Windows files to the USB drive, which takes 10 to 30 minutes depending on your internet speed.
When the tool finishes, eject the USB drive safely and label it clearly. This USB drive is now your installation media — you can use it to install Windows on multiple PCs if needed, and you can reuse the drive for other purposes after installation is complete.
Creating macOS installation media on another Mac
If you are installing macOS on a new Mac, download the macOS installer from the App Store on a Mac that already has macOS installed. The installer file is large (10 to 15 GB) and takes time to download, so start this on a computer with a stable internet connection.
Once the installer is downloaded, plug in a USB drive with at least 16 GB of storage. Open Terminal (search for it in Spotlight) and run the createinstallmedia command, which Apple provides in their support documentation. This command copies the macOS installer to the USB drive and makes it bootable — the process takes 15 to 30 minutes.
When the command finishes, eject the USB drive and label it. You now have bootable macOS installation media that you can use on the new Mac.
Inserting the installation media and booting the new PC
Plug the USB drive (or insert the DVD) into the new PC. Power on the computer and immediately start pressing the boot key — this is usually F12, Del, Esc, or F2, depending on the manufacturer. You should see a boot menu appear with a list of devices. Select the USB drive or DVD from this menu.
If you do not see a boot menu, restart the PC and try a different key. If you still do not see one, restart again and look for a message on the screen that says "Press [key] to enter Setup" or "Press [key] to select boot device" — this message appears for only a few seconds. You may need to try several times to catch it and press the key at the right moment.
Once you select the USB drive or DVD, the PC will boot from the installation media instead of the hard drive. You will see the Windows, macOS, or Linux installer load — this takes 30 seconds to a few minutes. Do not turn off the PC during this time.
Following the installation prompts
The installer will ask you to choose your language, accept the license terms, and select which drive to install the operating system on. On a new PC, there is usually only one drive listed — select it. The installer will warn you that it will erase the drive; confirm that you want to proceed.
Next, you will create a user account by entering a username and password. Write down this password somewhere safe — you will need it to log in after installation finishes. The installer may also ask you to connect to the internet, choose privacy settings, or sign in with a Microsoft account (for Windows) or Apple ID (for macOS). You can skip most of these steps and configure them later, but some installers require at least one step to be completed before moving forward.
The installation process will then copy files to the hard drive and configure the operating system. This takes 10 to 30 minutes. The PC may restart several times during this process — do not turn it off. When installation is complete, the PC will restart one final time and boot into the new operating system.
Installing drivers and updates after installation
Once you log in to the new PC for the first time, the operating system is installed but not fully configured. Windows will automatically search for and install drivers for your hardware (graphics card, network adapter, sound card, and so on). This process runs in the background and may take 10 to 30 minutes.
While drivers are installing, open Windows Update (on Windows) or System Preferences > Software Update (on macOS) and check for operating system updates. Download and install all available updates — these include security patches and bug fixes that are important for your PC's stability and safety. You may need to restart the PC several times during this process.
After drivers and updates are installed, your PC is ready to use. You can now install applications, sign in to your accounts, and configure the operating system the way you want it. If you have a product key for Windows, enter it in Settings > System > Activation to activate your copy of Windows.
What to do if installation fails or gets stuck
If the installer crashes or stops responding, force restart the PC by holding the power button for 10 seconds until it shuts down. Wait 30 seconds, then power it back on and boot from the installation media again. The installer will usually resume or start over from the beginning.
If the installer repeatedly fails at the same point, the installation media may be corrupted. Create new installation media on a different USB drive or DVD and try again. If you still have problems, the new PC's hard drive may be faulty — contact the manufacturer for a replacement or repair.
If the PC boots into the operating system but you see error messages or missing drivers, restart the PC and boot from the installation media again. You can run the installer a second time to repair or reinstall the operating system without losing your files, though this is rarely necessary.
Frequently Asked Questions
Do I need a product key before I install Windows?
No. You can install Windows without a product key and use it for a limited time before you are prompted to enter one. However, if you have a product key, enter it during installation to avoid being prompted later. You can also enter it after installation is complete in Settings > System > Activation.
What if my new PC does not have a USB port or DVD drive?
Most new PCs have at least one USB port. If yours does not, you can use a USB-to-USB-C adapter or Thunderbolt adapter to connect a USB drive. If your PC has no optical drive, you cannot use a DVD — use a USB drive instead. Some manufacturers also offer installation media by mail if you contact their support team.
Can I install the operating system over the internet instead of using a USB drive?
Windows can be installed over the internet if the PC already has an operating system running, but a brand-new PC with an empty hard drive requires installation media. macOS can be installed over the internet on a Mac that already has macOS, but a new Mac requires either installation media or Internet Recovery mode (which downloads macOS from Apple's servers during startup).
How long does the entire installation process take?
Creating installation media takes 10 to 30 minutes. The actual installation on the new PC takes 20 to 60 minutes, depending on your hard drive speed and internet connection. Installing drivers and updates afterward takes another 30 minutes to an hour. Plan for two to three hours total from start to finish.
What should I do with the installation media after I finish?
You can keep the USB drive or DVD for future use — it will work on any PC or Mac of the same type. You can also erase the USB drive and use it for other purposes. The installation media does not expire and does not need to be updated unless you want to install a newer version of the operating system.