Software Tutorial
Computer Software
Fixing 'The selected disk is not a fixed MBR disk' error in diskpart
Fixing 'The selected disk is not a fixed MBR disk' error in diskpart
The error "The selected disk is not a fixed MBR disk" primarily occurs when Windows identifies the disk as "removable" instead of "fixed," regardless of partition style. 2. To fix it, ensure the disk is connected internally via SATA or NVMe, not through a USB adapter, and appears as "Fixed" in DiskPart's list disk output. 3. Check for proper SATA port usage, update motherboard firmware or drivers, and disable USB 3.0 emulation in BIOS if needed. 4. Use Windows Storage Spaces or third-party tools like Macrium Reflect if DiskPart operations fail due to the removable flag. 5. Avoid the registry workaround unless experienced, as editing the disk enumeration can risk system instability. 6. Convert the disk to dynamic only after confirming it's recognized as fixed, since mirroring requires both dynamic and fixed status. The root issue is disk classification, not MBR/GPT—native mirroring in DiskPart will fail on removable-labeled disks, so changing hardware or using alternative software is often necessary.

The "The selected disk is not a fixed MBR disk" error in DiskPart usually appears when trying to perform certain operations—like creating a mirror or extending a volume—on a disk that doesn’t meet specific requirements. This error can be confusing, especially if you're working with what you believe is a standard internal hard drive. Here's how to understand and fix it.

What the Error Really Means
Despite what it sounds like, this error isn’t just about MBR vs GPT or partition style. The key part of the message is "not a fixed MBR disk"—but “fixed” here doesn’t refer to the file system or partition table. In Windows disk terminology, "fixed" means a physically attached internal hard drive, as opposed to removable or external drives.
So, even if your disk uses MBR, if Windows detects it as "removable" (like a USB drive), DiskPart will block certain operations (especially RAID/mirror-related commands like add mirror) and show this misleading error.

Common Causes
- The disk is externally connected (e.g., via USB-to-SATA adapter).
- The motherboard or driver identifies the internal disk as removable.
- The disk’s hardware flag (Removable Media Bit) is set incorrectly.
- Using virtual machines or certain SATA/USB enclosures that emulate removable storage.
How to Fix It
1. Check Disk Connection and Type
Ensure the disk is:
- Connected directly via SATA or NVMe (not USB).
- Installed internally, not through a USB adapter.
- Recognized as an internal drive in Device Manager.
If you're using a USB-to-SATA cable, switch to a direct SATA connection if possible. Many USB enclosures cause Windows to label the disk as "removable," triggering this error.

2. Verify Disk Attributes in DiskPart
Open Command Prompt as Administrator and run:
diskpart list disk
Look at the output. If your target disk shows "Removable" under the Type column, that’s the issue.
Example:
Disk 1 Removable 1000 GB 0 B
Even if it's a full-size internal drive, this label will block mirror operations.
3. Check for Hardware-Level Fixes
Some motherboards or chipsets misidentify SATA drives as removable. Try:
- Plugging the drive into a different SATA port (preferably non-USB-based).
- Updating motherboard firmware or SATA drivers.
- Disabling USB 3.0 emulation in BIOS if applicable.
4. Use a Different Tool (If DiskPart Won’t Work)
If you're trying to create a mirror (RAID 1), and DiskPart fails, consider using:
- Windows Storage Spaces (Settings > System > Storage > Advanced storage settings > Disks & volumes > Storage Spaces)
- Third-party tools like Macrium Reflect, AOMEI Backupper, or EaseUS RAID tools
These tools are often more flexible with disk types and can create mirrors even when DiskPart refuses.
5. Registry Workaround (Advanced – Use Caution)
In some cases, you can override the removable flag using the registry, but this is risky and not guaranteed.
- Open Registry Editor (
regedit) as admin. - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\disk\Enum
- Look for entries referencing your disk and check if it's labeled as removable.
- Warning: Editing this incorrectly can break system stability. Only proceed with backups and expertise.
Alternatively, some users have success using third-party tools like HWiNFO or USB Drive Letter Access to force-clear the removable bit, but results vary.
Alternative: Convert to Dynamic Disk (For Mirroring)
If you're trying to create a mirror, the disk must be dynamic, not basic. But you can’t mirror on a "removable" disk even if it's dynamic.
Steps:
- In DiskPart:
select disk X convert dynamic
- Then try:
select disk X add mirror disk=Y
But again, if the disk is flagged as removable, this will still fail.
Bottom Line
The error is misleading—it's not really about MBR. It's about disk type classification. Windows blocks certain operations on disks labeled as "removable," regardless of their actual use.
Best solution:
Ensure the disk is connected internally via SATA or NVMe, appears as "Fixed" indiskpart list disk, and is set to AHCI mode in BIOS. If it still shows as removable, the hardware or enclosure may be the root issue.Basically, if DiskPart sees it as removable, you’re out of luck with native mirroring—switch tools or hardware.
The above is the detailed content of Fixing 'The selected disk is not a fixed MBR disk' error in diskpart. For more information, please follow other related articles on the PHP Chinese website!
Hot AI Tools
Undress AI Tool
Undress images for free
Undresser.AI Undress
AI-powered app for creating realistic nude photos
AI Clothes Remover
Online AI tool for removing clothes from photos.
Clothoff.io
AI clothes remover
Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!
Hot Article
Hot Tools
Notepad++7.3.1
Easy-to-use and free code editor
SublimeText3 Chinese version
Chinese version, very easy to use
Zend Studio 13.0.1
Powerful PHP integrated development environment
Dreamweaver CS6
Visual web development tools
SublimeText3 Mac version
God-level code editing software (SublimeText3)
Fix: Recovery environment not found in Windows 11/10
Apr 28, 2023 pm 04:25 PM
The recovery environment is an integral part of Windows and is usually turned on when your PC encounters a problem. Now, what if your system fails to boot into the recovery environment and displays a "Recovery Environment Not Found" error message? This can be a very serious problem for you as you cannot even reset or repair your system. Fix 1 – Force boot the system into RE If you are unable to boot into the Windows Recovery Environment, you can force boot the system into it. 1. Shut down your computer. 2. After making sure that the device is completely turned off, tap the power button once to start the device. When you reach the manufacturer's logo screen, press and hold the power button again to completely shut down the device. 3. Repeat these force-boot-s again
5 Easy Ways to Format USB to NTFS Windows 11
Apr 13, 2023 pm 04:52 PM
USB drives are a great way to transfer data easily and efficiently. However, over time, your USB drive may lose its performance due to bad sectors or leftover data. If you have been facing performance issues with your USB drive, then formatting it can help you improve the same. NTFS is a widely supported format type in Windows and can help you transfer large amounts of data compared to FAT32. Here's how to format a USB drive to NTFS on Windows 11
How to find which disk is which in diskpart's 'list disk' command
Aug 21, 2025 am 02:07 AM
Usedisksizefromlistdiskoutputtomatchknowndrivecapacities,asDisk0(238GB)likelycorrespondstoa256GBSSD,Disk1(931GB)toa1TBHDD,andDisk2(14GB)toaUSBdrive.2.Cross-referencewithDiskManagement(diskmgmt.msc)toverifydiskhealth,partitionlayout,andvolumelabelsmat
How to fix a disk that is stuck in a 'Read-only' state with diskpart
Aug 06, 2025 am 04:15 AM
RunDiskPartasAdministratorbyopeningCommandPrompt(Admin)andtypingdiskpart.2.Identifytheaffecteddiskusinglistdisk,selectitwithselectdiskX,andcheckitsread-onlystatusviaattributesdisk.3.Cleartheread-onlyflagusingattributesdiskclearreadonlyandconfirmthech
How to use the diskpart command to format a drive in Windows
Aug 05, 2025 pm 01:56 PM
ToformatadriveusingdiskpartinWindows,openCommandPromptasAdministratorbypressingWindows XandselectingCommandPrompt(Admin)orWindowsTerminal(Admin),thenclickYesifpromptedbyUAC;next,typediskparttoenterthetool,listdisktoviewalldrives,selectdiskXreplacingX
How to mount a VHD file as a drive letter using diskpart commands
Aug 13, 2025 am 05:06 AM
OpenCommandPromptasAdministrator.2.Launchdiskpartbytypingdiskpart.3.SelecttheVHDfileusingselectvdiskfile="C:\Path\To\Your\disk.vhd".4.AttachtheVHDwithattachvdisk(orattachvdiskreadonlyforread-onlyaccess).5.Listvolumeswithlistvolume,selectthe
Automating diskpart commands with a script: [How to create a .txt script file]
Aug 07, 2025 am 03:02 AM
To create and use diskpart scripts, you must first write the commands in a text editor and save them as .txt file, and then run diskpart/s execution through the command prompt with administrator permissions. 1. Create a script file: Enter the diskpart command in Notepad, one per line, such as selectdisk0, clean, createpartitionprimary, assignletter=C, formatfs=ntfsquick, exit; 2. Save the file: Save the file in UTF-8 encoded .txt format, such as C:\scripts\clean_drive.txt, pay attention to selecting the "All Files" type
Fixing 'The selected disk is not a fixed MBR disk' error in diskpart
Aug 13, 2025 am 02:12 AM
Theerror"TheselecteddiskisnotafixedMBRdisk"primarilyoccurswhenWindowsidentifiesthediskas"removable"insteadof"fixed,"regardlessofpartitionstyle.2.Tofixit,ensurethediskisconnectedinternallyviaSATAorNVMe,notthroughaUSBadapt


