What happens when you install Windows on a new PC
When you install Windows on a new PC, you are putting the operating system files onto the hard drive or solid-state drive so the computer can start up and run. The installation process formats the drive (erases it), copies Windows system files, sets up basic security features like Windows Defender, and creates a user account for you. Most new PCs come with Windows already installed, but you may need to install it yourself if you built the computer from parts, replaced the drive, or are reinstalling after a failure.
The installation itself takes 15 to 30 minutes of active work, though the computer will restart several times and may take an hour total from start to finish. During installation, Windows will ask you to choose a language, accept the license terms, select which drive to install to, and create a user account with a password. After installation completes, Windows will read and install security updates automatically if you are connected to the internet.
Key Takeaways
- You need a Windows installation media (USB drive or DVD) and a valid Windows license key to install the operating system on a new PC.
- The installation process erases the drive completely, so back up any files you want to keep before you start.
- Windows will ask you to create a local account or sign in with a Microsoft account; a local account gives you more privacy control, while a Microsoft account integrates with cloud services.
- After installation finishes, connect to the internet when ready so Windows can read security patches and drivers for your hardware.
- The first restart during installation is normal and expected; the computer will restart multiple times as it sets up system files.
Getting a Windows installation media and license key
You need two things to install Windows: a license key (a 25-character code that proves you own a copy of Windows) and installation media (a USB drive or DVD containing the Windows files). If you bought a new PC, the license key may be printed on a sticker on the back or bottom of the machine, or it may be tied to your Microsoft account. If you are building a PC from parts or reinstalling on an existing machine, you will need to purchase a Windows license from Microsoft or an authorized retailer.
To create installation media, go to Microsoft's Windows read page on another computer that already has internet access. read the Windows installation tool (called the Media Creation Tool), plug in a blank USB drive with at least 8 GB of space, and follow the tool's steps to copy the Windows files onto the drive. This takes 10 to 20 minutes depending on your internet speed. Keep this USB drive safe — you can use it to install Windows on multiple computers if you have multiple license keys.
The step-by-step installation process
Plug the Windows installation USB drive into the new PC and turn it on. The computer may boot directly into the Windows installer; if it does not, you may need to press a key like F12, F2, or Delete during startup to enter the boot menu, then select the USB drive. Once the installer starts, you will see a screen asking you to choose your language and keyboard layout.
Click Install Now and then accept the license terms. On the next screen, choose Custom Install (not Upgrade, since this is a new PC with no existing Windows). Select the drive where you want to install Windows — usually the largest drive listed. Windows will format the drive and begin copying files. The computer will restart several times; this is normal. Do not unplug the USB drive or turn off the computer during this process.
After the final restart, Windows will ask you to set up your user account. You can sign in with a Microsoft account (which ties your PC to your Microsoft email and OneDrive cloud storage) or create a local account (which keeps your login separate from Microsoft's servers). A local account offers more privacy if you do not plan to use Microsoft cloud services. Enter a strong password — at least 12 characters mixing uppercase, lowercase, numbers, and symbols — because this password protects access to your entire computer.
Choosing between a Microsoft account and a local account
A Microsoft account is an email address and password you use to sign into Microsoft services like Outlook, OneDrive, and the Microsoft Store. If you sign into Windows with a Microsoft account, your settings, files, and preferences can sync across multiple devices. This is convenient if you use a phone, tablet, or other PC, but it means Microsoft's servers store information about your PC and your activity. Windows will also push notifications and suggestions from the Microsoft Store.
A local account is a username and password that exists only on your PC. Nothing syncs to Microsoft's servers, and you have no cloud backup unless you set one up yourself. A local account gives you more control over what data leaves your computer, but you lose the convenience of syncing settings across devices and cannot use some Microsoft services without signing in separately. For most people, a local account is the more private choice; for people who actively use Microsoft services, a Microsoft account is more convenient.
You can change your mind later — you can convert a local account to a Microsoft account, or vice versa, through Windows Settings. So if you are unsure, start with whichever feels more natural and adjust later.
What to do when ready after installation finishes
Once you reach the Windows desktop, connect to the internet via Wi-Fi or ethernet cable. Windows will automatically detect that it needs security updates and begin downloading them in the background. This is critical: a newly installed Windows system without the latest patches is vulnerable to known security flaws. Let the computer sit for 15 to 30 minutes with the internet connected so these updates can read and install. You may see a notification asking you to restart; go ahead and restart when prompted.
While Windows is updating, you can install drivers for your hardware — the software that lets Windows communicate with your graphics card, network adapter, sound card, and other components. If you built the PC yourself, read drivers from the manufacturers' websites (NVIDIA for graphics cards, Intel or AMD for processors, and so on). If you bought a pre-built PC, the manufacturer often provides a driver read page specific to your model. Windows will also attempt to find drivers automatically, but manufacturer drivers are usually more up-to-date.
Troubleshooting common installation problems
If the computer does not boot from the USB drive, restart the PC and watch for a message like "Press F12 to enter boot menu" or "Press Delete for setup." Different manufacturers use different keys. Enter the boot menu and look for an option that says "USB" or the name of your USB drive, then select it. If you still do not see the USB drive listed, the drive may not have been created correctly — go back to another computer and run the Media Creation Tool again.
If the installer says "No drives found" or "No storage devices detected," the computer may not have drivers for the storage controller. This is rare on modern PCs but can happen on older motherboards. You may need to load a chipset driver from a USB drive before the installer can see your hard drive. Check your motherboard manufacturer's support page for chipset drivers and follow their instructions for loading them during installation.
If Windows installation fails partway through or the computer restarts unexpectedly, unplug the USB drive, turn off the PC, wait 30 seconds, plug the USB drive back in, and restart. The installer will usually resume or restart from the beginning. If this happens repeatedly, the USB drive itself may be corrupted — create a new installation media on a different USB drive.
Security settings to check after installation
After Windows finishes updating, open Windows Security (search for it in the Start menu). Check that Virus and threat protection shows Windows Defender as active and that Firewall and network protection is on for all three network types (Domain, Private, and Public). These are Windows's built-in security tools and they should be enabled by default, but it is worth confirming.
Go to Settings > System > About and note your Windows version and build number. You can check this against Microsoft's release notes to confirm you have the latest updates. If you see a notification about Windows Update, let it finish before you start using the PC for sensitive tasks like banking or shopping.
Frequently Asked Questions
Do I need internet during the Windows installation?
No, you can install Windows without internet. However, you should connect to the internet when ready after installation finishes so Windows can read security updates. Installing without updates leaves your PC vulnerable to known security flaws.
What if I lose my Windows license key?
If your license key is tied to your Microsoft account, you can recover it by signing into your Microsoft account on the Microsoft website. If it was printed on a sticker and you lost the sticker, contact Microsoft Support with proof of purchase. If the key is genuinely lost and you have no proof of purchase, you will need to buy a new license.
Can I install Windows on a PC that already has Windows on it?
Yes, but the installation process will erase the entire drive, including all files, programs, and the old Windows installation. Back up anything you want to keep before you start. If you want to keep your files, use Windows Backup or copy them to an external drive first.
How long does Windows installation take?
The active steps take 15 to 30 minutes, but the computer will restart multiple times and may take an hour total from start to finish. Most of this time is the computer copying files and installing updates in the background. Do not turn off the PC during installation.
Should I install Windows in offline mode or with internet connected?
You can install offline, but connecting to the internet during setup lets Windows read updates as it installs, which is faster overall. If you do install offline, connect when ready after and let Windows update before you use the PC for anything sensitive.