If you've just bought an M.2 SSD or are thinking about upgrading your existing one, it's normal to have questions about how to install, format, and even move Windows without losing data or performance . Between partition styles, BIOS, UEFI, licenses, and mysterious commands, it's easy to get overwhelmed.
In this guide, you'll find step-by-step instructions and detailed explanations for installing and formatting an M.2 SSD in Windows 10 and Windows 11 , whether it's a new drive or one currently acting as your system drive. We'll also cover how to prevent your new PC from booting from the old SSD, how to clean up that drive for use as a secondary drive, and what happens to your Windows license when you switch computers.
What is an M.2 SSD and why is it beneficial to use it with Windows?
An M.2 SSD is a very compact solid-state drive, roughly the size of a RAM stick or a large USB flash drive, designed to be mounted directly onto the motherboard . It doesn't use traditional SATA cables; instead, it's inserted into a dedicated M.2 slot, which simplifies installation and improves performance.
Compared to a 2,5-inch SATA SSD or older mSATA drives, M.2 SSDs offer clear advantages in size, speed, and supported interfaces . Many modern motherboards include multiple M.2 slots, some on the front near the heatsinks and others on the back of the PCB, ideal for installing a second drive.
The latest models can achieve read and write speeds of several gigabytes per second, especially when using the PCIe interface and NVMe protocol . Meanwhile, SATA SSDs are theoretically limited to around 600 MB/s. This difference is noticeable both when starting Windows and when opening resource-intensive programs, loading games, or moving large files.
Another important advantage is compatibility: many M.2 SSDs support PCIe 3.0, PCIe 4.0, PCIe 5.0, SATA 3.0, and even USB 3.0 depending on the model, while mSATA drives are limited to SATA. Furthermore, NVMe M.2 SSDs significantly reduce latency compared to other solutions, resulting in a more immediate system response.
When is it advisable to format or initialize an M.2 SSD?
Formatting an M.2 SSD isn't always necessary, but there are situations where it's almost mandatory. One such situation is when you install a brand-new SSD : Windows detects it, but you won't see it in File Explorer until you initialize it, create a volume, and format it with a file system.
Another very common situation is when the SSD starts acting up: performance drops, strange errors, freezes, or a feeling that everything is running in slow motion . Over time, temporary files accumulate and the system becomes logically fragmented, and although SSDs don't defragment like HDDs, a complete format followed by a clean installation can revive it.
You might also want to change the file system . For example, switching from NTFS to exFAT or FAT32 to make the disk compatible with other devices, or simply to try a different organization. To change the file system of a partition, you usually have to format it, unless you use advanced tools that allow you to convert without losing data.
If you buy a used M.2 SSD or reuse one from another computer, it's always recommended to completely erase it before using it for your data . This prevents carrying over old installations, hidden partitions, and, most importantly, any viruses or malware that might be present on the drive.
Finally, there's a very specific case: when an SSD fails to boot Windows, generates serious errors, or doesn't appear correctly in the system . In these extreme scenarios, sometimes the only options are advanced disk management tools, the command prompt, or a recovery environment booted from a USB drive.
Initialize and prepare a new M.2 SSD from Windows
When you install a brand-new M.2 SSD, Windows detects it at the hardware level, but it doesn't appear in File Explorer until you initialize it and create a volume . This process is done using the Disk Management tool, which is integrated into the system.
Before you begin, make sure your user account is part of the Backup Administrators or Operators group , as you'll need elevated privileges. If you're on your personal PC, your account almost certainly already has administrator privileges.
To open Disk Management with administrator privileges, you can search the Start menu for something like "Create and format hard disk partitions ," right-click the result, and choose "Run as administrator." If it doesn't appear, another option is to open "Computer Management" and, within the "Storage" section, go to "Disk Management."
Once inside, locate the new disk at the bottom: it will appear as "Not Initialized" and with the space marked as unallocated . If the disk is listed as "Offline," right-click on it and select "Online" so the system can access the drive.
Next, right-click on the area that identifies the disk (Disk 1, Disk 2, etc.) and choose the "Initialize disk" option . A dialog box will open where you must confirm that the selected disk is the correct one and choose the partition style: GPT (GUID Partition Table) or MBR (Master Boot Record).

Choose partition style: GPT or MBR on your M.2 SSD
Windows has prioritized the use of GPT for modern disks for years, and most current UEFI-based systems use GPT by default . It's the recommended option for M.2 SSDs, especially if you want to create volumes larger than 2 TB or take full advantage of UEFI firmware.
The MBR style is older and has significant limitations : it doesn't allow partitions larger than 2 TB and only supports up to four primary partitions, unless you use extended partitions. Even so, it can still be useful on very old or 32-bit computers, or on certain removable devices.
In practice, unless you have a very specific reason, it's best to let Windows initialize the M.2 SSD as GPT . If you ever need to convert between GPT and MBR, there are tools that allow you to do so, although it almost always involves erasing the disk.
Once initialization is confirmed, the disk status will briefly change to "Initializing" and, within a few seconds, will change to "Online" with all space as unallocated . From there, you can create one or more volumes and format them with your desired file system.
To do this, right-click on the unallocated space block on the SSD and select "New Simple Volume ." The wizard will guide you through choosing the volume size (usually using the entire disk), assigning a drive letter, and selecting the file system, which will typically be NTFS for use as an internal Windows drive.
Formatting an M.2 SSD in Windows with specialized software
If you're looking to do more than just initialize a new disk, but also format an existing M.2 SSD or change its file system , a very convenient option is to use a dedicated partition management program. These tools simplify tasks that are more limited or cumbersome in the native Windows utility.
With this type of application you can, for example, format an NTFS partition to FAT32 or exFAT on an M.2 SSD with a few clicks, adjust partition sizes, merge them, move them, or change the file system type without having to struggle with various system menus.
The workflow is usually very similar: you select the SSD partition you want to format, choose the new file system, volume label, and cluster size , apply the changes, and confirm when the program warns you about data erasure. In just a few seconds, the drive will be ready.
Beyond formatting, these advanced utilities allow you to solve typical problems with M.2 SSDs , such as when the disk does not appear in Windows 10 or 11, run speed tests to check if it is really performing as it should, monitor the SSD's temperature, or analyze its health status.
Some programs even include features to change file systems without formatting (for example, converting an NTFS partition to another structure while preserving data), clone entire disks, update SSD firmware , or align partitions to improve read and write performance on SSDs, which is especially useful if you have cloned from an old mechanical disk.
Formatting an M.2 SSD from Disk Management
If you don't want to install additional software, Windows lets you format an M.2 SSD directly from the Disk Management tool . It's more limited, but sufficient for many basic tasks such as deleting partitions, changing the file system to NTFS, or creating new volumes.
The procedure is simple: locate the M.2 SSD partition you want to format, right-click on it, and select "Format ." In the window that appears, you can choose the file system (usually NTFS), assign a name to the volume, and decide whether you want a quick or a more thorough format.
When you click OK, Windows will display a warning message indicating that all data on that partition will be lost . If you're sure, confirm and wait for the process to finish. On SSDs, this is usually quite fast, especially if you've checked the quick format box.
Sometimes, the "Format" option may appear grayed out and unavailable. This usually happens when dealing with the system partition in use or certain recovery partitions . In these cases, you'll need to use other methods: booting from an external USB drive, using the command prompt, or using third-party software.
Alternatively, if you want to completely delete all partitions on the M.2 SSD, you can use the "Delete Volume" option on each partition until the entire disk appears as "Unallocated," and then create the partitions from scratch as you wish.
Formatting an M.2 SSD using the command prompt (CMD) or from the BIOS/UEFI
When the system won't boot, the SSD is unstable, or you need to erase a system drive without starting the Windows inside , the most practical thing to do is usually to boot from an external medium (like the Windows installation USB) and use the command console to format.
The usual process involves booting your computer from the Windows 10 or 11 installation USB drive , selecting your language, and on the first screen, choosing the "Repair your computer" option instead of "Install now." From there, you'll access the "Troubleshoot" menu and, within it, "Command Prompt."
Once in the console, a key tool is diskpart . With it, you can list volumes and disks, select the one you want, and format it. For example, you can run a sequence like: diskpart, list volume, select volume X (where X is the volume number of the SSD), and then a format command with the file system you want to use.
If you want to clean an entire disk, not just a partition, the typical steps would be: `list disk`, `select disk X`, `clean`, `create partition primary`, and `format fs=ntfs quick` . The `clean` command erases the partition table and leaves the disk as if it were new, which is very useful when you're going to reuse an SSD as a data drive.
Working from this environment has the advantage that the Windows installed on the SSD is not running , so you can format the system drive without the typical file-in-use protection. However, it is essential to be extremely careful not to select the wrong disk, as a "clean" on the wrong one is irreversible.
Install Windows 10 or 11 on an M.2 SSD from scratch
If you want your system to run incredibly fast, it's recommended to install Windows 10 or 11 directly onto the M.2 SSD . There are two main ways to do this: a clean installation from a USB drive or migrating the system from another already configured drive.
For a clean installation, the first step is to prepare a Windows installation USB drive of at least 8 GB . From another PC with an internet connection, download the official Microsoft media creation tool, run it, and choose the option to create installation media for another computer, selecting the USB flash drive as the destination.
Before you begin, it's a good idea to have your Windows product key handy (if you need it), back up your important files, and, very importantly, physically disconnect any other drives with installed operating systems, so that only the destination M.2 SSD remains connected during the installation.
With the USB drive prepared, boot your computer from it by entering the BIOS/UEFI and changing the boot order so that the computer prioritizes the USB drive. When the installation wizard loads, choose your language, click "Install now," and, if you wish, enter the product key or select "I don't have a product key" to activate it later.
When the installer asks where you want to install Windows, select the M.2 SSD (correct disk and partition) . If the disk is empty, you can create a new primary partition across the entire space. If there are old partitions or remnants of a previous installation, you can delete them and let the installer create the necessary ones automatically.
Migrate your current Windows to an M.2 SSD without reinstalling
The alternative to a clean install is to use operating system migration or cloning software . This option is very convenient if you don't want to reinstall all your programs, settings, and games from scratch, as the wizard copies the system partition (and others, if desired) to the M.2 SSD.
For the migration to work, the M.2 SSD must have enough free space to hold all the contents of the original system drive . If you're short on space, you can shrink the system partition beforehand or clean up unnecessary files to make it fit on the new drive.
It's also important to verify that the partition style of the M.2 SSD matches that of the source disk (GPT or MBR). If not, you'll need to initialize or convert the SSD to the correct style, or change the boot mode in the BIOS/UEFI after the migration to make the system bootable.
The process in most programs is similar: you select the OS migration option, choose the destination M.2 SSD (preferably one without partitions or with the option to delete all existing partitions), adjust the size of the resulting partition if desired, and confirm. After applying the changes, the software clones the system to the SSD.
Once the migration is complete, you'll need to enter the BIOS/UEFI and set the M.2 SSD as the first boot device . Some programs even include tools to manage UEFI boot options from within Windows, but changing it manually in the BIOS is the safest option.
What happens to the Windows license when changing PCs or SSDs?
A very common question when building a new PC or upgrading an SSD is what happens to the Windows 10 or 11 license . Since Microsoft introduced digital licenses linked to the account, activation is more flexible than before, but it depends on the type of original license.
If your Windows was activated as a digital license linked to your Microsoft account , when you sign in with that same account on the new computer, Windows will attempt to reactivate automatically. If it detects significant hardware changes (such as a new motherboard and CPU), it may ask you to use the activation troubleshooter to confirm that it's a new device associated with your account.
In the case of OEM licenses pre-installed on brand-name laptops or PCs, they are theoretically associated with the original motherboard . However, in practice, Windows often reactivates when you change hardware, especially if you continue using the same Microsoft account. In problematic situations, contacting Microsoft support can help.
If you have a retail license purchased separately (a key you entered manually), you can unlink it from one computer and activate it on another . You can check the activation status in Settings > Update & Security > Activation (in Windows 10) or Settings > System > Activation (in Windows 11).
In short, changing your M.2 SSD or even moving a Windows installation to a new PC doesn't automatically mean losing your license . The important thing is that your license is associated with your Microsoft account. And, if necessary, use the activation tools to re-link it to the new hardware.

