Diskpart: Fix RAW Partition in Windows 10/8/7

April 30, 2019

In this article, you can learn how to fix RAW partition via Diskpart command in detail. Besides, you can also know how to repair RAW partition without formatting in Windows 10/8/7 using AOMEI Partition Assistant Standard.

Overview of RAW partition

A RAW partition means a partition without a known/recognizable file system. If Windows operating system cannot recognize the file system of a partition, data in this partition will turn into inaccessible. Generally, RAW issue can happen on hard drives, USB flash drive, SD card, memory card, and other common data storage devices. If your Windows (OS) drive partition becomes RAW, you will be unable to access the system and the Windows will fail to boot up.

The RAW partition usually results from virus infection, damaged file system structure or MBR partition table, formatting failures, bad sectors, unexpected power outage, accidental shutdowns of the OS and more.

How to fix RAW partition via Diskpart (by formatting)?

When a partition becomes RAW, computer users are more likely to run CHKDSK to check bad sectors. However, it will fail with an error message “CHKDSK is not available for RAW drives”. In this situation, Diskpart command line is another choice to fix RAW partition by formatting it to a compatible file system like FAT32 or NTFS. Below is a step-by-step guide to Diskpart fix RAW partition.

Warning: The formatting operation will also destroy all the data saved on the RAW partition. So if you want to fix raw partition without losing data, you'd better recover data from RAW partition via Recoverit Pro first of all, and then perform formatting as below.

Step 1. Open command prompt window: press “Win+R” at the same time and input “cmd” in the Run dialogue window and press Enter.

Step 2. Then input the following command in sequence and press Enter after every command.


list volume: list all the available partitions and drives. Identify which partition is RAW and you need to fix according to the listed partition information. Here, volume 6 is shown as RAW and is the target partition to select.

select volume 6: make sure to choose the correct partition/volume.

format fs=fat32: format RAW partition to FAT32

RAW To FAT32 Diskpart

Step 3. Finally, type “exit” to close the Command Prompt.

If these Diskpart commands process successfully, the RAW partition might get fixed and have been formatted to FAT32.

How to repair RAW partition without formatting in Windows?

Considering that some users are not familiar with using Diskpart to fix RAW partition, or want to repair RAW drive without formatting, here we would like to introduce a versatile freeware: AOMEI Partition Assistant Standard (supporting Windows 10/8.1/8/7/XP/Vista 64-bit and 32-bit). You can use it to rebuild MBR and check bad sectors instead of formatting the RAW partition using command prompt directly to fix the problem, since damaged MBR and bad sectors can also lead to RAW partition.

1.  Rebuild MBR of the RAW drive

Step 1. Download freeware. Install and launch AOMEI Partition Assistant Standard to enter its main interface. Locate and right click the target hard drive and select “Rebuild MBR”.

Rebuild MBR Unallocated

Step 2. Select a proper MBR type for your current operating system and click “OK”.

Set MBR Type

Step 3. Back to the main interface, click “Apply”> “Proceed” to commit the pending operation.


2.  Check bad sectors on the RAW partition

When you cannot run CHKDSK to check bad sectors, you can use AOMEI Partition Assistant to perform such task.

Step 1. Open AOMEI Partition Assistant. Right click the RAW partition and select “Advance”> “Check Partition”.

Check RAW Partition

Step 2. Tick “Check whether there is bad sector on the partition” and click “OK”.

Check Bad Sectors

Step 3. In the Start window, click “Start” and wait for the process to complete.

Start Check RAW Partition

Final Words

Now you are sure to know how to use Diskpart to fix RAW partition by formatting, as well as how to use AOMEI Partition Assistant to repair RAW drive without formatting. Moreover, when you fail to format an over 32GB RAW drive to FAT32 in Diskpart as the steps above, and receive “The volume size is too big” error message, you can also turn to AOMEI Partition Assistant since it can format large hard drive to FAT32 successfully. If you want to enjoy more advanced features like getting back lost partitions, migrating OS drive to SSD, creating Windows to go USB with current system, you can upgrade to AOMEI Partition Assistant Professional.