To install Windows 10 on a new hard drive or SSD, fit the drive, unplug the old one if you can, start the PC from a Windows 10 USB drive made with Microsoft’s Media Creation Tool, choose Custom: Install Windows only (advanced), and select the new drive’s Unallocated Space. Windows Setup creates the partitions it needs, and a PC that was already activated usually reactivates on its own once it’s online.
These steps cover Windows 10 version 22H2 (the version Microsoft’s download page offers) on a desktop or laptop where you’re replacing or adding the drive Windows will run from. Windows 10 reached end of support on October 14, 2025, so a fresh install gets no security updates unless you enroll in Extended Security Updates (ESU), which run until October 12, 2027. If the PC meets Windows 11’s requirements, a new drive is a good moment to install Windows 11 instead; the drive-related steps below are almost the same. If the PC meets the requirements for Windows 11, this guide to installing Windows covers putting Windows 11 on it instead.
Fresh install or move your current Windows?
A fresh install puts a clean copy of Windows 10 on the new drive. You then reinstall your apps and copy your files back. It’s the right choice when the old drive has failed, when your current Windows is slow or unreliable, or when you simply want a clean start. Since nothing carries over on its own, copy your files first using one of the methods for backing up Windows 10 to an external drive or OneDrive. If you are keeping the same drive and only want to wipe it and reinstall, this Windows 10 clean install walkthrough also compares that route with Reset this PC.
If you want to keep everything exactly as it is (apps, settings and files), cloning is the better route. Windows doesn’t include a cloning tool, so you’d use the drive maker’s migration software or another cloning app; you can move your existing Windows installation to the new drive instead of reinstalling, and the rest of this article won’t apply.
What you need before you start
- A Windows 10 USB installer. You need a working Windows PC, an internet connection and a blank USB flash drive of at least 8 GB. Microsoft’s tool erases everything on the flash drive.
- A license. If this PC already ran activated Windows 10, it has a digital license and you can usually skip the product key. Otherwise, have your 25-character product key ready, or plan to buy a license after setup.
- A backup of anything on the old drive. If the old drive still works, copy your files to an external drive or cloud storage now, even if you plan to keep the drive. You’ll also want a list of the apps you use and any license keys for them.
- Your BitLocker recovery key if the old drive is encrypted with BitLocker or device encryption. You’ll need it later to open that drive from your new Windows installation. Most personal keys are saved in your Microsoft account at aka.ms/myrecoverykey.
- Your PC maker’s storage driver for laptops and desktops with recent Intel processors (see the section on a missing drive below). Download it from the maker’s support page for your exact model and copy it to the USB stick or a second one.
- The right drive and tools. Check that the new drive fits your PC: a 2.5-inch SATA drive, a 3.5-inch desktop hard drive, or an M.2 SSD. M.2 slots can be SATA, NVMe or both, so check the PC or motherboard manual. You’ll usually need a small Phillips screwdriver.
Fit the new drive and check that the PC sees it
- Shut the PC down and unplug it. On a laptop, follow the maker’s service instructions for removing the bottom cover and, if they say so, disconnect the internal battery.
- Install the drive. A SATA drive needs two connections: a SATA data cable to the motherboard and a SATA power cable from the power supply (laptop bays combine these in one connector). An M.2 SSD slides into the M.2 slot at an angle and is held flat with a small screw or latch.
- Disconnect the old drive if you can, and unplug your external backup drive and any other USB storage except the installer. With only the new drive connected, you can’t erase the wrong disk by mistake in Setup, and it helps make sure Windows puts its startup files on the new drive. You can reconnect the old drive once Windows is running.
- Check the firmware. Turn the PC on and open its BIOS or UEFI settings (often F2 or Delete right after power-on). Look on the main, storage or boot screen for the new drive’s model or size. If it isn’t listed, reseat the drive and its cables before you go any further; Windows Setup won’t find a drive that the firmware can’t see.
A new drive doesn’t need to be formatted or initialized before you install Windows. Setup handles a blank drive on its own.
Make the Windows 10 installation USB
On a working Windows PC, open Microsoft’s Download Windows 10 page, select Download Now under Create Windows 10 installation media, and run the tool. Accept the license terms, choose Create installation media (USB flash drive, DVD, or ISO file) for another PC, check the language, edition and architecture (64-bit for nearly every modern PC), then choose USB flash drive and pick your flash drive. You need to be an administrator on that PC to run the tool. If you’d like every screen explained, follow these steps for creating a bootable Windows 10 USB drive, which also covers what to do when the tool doesn’t list your flash drive.
Install Windows 10 on the new drive
- Start the PC from the USB drive. Plug the installer into the PC with the new drive and turn it on. If it doesn’t start from the USB drive by itself, press the boot menu key (often F2, F12, Delete or Esc, depending on the maker) right after power-on and pick the USB drive. If the USB drive isn’t in the list, check your PC maker’s instructions for temporarily turning off Secure Boot. Turn it back on after setup. Boot menu key examples for HP, Dell and Surface PCs, and what to do when the drive isn’t listed, are covered in how to boot from USB in Windows 10.
- Choose your language and keyboard. On the first Windows Setup screen, check the language, time and currency format, and keyboard, then select Next.
- Select Install now. (If your screen says Install Windows instead, select that.)
- Enter a product key or skip it. Type your key, or select I don’t have a product key. Skip it if this PC already had activated Windows 10, because the digital license will activate the same edition later.
- Pick the edition if Setup asks. Choose the one your license covers, such as Windows 10 Home or Windows 10 Pro. Picking the wrong one means Windows won’t activate.
- Accept the license terms and select Next, then choose Custom: Install Windows only (advanced). The Upgrade option only works from inside an existing Windows installation, so it isn’t what you want here.
Read this before you choose a drive
The next screen, Where do you want to install Windows?, is where data gets erased. Whatever you delete or format here is gone, and Setup doesn’t ask you to confirm which physical drive it belongs to. Microsoft’s own instructions warn that on a PC with several drives you must make sure you’re deleting partitions on the correct one.
- A brand-new drive shows up as a single line such as Drive 0 Unallocated Space, with a total size that matches the drive you bought. You don’t need to delete anything.
- If you see more than one drive (Drive 0, Drive 1 and so on), the old drive is still connected. Use the sizes to tell them apart, or shut down and disconnect the old drive now, which is the safer choice.
- If the new drive was used before and already has partitions, delete only the partitions listed under that drive’s number until it shows as one block of unallocated space.
- Select the new drive’s unallocated space and select Next. Don’t create partitions yourself unless you want a separate data partition; Setup creates the hidden EFI system, recovery and other partitions Windows needs.
- Wait while Windows installs. The PC restarts several times. If it boots back into the first Setup screen after a restart, remove the USB drive and restart again so it starts from the new drive.
- Answer the setup questions. Choose your region and keyboard layout, connect to a network, and sign in. Signing in with a Microsoft account links your digital license to it, which makes reactivating after future hardware changes much easier. Then review the privacy settings and continue to the desktop.
If Setup doesn’t show the new drive
An empty drive list (often with a prompt to load a driver) means Windows Setup can’t talk to the drive. Work through these causes in order:
- The drive isn’t detected at all. If the firmware doesn’t list it either, the problem is physical: a loose SATA data or power cable, an M.2 SSD that isn’t fully seated, or an M.2 drive type the slot doesn’t support (for example an NVMe SSD in a SATA-only slot).
- Setup needs a storage driver. Many PCs with Intel 11th Gen and newer processors use Intel Volume Management Device (VMD). Dell, for example, says Windows 10 and 11 retail installs on its 11th to 14th Gen Intel systems can’t find any drives until you load the Intel Rapid Storage Technology (IRST) driver. Download the IRST or storage driver for your model from your PC maker, extract it to a USB stick, then on the drive screen select Load driver, select Browse, open the folder with the driver and select the controller it lists (for VMD, usually one named Intel RST VMD Controller). Select Next and the drive should appear. Other makers’ folder names differ, so follow their support page.
- The PC uses a RAID setup. Desktops with two or more drives set up as RAID also need the maker’s RAID driver loaded the same way.
“Windows cannot be installed to this disk”
This message appears when the drive’s partition style doesn’t match how the PC started. A PC started in UEFI mode needs a GPT drive, while the older legacy BIOS mode needs an MBR drive. A brand-new drive rarely causes this because it has no partition style yet. On a used drive, the simplest fix is to delete that drive’s partitions (after checking it’s the right drive) and select the unallocated space; Setup then formats it to match the boot mode. Most PCs from recent years start in UEFI mode, which is what you want, because Windows 11 requires it if you upgrade later. If the boot menu shows two entries for the same flash drive, such as UEFI: USB Drive and a second one without UEFI, each one starts the PC in a different mode, so choose the UEFI one.
Finish setting up Windows 10
- Install updates. Go to Settings > Update & Security > Windows Update and select Check for updates. Restart and repeat until nothing new appears.
- Fill in missing drivers. Right-click Start, open Device Manager and look for devices with a yellow warning icon. Get those drivers from your PC or motherboard maker’s support page.
- Check activation. Go to Settings > Update & Security > Activation. If it says Windows is activated, you’re done. If not, see the next section.
- Enroll in ESU to keep getting security updates. On the Windows Update page, select Enroll now when it’s offered. Home users can enroll free by syncing PC settings with Windows Backup, by redeeming 1,000 Microsoft Rewards points, or with a one-time $30 purchase. You need to sign in with a Microsoft account that has administrator rights.
- Restore your files and reinstall apps from your backup or the old drive.
If Windows 10 doesn’t activate after the drive swap
A digital license belongs to the PC’s hardware, not to the drive. Microsoft describes a significant hardware change with the example of replacing the motherboard, so swapping only the drive in the same PC usually reactivates automatically once you’re online. Give it a little time and restart once.
If it still says Windows isn’t activated, open Settings > Update & Security > Activation > Troubleshoot while signed in as an administrator. If the troubleshooter says Windows can’t be activated, select I changed hardware on this device recently, sign in with the Microsoft account linked to the license, select the check box next to This is the device I’m using right now, and select Activate. This only works if the license was linked to that Microsoft account before the change, and the edition (Home or Pro) has to match what the PC had before. Microsoft’s page on reactivating Windows after a hardware change covers the other activation messages. If you used a product key originally, enter the same key under Change product key on the Activation page.
A PC that never had Windows 10 needs its own license: on the Activation page, select Go to Store to see the license Microsoft offers in the Microsoft Store app, or enter a product key from Microsoft or an authorized retailer. If the whole computer is new rather than just the drive, the walkthrough for installing Windows 10 on a new PC covers editions, account choices and drivers in more depth.
What to do with the old drive
Reconnect the old drive only after Windows is running from the new one. If the PC then starts from the old drive, open the firmware settings and move the new drive (or the Windows Boot Manager entry for it) to the top of the boot order. Once Windows is running from the new drive, you can format the old hard drive in Windows 10 and keep it as extra storage.
- Copy your files. The old drive appears in File Explorer under This PC with its own drive letter. Your files are usually in the Users folder on that drive.
- Unlock it if it’s encrypted. A BitLocker-protected drive shows a lock icon. Double-click it and enter its password or, if asked, the 48-digit recovery key.
- Keep it as a fallback for a few days. Leaving the old drive untouched until you’re happy with the new installation means you can put it back if something goes wrong.
- Reuse it as extra storage. Deleting volumes erases everything on that drive, so do this only after you’ve copied everything you need, and double-check the disk number and size first. Then open Disk Management (right-click Start), delete the old drive’s volumes, and create a new volume in the unallocated space. To split the space into several sections, see how partitioning a hard drive on Windows 10 works with the Shrink Volume and New Simple Volume tools.
Check that it worked
- Press Windows key + R, type winver and press Enter. The window should show Windows 10, version 22H2.
- Open Disk Management. The C: volume should be on the new disk (match the size), marked Boot, with a small EFI System Partition beside it.
- The Activation page says Windows is activated, and Device Manager shows no warning icons.
To undo the whole thing on a PC where the old drive still works, shut down, reconnect the old drive as the boot drive (or remove the new one), and the PC starts just as it did before, as long as you didn’t delete anything on the old drive during Setup.
Common questions about installing Windows 10 on a new drive
Can I use my old product key on the new drive?
Yes, on the same PC, as described in the activation section above. A license that came preinstalled by the PC maker is generally tied to that original PC, so don’t count on moving it to a different computer.
Will Windows 10 install on a drive in a USB enclosure?
Don’t plan on it. Windows 10 is meant to run from an internal drive, and Microsoft removed Windows To Go, the feature for running Windows from a USB drive, in Windows 10 version 2004. A USB adapter or enclosure is still handy for cloning or for reading the old drive afterward, but fit the new drive inside the PC before you install.
Once Windows 10 is activated and updated on the new drive, make your first backup of the new setup so you have a clean restore point to fall back on.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.