BIOS and UEFI settings to optimize an M.2 PCIe NVMe SSD

  • Understanding the difference between M.2 SATA and M.2 NVMe, as well as the role of PCIe x4 mode and shared SATA ports, is essential to avoid losing performance or connectivity.
  • The combination of active UEFI, AHCI mode for SATA, and correct allocation of the M.2 slot in PCIe x4 mode usually offers the best balance between compatibility and speed in NVMe SSDs.
  • To use an NVMe drive as a boot drive, the motherboard must support booting from NVMe and the boot priority must be configured in BIOS/UEFI, either after a clean installation or a system migration/cloning.
  • Updating BIOS/UEFI, enabling TRIM in the operating system, and monitoring SSD temperature help maintain stable performance and extend the lifespan of the NVMe drive.

BIOS and UEFI settings to optimize an M.2 PCIe NVMe SSD

When you first install a M.2 PCIe NVMe SSD And when you see that Windows boots up incredibly fast, it's natural to wonder if you can squeeze even more performance out of it through the BIOS or UEFI. The good news is that, with a few well-made tweaks, you can gain speed and stability and avoid common problems like the system failing to detect the drive or not allowing you to boot from it.

In the following lines we will see, calmly but to the point, how Configure BIOS and UEFI correctly To get the most out of an NVMe SSD, what do options like PCIe x4, AHCI, CSM or Intel RST mean, and what specific features exist depending on the type of motherboard, whether it's a modern ASUS ROG or an older motherboard with a PCIe to M.2 adapter?

Key concepts for understanding and optimizing an NVMe SSD

Before touching anything in the BIOS, it's very helpful to understand a few things. Basic concepts about NVMe, M.2 and interface modesBecause many of the options you'll see in UEFI are related to this and can affect both performance and compatibility.

What is NVMe and why is it so fast?

NVMe stands for Non-Volatile Memory Express, a communication standard designed from the ground up to work with solid-state storage through the PCI Express busUnlike older protocols inherited from the world of mechanical hard drives (such as AHCI for SATA), NVMe uses a simplified and highly efficient command set that allows it to handle many input/output queues in parallel, making better use of the multi-core CPU and modern RAM.

All of this means that an NVMe SSD offers much lower latencies and much higher read/write speeds Compared to a SATA SSD, you'll not only notice that Windows starts up faster, but also that loading games, video projects, 3D scenes, or virtual machines is much smoother.

M.2 interface, key types and SATA vs NVMe differences

The M.2 slot is a physical interface which Intel introduced to replace mSATA. The important detail is that M.2 is just the "connector" and can work with different protocols and buses: Traditional SATA or PCIe with NVMeThat's why not all M.2 units are the same.

Regarding the physical format, M.2 drives use different “Keys"on the connector, which indicate its compatibility:

  • B-key: for M.2 SATA drives and some older NVMe drives.
  • M+B key: compatible with M.2 SATA and certain hybrid NVMe drives.
  • M-key: geared towards NVMe drives that use PCIe x4That is, four PCI Express lanes to maximize bandwidth.
Persistent Memory Storage (PMEM)
Related article:
Persistent Memory Storage (PMEM): What it is and what it's used for

In terms of performance, the difference is enormous: an M.2 SATA is limited by the SATA theoretical bandwidth (approximately 600 MB/s)while an M.2 NVMe via PCIe x4 can reach several GB/s of transfer speeds, easily exceeding the 10 GB/s raw bandwidth depending on the PCIe version and the drive.

PCIe x4 mode and ports shared with SATA

Many modern motherboards allow you to configure the M.2 slots to work in different modes, and this is where the PCIe x4 modeThis mode assigns four PCIe lanes to the M.2 slot, which is ideal for getting the most out of a mid-range or high-end NVMe SSD.

However, those PCIe lanes and available SATA ports share resourcesThat's why in some license plate manuals you'll see messages like:

  • "The M.2 and SATA Express slots support devices in PCIe or SATA mode."
  • “When a PCIe-mode device is installed in the M.2 socket, SATA Express can support either PCIe or SATA devices.”
  • “When a device is installed in SATA mode in the M.2 socket, some specific SATA ports become unavailable or change priority.”

In practical terms, when activating the PCIe x4 mode for your M.2 NVMe It's normal for one or more SATA ports to be disabled or have their performance limited, because the motherboard reallocates resources to prioritize the NVMe SSD. This isn't a bug; it's the expected behavior to get the most out of the fastest drive.

Basic BIOS/UEFI configuration for M.2 PCIe NVMe SSDs

Once you're clear on what you have installed and how it connects, it's time to adjust. BIOS or UEFI to optimize performanceThe general logic is similar across most manufacturers, although the specific menu names may vary.

Update BIOS/UEFI before starting

The first, and often most important, thing is to make sure that the The motherboard has the latest BIOS/UEFI versionMany updates include compatibility improvements specifically for M.2 and NVMe drives, fix detection problems, and add boot support from NVMe on motherboards that initially did not have it fully implemented.

The update is always done by downloading the file from the motherboard manufacturer's website (ASUS, MSI, Gigabyte, Dell, etc.) and using its built-in utility (EZ Flash, M-Flash, Q-Flash…) or the official tool indicated in the manual, and checking the version with a tool such as SpeccyIt is important to avoid power outages during the process to prevent damaging the firmware.

Select AHCI, NVMe and disable unnecessary legacy modes

On modern motherboards with native NVMe support, your priority is for the system to use the AHCI mode for SATA controllers and the standard NVMe controller for PCIe drives. In general:

  • In the storage or “SATA Mode” section, select AHCI if you don't need hardware RAID.
  • On Intel motherboards with Intel RST Premium A combined mode may appear that manages SATA and, sometimes, NVMe. This is useful if you use RAID or cache acceleration, but it can cause problems with third-party tools like Samsung Magician, which sometimes fails to detect drives because they are controlled by RST instead of the standard NVMe driver.
  • If you see a specific option for “NVMe Configuration” or similar in UEFI, check that the drive is listed correctly and is not disabled.

For home or gaming use, the cleanest combination is usually AHCI + native NVMe driversIf you already have Windows installed under Intel RST Premium and everything is working fine, reinstalling isn't "mandatory," but if you want software like Samsung Magician to recognize everything correctly and manage the drive more directly, you should consider switching to AHCI before reinstalling the system.

Configure UEFI mode and CSM

Booting from an NVMe SSD is usually done in pure UEFI modeThat's where the CSM (Compatibility Support Module) comes in, a module that allows emulating Legacy booting for older systems:

  • If your operating system is Windows 8 or 10/11Ideally, you should disable the CSM or put it in UEFI Only mode, so that the firmware boots natively in UEFI and recognizes NVMe boot managers without problems.
  • En Windows 7 It's more complicated because it doesn't come with full NVMe support out of the box, and many motherboards don't allow booting in UEFI mode from these drives if the system was originally installed in Legacy mode. In these cases, you need to carefully review the motherboard manual to see if it supports UEFI booting from NVMe, and if so, it may be necessary to reinstall the system in UEFI mode.

On OEM systems (Dell Alienware, XPS, Inspiron, Latitude, OptiPlex, Vostro, workstations, etc.), the menu may be simpler, but the idea is the same: Enable UEFI, disable Legacy/CSM when you want to use the NVMe as a boot disk.

Secure Boot, TRIM and power saving options

In many UEFIs you will also find the option Secure BootWhile it doesn't directly affect NVMe performance, it does improve boot security and is often required for certain modern Windows features. It's generally best to leave it enabled unless you have a specific reason to disable it.

The support TRIM It's not activated in the BIOS but in the operating system, but it's advisable to check that Windows has it enabled to maintain SSD performance in the long term (and consult if necessary). defragmenting an SSD). You can verify this from the console with the appropriate command (“fsutil behavior query DisableDeleteNotify”) and, if it is active, the system will send TRIM commands to the SSD drives.

As for the energy saving optionsBoth BIOS and Windows have modes that can conflict with NVMe's maximum performance, especially on laptops. If performance is your priority, selecting a "High performance" power profile in the system often helps. In the BIOS, avoid aggressive settings that excessively disable PCIe buses and use tools to... detect hardware bottlenecks.

Example configuration on an ASUS ROG motherboard with an M.2 NVMe slot

BIOS and UEFI settings to optimize an M.2 PCIe NVMe SSD

To put it in context, let's imagine a plate like ASUS ROG Maximus with M.2 PCIe x4 slot. Although the specific menus may vary between models, the configuration flow is usually similar.

Enter BIOS/UEFI

With the PC off, turn it on and repeatedly press the key Delete (DEL) or F2 As soon as the motherboard logo appears, you'll be taken to the UEFI interface, where you'll typically see an "EZ" mode and an "Advanced" mode. To adjust storage settings, it's usually best to enter the advanced mode.

How to avoid scams when buying cheap hard drives
Related article:
How to avoid scams when buying cheap memory and hard drives

Locate the M.2 slot configuration

In the advanced menu, the M.2 slot options usually appear under sections such as “Advanced” → “Onboard Devices Configuration” or directly in a specific storage section. In some cases, the motherboard clearly indicates whether the slot is configured as “SATA” or “PCIe” and even warns which SATA ports will become unavailable if PCIe x4 mode is selected.

What you're trying to do is make sure that the slot in which your M.2 NVMe SSD is working on PCIe mode and, if possible, with four lanes (x4). Some motherboards offer a selector to allocate shared bandwidth between PCIe and SATA; if you want to get the most out of NVMe, prioritize the PCIe x4 mode, even if it means losing one or two SATA ports..

Enable or verify PCIe x4 mode

Once on the appropriate screen, check if your M.2 slot offers an option such as “PCIe Mode”, “M.2 Configuration”,M.2_1 Link Speed"or similar. There you should be able to select:"

  • That it works like PCIe (instead of SATA).
  • The link speed, usually “Auto”, “Gen3”, “Gen4” or “x4”.

For a modern NVMe drive, the most recommended combination is usually PCIe + Auto/x4“Auto” allows UEFI to negotiate the best possible speed with the drive and CPU, while “x4” ensures that all four available lanes are used if the hardware supports it. After saving changes and restarting, Windows should see the NVMe drive running at full speed.

How to use an NVMe SSD as a boot drive in Windows

With the BIOS/UEFI prepared, the next step is to decide how Install or migrate Windows to an NVMe SSDThere are three main paths: clean installation, operating system only migration, or complete cloning of the old disk.

Compatibility requirements and pre-checks

Before anything else, check two important points: that your motherboard It actually supports booting from NVMe and that your operating system is compatible. Windows 10 and 11 support it without problems, and Windows 8 does too, although with some limitations. In Windows 7, however, NVMe support is much more rudimentary and, on some motherboards, completely nonexistent for UEFI booting.

If you are using a laptop, check the manual to confirm that the M.2 slot is not mSATA and that supports NVMe. Never force an M.2 drive into a connector that isn't designed for it. On desktops with PCIe to M.2 adaptersAs with older motherboards without native M.2, there's a key difference: many of these motherboards allow you to use the NVMe drive as a data drive under Windows 10, but they cannot start from it because the firmware doesn't support NVMe booting. In these scenarios, even if the Windows installer detects the drive, you'll see a message like "the hardware cannot boot from this device; configure the BIOS…", when in reality the problem is a firmware limitation.

Method 1: Clean installation of Windows on NVMe

If you want to start from scratch, the typical process is to use a Windows installation USB in UEFI mode:

  • Boot the computer from the installation USB and make sure to do so in UEFI mode (in the boot menu it is usually seen as “UEFI: USB name”).
  • Once the installer loads, choose language, time and currency format, and keyboard method and continues.
  • When you get to the "Where do you want to install Windows?" section, select your NVMe SSD. If you plan to use it only for the operating system, you can delete all existing partitions on that disk and let the installer create the necessary ones automatically.

If your motherboard supports booting from NVMe and UEFI mode is correctly configured, you shouldn't see any "cannot boot from this device" errors. If you do, double-check if the firmware Does it really support NVMe booting, or are you dealing with an older motherboard with a limiting PCIe adapter?

Method 2: Migrate only the operating system to NVMe

For those who don't want to reinstall everything from scratch, there is the option of migrate only the system partition to the NVMe SSD, leaving applications and data intact. Partition management and disk cloning tools allow you to do this with a "Migrate OS to SSD" wizard, copying Windows and its critical files to the new drive and adjusting the boot order.

The advantage of this approach is that you can Avoid reinstalling programs and reconfiguring the systemFurthermore, if the tool supports hot cloning, it's not even necessary to shut down the computer multiple times during the process. However, before launching the migration, it's highly recommended to perform a back up important data on the destination SSD, as those partitions will be erased.

Method 3: Completely clone the old disk to the NVMe

Another possibility is to clone the entire disk (system, programs, data, and partitions) to the NVMe SSD. Many programs include a “Disk cloning assistant” with two main modes:

  • Fast cloning, which copies only the data used and allows cloning to an SSD of lesser capacity than the original disk, as long as everything fits.
  • Sector-by-sector cloning, which replicates the source disk bit by bit; it is mainly used if there are bad sectors and the destination SSD is not smaller.

During cloning, it is important to select any option to “Optimize SSD performance” or “align partitions for SSD”, which adjusts partition boundaries to match the physical blocks of the SSD and improves speed and durability.

After the cloning is complete, the final step is disconnect the old disk or change the boot order Configure the BIOS/UEFI to have your PC boot directly from the NVMe drive. This ensures that Windows uses the new drive as its primary boot device.

BIOS boot configuration: example with MSI

On many motherboards, such as MSI, the boot device setting is done from the menu of "Boot" in BIOS/UEFI:

  • Turn on the PC and press repeatedly Delete, F1 or F2 to enter the setup menu.
  • Go to “Settings” or “Configuration” and then to the section "Boot".
  • Within “Boot Option Priorities”, adjust the Startup option #1 to point to the Windows boot manager on your NVMe SSD, which is usually seen as “Windows Boot Manager (your SSD name)”, and if you want to optimize boot time you can modify the boot configuration with msconfig.

Once the changes are saved, the computer should boot directly from the Windows installed on the NVMeIf you still have the old hard drive connected, make sure not to set it as the boot priority, to avoid confusion or the system continuing to use the old OS.

Specific cases and common problems

Not all systems perform the same with an NVMe SSD, and it's worth discussing some of them. typical scenarios where doubts arise: older motherboards with adapters, conflicts with Intel RST and manufacturer tools, or confusing messages about shared PCIe and SATA ports.

Motherboards without native M.2 and PCIe to M.2 adapters

In older systems, for example a PC with an ASUS P8B75 series motherboard or similar, without an M.2 slot, it is common to use a PCIe to M.2 adapterIn these cases, the following usually happens:

  • Windows 10 detects the NVMe SSD without problems as data unit Once the system is loaded, you can use it to store games, projects, etc.
  • The Windows installer can see the NVMe disk during installation, but when trying to install it displays a warning such as "the hardware does not allow booting from this device; configure the BIOS…".

That message usually indicates that The BIOS does not include NVMe boot supportIn other words, although the operating system, once loaded, can handle the drive, the firmware doesn't know how to boot directly from it, and therefore doesn't recognize it as a system drive. There's no magic BIOS setting to fix this on these motherboards, unless the manufacturer has released a UEFI update with NVMe support (uncommon in very old models). In practice, the best option for these systems is to use the NVMe drive as the system drive. ultra-fast secondary hard drive and keep the boot on a SATA SSD or traditional hard drive.

Intel RST Premium, AHCI and manufacturer utilities (Samsung Magician, etc.)

In some modern systems, especially laptops and recent Intel motherboards, the storage mode appears in BIOS as “Intel RST Premium” instead of classic AHCI. In this mode, the Intel controller manages both SATA drives and, in some cases, NVMe drives, which can offer advantages in RAID configurations or for certain specific functions.

The problem is that, in this scenario, utilities like Samsung Magician or tools like SSD Z Sometimes, NVMe SSDs are not recognized correctly, or messages like "device not supported" or "interface not detected" are displayed, indicating "AHCI Mode: N/A". This doesn't mean the SSD is malfunctioning; it simply means the software isn't directly recognizing the drive because it's being managed by the RST driver.

To get the most out of the NVMe drive in these cases, you can value the change:

  • If you don't use RAID or special Intel features, Consider changing the storage mode to AHCI and use the standard NVMe controller, especially if you're doing a clean install of Windows.
  • If you already have Windows installed under Intel RST and everything is working fine, Reinstalling is not mandatory This is the only reason, unless it causes you specific compatibility problems or you want to make extensive use of the SSD manufacturer's specific optimization tools.

Ultimately, the best configuration depends on whether You prioritize compatibility with third-party tools or the advanced features of Intel RST. For a home user, the native UEFI + AHCI + NVMe combo is usually the simplest and cleanest option.

Messages about shared bandwidth between M.2 and SATA

Many manuals explain things like “when a device is in PCIe mode on M.2, certain SATA ports are disabled” or “the system prioritizes the M.2 socket over SATA Express ports.” This might all sound confusing, but the core idea is simple: The chipset has a limited number of PCIe lanes and effective SATA ports.And when the M.2 slot is activated in PCIe x4 mode, the motherboard "steals" resources from other ports.

The important thing is to check in the Check your motherboard manual to see which specific SATA ports are affected When using an NVMe drive in M.2, avoid connecting critical drives that might not appear later. If you notice that a SATA HDD or SSD disappears after installing the NVMe drive, it's almost certainly connected to one of the resource-sharing ports that are disabled.

Practical recommendations for a stable and fast M.2 PCIe NVMe SSD

With all of the above clear, some points can be summarized. best practices for configuring BIOS/UEFI and Windows When you want to optimize an M.2 PCIe NVMe SSD:

  • Maintain the firmware of the motherboard and SSD updated to the latest stable version.
  • Use Pure UEFI and disable CSM when possible, especially in Windows 10 and 11.
  • Select AHCI mode for SATA unless you really need hardware RAID.
  • Configure the M.2 slot in PCIe x4 mode, assuming the deactivation of some SATA ports if necessary.
  • Set NVMe as first starting option in BIOS once the system is installed.
  • Verify in Windows that TRIM is enabled and use a power plan that doesn't throttle PCIe performance.
  • monitor the NVMe SSD temperature, either from the BIOS or from software in Windows, to prevent it from reaching ranges where it starts to thermal throttling and the speed is reduced.
What is Memory Optimizer and how does it work?
Related article:
Wise Memory Optimizer: How to Optimize Your RAM in Windows

If you follow these steps carefully, understand the limitations of your motherboard (especially on older models with a PCIe to M.2 adapter), and grasp what the messages about shared ports and link modes are actually saying, you'll have your... M.2 PCIe NVMe SSD working under the best possible conditionsWith a fast system startup, very short loading times, and a solid configuration that won't give you any surprises every time you change a disk or update your computer. Share this information so that more people can learn about the topic.