You need a Windows license, installation media, and a way to connect to the internet during setup
Installing Windows on a new PC means putting the operating system on a machine that either has no OS or needs a fresh one. You have three practical routes: buy a Windows license and create installation media yourself, use a PC that came with Windows pre-installed, or use a recovery image if the PC originally shipped with Windows. The process takes 20 to 45 minutes depending on your internet speed and which version of Windows you choose.
Most people buying a new PC find it simpler to buy a machine that already has Windows installed — manufacturers like Dell, Lenovo, and HP sell them this way. But if you're building a PC from parts, buying a used machine without an OS, or replacing a failed Windows installation, you'll need to install it yourself. The good news is that Microsoft provides free installation media, and the process is straightforward once you understand what you're doing.
Key Takeaways
- You need a valid Windows license (either a product key or a digital license tied to your Microsoft account) before installation begins.
- Installation media is a USB drive or DVD containing the Windows files, which you create on another computer using the Windows Media Creation Tool.
- During setup, Windows will ask for your product key, but you can skip this step and enter it later if you don't have it yet.
- Your PC must be connected to the internet during installation so Windows can download drivers and updates.
- After installation finishes, you'll need to activate Windows with your license key within 30 days to avoid restrictions on personalization and updates.
Getting a Windows license and deciding which version
A Windows license is what gives you the legal right to use the operating system. Microsoft sells licenses through retailers like Amazon, Best Buy, and Newegg, or directly from Microsoft.com. The most common version for home users is Windows 11 Home, which costs around $120. Windows 11 Pro costs more and adds features like remote desktop and encryption, but most people don't need it.
When you buy a license, you get a product key — a 25-character code that looks like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Write this down or save it somewhere safe. Some licenses are digital licenses, which tie to your Microsoft account instead of a physical key; Microsoft emails you the details when you buy.
If your PC originally came with Windows but the installation failed or you want a fresh start, you may already have a license. Check your Microsoft account at account.microsoft.com — if Windows was activated on that account before, the license may still be there. You can reinstall without buying a new key.
Creating installation media on another computer
Installation media is a USB drive or DVD that contains the Windows files. You create it on a working computer using the Windows Media Creation Tool, which Microsoft provides for free. You'll need a USB drive with at least 8 GB of space (the files will erase everything on it, so use an empty one or back up what's on it first).
Go to microsoft.com/software-download/windows11 on a computer that already has Windows, Mac, or Linux. Download the Media Creation Tool and run it. The tool will walk you through selecting your language and version, then ask you to plug in your USB drive. It will format the drive and copy the Windows files to it — this takes 10 to 20 minutes depending on your internet speed.
Once the tool finishes, safely eject the USB drive from the computer you used to create it. This drive is now your installation media. Keep it in a safe place — you'll use it on the new PC.
Plugging in the installation media and starting setup
Plug the USB drive into the new PC. Turn the PC on and watch for a message that says "Press any key to boot from USB" or similar — you usually have just a few seconds to press a key. If you miss it, restart the PC and try again. On some newer PCs, you may need to hold down a specific key like F12 or Del while the PC is starting to open the boot menu.
Once the PC boots from the USB drive, the Windows Setup screen will appear. Select your language, time zone, and keyboard layout. Then click "Install Now." Windows will ask for your product key at this point — if you have it, enter it. If you don't have it yet, click "I don't have a product key" and continue. You can add the key later, though Windows will remind you to do so.
Next, you'll choose which version of Windows to install (Home or Pro, if you bought Pro). Then Windows will ask where to install itself. On a new PC with no existing OS, you should see one large unallocated space. Click it and select "Next." Windows will format the drive and begin copying files.
What happens during the installation process
Once Windows starts copying files, the PC will restart several times — this is normal. Each time it restarts, it continues the installation automatically. You don't need to do anything; just let it run. The whole process takes 15 to 30 minutes depending on your PC's speed and your internet connection.
During this time, Windows downloads drivers for your hardware (your graphics card, network adapter, and other components) and installs the latest updates. This is why your PC must be connected to the internet. If you don't have internet access during setup, Windows will still install, but you'll need to download drivers manually afterward.
When installation finishes, the PC will restart one final time and show you the Windows welcome screen. You'll create a user account by entering an email address (your Microsoft account) or a local username. If you use a Microsoft account, Windows will sync your settings across devices and let you recover your account if you forget the password. A local account is simpler if you just want to get your free guide.
Entering your product key and activating Windows
After you create your user account and reach the desktop, Windows will ask for your product key if you didn't enter it during setup. Go to Settings > System > Activation and click "Change product key." Enter your 25-character key and click "Next." Windows will verify the key with Microsoft's servers — this takes a few seconds.
Once Windows confirms your key is valid, it will activate automatically. You'll see "Windows is activated" in the Activation settings. If you don't activate within 30 days, Windows will show a watermark on your desktop and prevent you from changing your background or theme. You can still use the PC, but it's worth activating to remove these limits.
If you bought a digital license instead of a product key, you may not need to enter anything — Windows may recognize your Microsoft account and activate on its own. Check your Activation settings to confirm.
Troubleshooting common installation problems
If the PC won't boot from the USB drive, restart it and try holding down F12, F2, Del, or Esc while it's starting — different manufacturers use different keys. This opens the boot menu, where you can select your USB drive. If you still don't see the USB drive listed, try plugging it into a different USB port on the back of the PC rather than the front.
If Windows installation stops or shows an error partway through, the USB drive may be corrupted. Go back to the computer where you created the installation media, run the Media Creation Tool again, and create a new USB drive. Make sure you're using a different USB drive or that you've backed up anything on the one you're using.
If Windows installs but won't connect to the internet, you may need to install network drivers manually. Go to your PC manufacturer's support website (Dell.com, Lenovo.com, HP.com, etc.), find your PC model, and download the network driver. Copy it to a USB drive on another computer, plug that drive into your new PC, and run the driver installer.
What to do after Windows is installed and activated
Once Windows is activated, you can remove the installation USB drive — you won't need it again unless you want to reinstall Windows later. Windows will automatically download and install updates over the next few hours. Let your PC sit idle for a while so these updates can finish.
Next, install the drivers for any hardware that Windows didn't recognize automatically. Check Device Manager (right-click the Start button and select Device Manager) for any devices with a yellow warning icon. For each one, visit your PC manufacturer's website, download the driver, and run the installer.
Finally, install the software you need — your web browser, productivity apps, antivirus software, and anything else you use regularly. Windows comes with Microsoft Edge as the default browser, but you can download Chrome, Firefox, or another browser if you prefer.
Frequently Asked Questions
Can I install Windows without a product key?
Yes. You can skip entering a product key during setup and continue with installation. Windows will work for 30 days without activation, though you'll see a watermark on your desktop and won't be able to change your background or theme. You must enter a valid key within 30 days to remove these limits and continue using Windows normally.
What if I lost my product key?
If you bought Windows from a retailer, check your email receipt or the packaging it came in. If you activated Windows on a Microsoft account before, sign in at account.microsoft.com and look for your license under "Your devices." If you can't find it, you'll need to buy a new license key.
Do I need internet during Windows installation?
You don't strictly need it to install Windows, but you should have it. Windows downloads drivers and updates during setup, which makes the process faster and ensures your hardware works properly. If you don't have internet, installation will still complete, but you'll need to download and install drivers manually afterward.
Can I use the same product key on multiple PCs?
No. Each product key is licensed for one PC at a time. If you activate a key on a second PC, it will deactivate on the first one. If you need Windows on multiple computers, you need to buy a separate license for each.
What's the difference between Home and Pro?
Windows 11 Home is for personal use and includes everything most people need. Pro adds features like remote desktop (controlling your PC from another computer), BitLocker encryption, and Group Policy tools. Unless your work specifically requires Pro, Home is the right choice.