What you need before you start

To install Windows from a USB drive, you need a USB stick with at least 8 GB of storage space, a computer that can boot from USB, and a Windows installation file. You also need either a Windows product key (a 25-character code) or a computer that already has Windows activated, since Windows will ask for one during setup.

The USB drive will be erased during this process, so back up anything on it first. If you are installing Windows on a computer that currently has a different operating system or an older version of Windows, make sure you have copied off any files you want to keep from that computer's hard drive.

You will also need a second computer to create the installation USB. That computer needs internet access to download the Windows installation files, which are roughly 5 GB in size.

Key Takeaways

  • You need a USB drive with at least 8 GB of space, a Windows product key or an already-activated computer, and a second computer with internet access to create the installation media.
  • Download the Windows installation tool from Microsoft's website on your second computer, then run it to copy Windows files onto the USB drive.
  • Insert the USB drive into the computer where you want to install Windows, restart it, and press a specific key during startup to boot from the USB instead of the hard drive.
  • The Windows Setup wizard will guide you through choosing a drive to install on, which will erase that drive completely.
  • Installation typically takes 20 to 30 minutes once the setup wizard begins, and your computer will restart several times during the process.

Creating the Windows installation USB on another computer

On a computer that already has Windows installed and internet access, go to Microsoft's Windows download page. Look for the section labeled "Create Windows installation media" and download the Media Creation Tool — this is a small program that downloads the full Windows files and copies them to your USB drive.

Plug in your USB drive, then open the Media Creation Tool. It will ask whether you want to upgrade the current computer or create installation media for another computer — choose "Create installation media for another PC." Select your language, Windows edition (usually Windows 11 Home or Pro), and architecture (64-bit for almost all modern computers). Then choose your USB drive from the list and click Next. The tool will download the Windows files and copy them to the USB drive, which takes 10 to 20 minutes depending on your internet speed.

When the process finishes, safely eject the USB drive from the second computer. Do not unplug it while the tool is still running, or the USB drive may not work.

Booting from the USB drive on your target computer

Plug the USB drive into the computer where you want to install Windows. Restart that computer completely. As soon as it starts back up, before the Windows logo appears, press a specific key to enter the boot menu. The key varies by computer manufacturer — common ones are F12, F2, Esc, or Del. If you are not sure which key, look for a message on the startup screen that says "Press [key] to enter boot menu" or "Press [key] for startup options."

In the boot menu, select your USB drive from the list. It may be labeled with the USB drive's brand name or simply as "USB Device" or "Removable Media." Your computer will then boot from the USB drive instead of the hard drive, and the Windows Setup wizard will appear on your screen.

If you do not see a boot menu, your computer may not support booting from USB, or USB boot may be disabled in the BIOS (the computer's firmware settings). Restarting and trying a different key sometimes works. If that does not help, you may need to enter the BIOS setup and enable USB boot there, though the steps vary widely by manufacturer.

Running the Windows Setup wizard

The Windows Setup wizard will ask you to choose your language, time zone, and keyboard layout. Select the options that match your location and preferences, then click Next.

On the next screen, click "Install Now." Windows will then ask for your product key. If you have one, type it in. If you are reinstalling Windows on a computer that was already activated, you can click "I don't have a product key" — Windows will activate automatically once it connects to the internet and recognizes the hardware.

Accept the license terms, then choose which drive to install Windows on. If your computer has only one hard drive, it will be selected by default. If you have multiple drives, select carefully — the drive you choose will be completely erased. Once you confirm your choice, Windows will begin copying files and installing, which takes 20 to 30 minutes. Your computer will restart several times during this process. Do not unplug it or turn it off.

What happens after installation finishes

When Windows finishes installing, your computer will restart and show the Windows setup screens for creating a user account. You will choose a username, password, and privacy settings. This part takes another 5 to 10 minutes.

Once you reach the Windows desktop, the installation is complete. You can remove the USB drive. Windows will automatically download and install updates from the internet, which may take several minutes or longer depending on how many updates are available. Your computer may restart again during this process.

If you have a product key and did not enter it during setup, you can add it later by opening Settings, going to System, and selecting Activation. Windows will also prompt you to activate if you have not done so within 30 days.

Troubleshooting common problems

If your computer does not recognize the USB drive during startup, try restarting again and pressing the boot menu key earlier — some computers require you to press it very quickly. If that does not work, the USB drive may not have been created correctly. Go back to the second computer, run the Media Creation Tool again, and make sure you selected the correct USB drive before clicking Next.

If Windows Setup starts but then shows an error about missing drivers or hardware, your computer may have a very new motherboard or storage controller that Windows does not recognize. This is rare, but if it happens, you may need to download chipset drivers from your computer manufacturer's website, copy them to a second USB drive, and load them during setup when Windows asks.

If Windows installs but will not start after you remove the USB drive, restart your computer and check the boot order in the BIOS. The hard drive should be listed before the USB drive so that Windows boots from the hard drive instead.

Installing Windows on a Mac or Linux computer

The steps above work for computers running Windows or no operating system at all. If you are installing Windows on an Apple Mac, you will need to use Boot Camp (built into macOS) or third-party software like Parallels Desktop or VMware Fusion, which have different setup processes.

If you are installing Windows on a computer currently running Linux, the process is the same as above — plug in the USB drive, boot from it, and run the Windows Setup wizard. Windows will overwrite Linux completely, so back up any files first.

Frequently Asked Questions

Can I use the same USB drive to install Windows on multiple computers?

Yes. Once you create the installation USB, you can use it on as many computers as you want. Each computer will need its own product key or will need to be activated separately after installation. The USB drive itself is not tied to any one computer.

What if I do not have a second computer to create the USB drive?

You can create the installation USB on any computer with internet access and a USB port — a friend's computer, a library computer, or a computer at work will work. You do not need to own the second computer. Once the USB is created, you can use it on your own computer.

Will installing Windows from USB erase my files?

Yes, the drive you choose during setup will be completely erased. If your computer has multiple drives, you can choose which one to install Windows on. If you have only one drive and want to keep your files, back them up to an external drive or cloud storage before you start.

How long does the whole process take?

Creating the USB drive takes 10 to 20 minutes. The actual Windows installation takes 20 to 30 minutes, plus another 5 to 10 minutes for the initial setup screens. After that, Windows may spend 30 minutes to an hour downloading and installing updates. Total time is usually between one and two hours.

Do I need to keep the USB drive plugged in after Windows is installed?

No. Once Windows is installed and your computer boots from the hard drive, you can remove the USB drive. You can reuse it for other purposes or keep it as a backup installation disk for the future.