What you need before you start
Installing Windows on a new PC requires three things: a Windows installation file, a USB drive with at least 8 GB of storage space, and another computer you can use to create the installation media. You will also need your Windows product key — a 25-character code that comes with your Windows license. If you bought a pre-built PC, Windows is usually already installed, so this process is only necessary if you are building a PC from parts, replacing a failed drive, or starting fresh on an existing machine.
The installation itself takes 20 to 40 minutes once you have the USB drive ready. The preparation — downloading Windows and creating the bootable USB — takes another 30 to 60 minutes depending on your internet speed. Plan for the entire process to take about two hours from start to finish.
Key Takeaways
- You need a second computer, a USB drive with 8 GB of space, and your Windows product key before you can begin the installation.
- Download the Windows installation tool from Microsoft's website on your second computer, then use it to create a bootable USB drive.
- Insert the USB drive into your new PC, restart it, and boot from the USB by pressing the correct key during startup — usually F12, Delete, or Esc depending on your motherboard.
- Follow the Windows installer's prompts to select your drive, choose your language and timezone, and enter your product key when asked.
- After installation completes, Windows will restart several times and then ask you to set up your user account and network connection.
Download the Windows installation tool on a working computer
Go to Microsoft's Windows download page on any computer that already has internet access. Look for the button labeled "Download Now" under "Windows Installation Media Creation Tool" — this is the official tool Microsoft provides for this task. Save the file to your desktop or Downloads folder.
Open the file you just downloaded. Windows will ask for permission to make changes to your computer — click "Yes". The Media Creation Tool will open and ask whether you want to upgrade this computer or create installation media for another PC. Select "Create installation media for another PC". On the next screen, choose your language, Windows edition (usually Windows 11 Home or Pro), and architecture (64-bit for almost all modern PCs). Click "Next".
The tool will ask whether you want to use a USB flash drive or an ISO file. Choose "USB flash drive" — this is the simpler option. Insert your USB drive into this computer, select it from the list, and click "Next". The tool will download Windows and write it to your USB drive. This step takes 15 to 30 minutes depending on your internet speed. Do not unplug the USB drive or close the tool while this is happening.
Insert the USB drive and restart your new PC
Once the Media Creation Tool finishes, safely eject the USB drive from your working computer. Plug it into a USB port on your new PC — use a port on the back of the tower if you are building a desktop, as front ports sometimes do not work during installation.
Restart your new PC. As it powers on, watch the screen carefully for a message that says something like "Press F12 to enter boot menu" or "Press Delete for setup". The exact key varies by motherboard — common ones are F12, Delete, F2, Esc, or F10. You have only a few seconds to press it, so be ready. If you miss it, restart again and try the next time.
When the boot menu appears, look for an option that mentions your USB drive by name or says "USB Device" or "Removable Media". Select it and press Enter. Your PC will boot from the USB drive and the Windows installer will start.
Walk through the Windows installer
The Windows installer will ask you to select your language, time zone, and keyboard layout. Choose the options that match your location and preferences, then click "Next". On the next screen, click "Install Now".
You will be asked to enter your Windows product key — the 25-character code that came with your license. If you do not have it yet, you can skip this step and enter it later, though Windows will remind you repeatedly until you do. Click "Next".
The installer will ask which version of Windows you want to install and where. If you are installing on a new drive, you will see only one drive listed. Select it and click "Next". Windows will warn you that it will erase everything on that drive — this is normal and expected on a new PC. Click "Next" to proceed.
Windows will now copy files and install itself. This takes 10 to 20 minutes. Your PC will restart several times during this process — do not turn it off or unplug it. Let it finish on its own. You can remove the USB drive once the first restart happens, though leaving it in does no harm.
Complete the setup after installation
After the final restart, Windows will ask you to set up your user account. Enter a name for your account and a password if you want one. Windows will then ask about privacy settings — you can accept the defaults or customize them. Next, it will ask whether you want to sign in with a Microsoft account or create a local account. A Microsoft account lets you sync settings across devices and recover your password online; a local account is simpler but only works on that one PC.
Windows will ask about your network connection. If you are using a wired connection, it should connect automatically. If you are using Wi-Fi, select your network from the list and enter the password. Windows will then download and install updates — this can take 10 to 30 minutes depending on how many updates are available. Let it finish without interrupting.
Once updates are done, your desktop will appear and Windows is fully installed. You can now install drivers for your motherboard, graphics card, and other hardware, then download the programs you need.
Troubleshooting if your PC will not boot from USB
If your PC starts normally instead of booting from the USB drive, you pressed the boot menu key too late or too early. Restart and watch the screen more carefully for the prompt. Try pressing the key repeatedly as soon as you see the first logo appear.
If you see the boot menu but your USB drive is not listed, the drive may not have been created correctly. Go back to your working computer, try creating the installation media again on a different USB drive, and repeat the process. Some older USB drives or drives with existing files on them can cause problems — a brand new drive usually works better.
If the installer starts but fails partway through, your drive may be failing or your USB drive may be corrupted. Try creating the installation media a second time and restart the installation from the beginning. If it fails again at the same point, the hard drive in your new PC may be defective and need replacement.
What to do if you do not have a product key yet
You can install Windows without a product key and enter it later. During installation, when the installer asks for your key, click "I do not have a product key" or skip that step. Windows will install and run normally, but it will show a watermark on your desktop saying "Activate Windows" and will remind you periodically to enter a key.
Once you have your product key, go to Settings, then System, then Activation. Click "Change product key" and enter your 25-character code. Windows will activate immediately and the reminders will stop. You can also purchase a Windows license directly from Microsoft's website if you need one.
Frequently Asked Questions
Can I use the same USB drive to install Windows on multiple PCs?
Yes. Once you create the installation media, you can use that same USB drive to install Windows on as many PCs as you want. The drive itself is just a copy of the Windows installer — it does not get used up. You can reuse it indefinitely or create new installation media whenever you want.
What if I do not have another computer to create the installation media?
You will need to borrow a computer temporarily — a friend's laptop, a family member's PC, or even a computer at a library or internet café will work. The Media Creation Tool takes only a few minutes to run, so you do not need much time. Alternatively, you can purchase a USB drive with Windows already installed from a retailer, though this costs more than creating your own.
Do I need to remove the USB drive before Windows finishes installing?
You can remove it after the first restart, but it is not necessary. Leaving it in does no harm. If you leave it in and your PC tries to boot from it again, just remove it and restart. After Windows is fully installed, you can use that USB drive for other purposes.
Will installing Windows erase my files?
Yes, installing Windows on a drive erases everything that was on it. If you have files you need to keep, back them up to an external drive or cloud storage before you start. If you are installing on a new, empty drive, there is nothing to erase.
How long does Windows take to fully install and be ready to use?
The actual installation takes 20 to 40 minutes. After that, Windows needs to download and install updates, which can take another 30 to 60 minutes depending on how many updates are available and your internet speed. Plan for two to three hours total before your PC is fully ready to use.