Main Content

Windows Was Unable To Complete The Format

If you are getting this error then most likely the drive you wish to format is making use of a file system that is unknown to Windows. In my case I come across this error because I tend to boot different OS from USB drives and they use file systems that are unknown to Windows.

In order to make the USB drive usable again you will need to make light use of the command line with tools provided by microsoft.

For this tutorial I’ve prepared a 512MB USB drive previously used to boot Monowall and because it uses a file system that Windows is unable to read it results in the ‘Unable To Complete The Format’ error. While the Windows GUI refuses to format a drive, thanks to the command line the story is different.

The How To

Start by opening a new Command Prompt.

Unable To Format

Type diskpart.

A

Diskpart will help us find and select the drive that refuses to format. In the screenshot below my 512MB USB drive was recognized as Disk 4.

a

Type select disk 4.

a

Type clean.

a

Let’s create the primary partition by typing create partition primary.

a

Format the drive using FAT32, format fs=fat32 quick. Include the word quick, otherwise the process will take longer.

a

And assign.

a

Now that we are done type exit.

a

Because the drive was formatted using FAT32 Windows now recognizes the 512MB USB Drive.

a

Hopefully, you found this tutorial easy to follow. If you have any questions leave a comment below and I will reply as soon as possible.

Comments

  1. Commented on
    Comment by Neel

    please help me?

    1. Commented on
      Comment by Luis Ventura

      You need to be more specific.

  2. Commented on
    Comment by Huzair

    The command prompt displays just my hard disk labeling it “disk 0”, no memory card displayed. I tried to use a software named SDFormatter, but it says the memory card is write protected. Please help!

  3. Commented on
    Comment by ashwini

    I got through till format fs=f32 quick..and then it showed ‘0% completed.Virtual Disk Service error: The file system is incompatible.’
    please help!

  4. Commented on
    Comment by jordan

    thnks dude

  5. Commented on
    Comment by Ozbby

    i tried but it says the drive is write protected…how do i go about this? Help me

    1. Commented on
      Comment by Yehmmy Olajire

      Write Protection removal

      You can
      remove write protection from your usb flash drive using the below method:

      a. Open
      start menu, in the search bar type regedit and press enter. This wil open the
      registry editor.

      b.
      Navigate to the following path:

      HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies

      Note:

      If the registry key StorageDevicePolicies does not exist, you will need to
      create it manually.

      c. Highlight StorageDevicePolicies, and then create a New DWORD (32-bit) Value
      named as WriteProtect.

      d. Double click the key WriteProtect in the right window and set the value to 0
      in the Value

      Data Box and press OK button

      e. Restart your computer and try copying files into your USB drives.

  6. Commented on
    Comment by Alex

    Thanks!
    It worked after the Universal USB Installer screwed up my pen drive.

  7. Commented on
    Comment by Marcelo Costanzo

    1- Thank you very much, it show me the way!
    2- I tried to use an external 500GB SATA disk, but in order to make it work, you have to:
    – first: connect your disk;
    – second: cancel windows attempt to format it;
    – third: do all steps above mentioned on your article, otherwise disk part won’t recognize nor see the SATA disk.
    3- It also worked formating this 500GB SATA disk (465GB). You just have to type ” format fs=ntfs quick”, without the quotes, instead of FAT32.

  8. Commented on
    Comment by Akhona

    I just did the steps above and now it tells me that the volume is too small, please assist.

  9. Commented on
    Comment by elroy

    I can format to fat32 but unable to NTFS
    using a baseline 32gig usb stick

  10. Commented on
    Comment by sbeinati

    thank u it give me this messege can you help me pls

    diskpart has encountered an error: the request could not be performed because of an i/o device error.
    see the system event log for more information.

  11. Commented on
    Comment by nisarg71

    hey there bro i have extra 500gb hard disk so i connected that in my pc with sata cable

    but i had same problem window can’t format error.

    so i did as ur explanation but at format step

    when i try to format drive with “format fs=ntfs quick”

    it says
    Diskpart has encounterd an error : the parameter is incorrect.see the system event log for more information,,

    would u pl z help me out…

    thanks in advance…

  12. Commented on
    Comment by STANLEY

    The flash disk i am trying to format using your method, is being recognized by my computer as removable disk G,but when I right click on it then properties it shows no free space and 0 bytes , but windows is unable to format it, so I try to format using your method,on CMD i type diskpart then list disk, my 2GB USB is not recognized, how can I solve this

  13. Commented on
    Comment by navin

    Thank You for the info, but i’m unable to execute the ‘clean’ command. the error is as follows
    “DiskPart has encountered an error: Data error (cyclic redundancy check).
    See the System Event Log for more information.”
    Please help me out

  14. Commented on
    Comment by Nisarg

    You are champ…i formatted my external harddrive with ubuntu linux and after that i was unable to use it in windows and also was not able to format.
    These steps helped.
    Just a correction – in below step :
    format fs=fat32 quick
    use : format fs=exfat quick if you are using windows 7.

  15. Commented on
    Comment by Xavier

    I have 500GB Toshiba external HD. I have similar case of window could not complete format. When I read through this amazing steps i followed the step and it was successful formatted and assign a name. Aftermath, I try to open it but keep wanting me to format and still showing RAW instead of primary. Please what do I do because it shall be painful it’s not up to a month since I bought it. email: xavijnr@gmail.com. thanks

  16. Commented on
    Comment by ankit

    hey bro when i wrote “list disk” as u guided it showed only disk 0 only . what happened and what to do now

  17. Commented on
    Comment by Anish

    I’m using HP laptop with 500gb hardisk and 3days back while suffring net it hang up and shows error and aftrthat it wont startup again i tried to repair thru disk then it wont hpnd and now hard disk is detecting by windws while installing. wht to do? please guide me. I put it as extrnal hard disk and trying to farmat and again reinstall it into lape bt error came ‘windows is unable to format this drive. please help me out. it is my 2nd hard disk yaar.

  18. Commented on
    Comment by shankar

    when i type create primary partition i have encountered an error saying that diskpart has encountered an error:data error(cyclic redundancy check).see the systdem log for more information pls help me

    1. Commented on
      Comment by yan

      no one do answer this .. i have the same problem,

  19. Commented on
    Comment by xperia

    tank you

  20. Commented on
    Comment by ugo

    This was so so helpful…..tanks a bunch Luis!!!

  21. Commented on
    Comment by reng

    hello, thanks for saving my usb flash drive!

    god bless!

    1. Commented on
      Comment by Luis Ventura

      I am happy the post helped you and thank you for taking the time to comment.

  22. Commented on
    Comment by dolan

    You are amazing. I saved many hours and lot of money using your instruction to solve this problem. Thanks for that.

  23. Commented on
    Comment by pit

    Great post, and Great Thanks!

  24. Commented on
    Comment by X-0

    this is fking AWESOME.. truly the medicine for this sickness.. Thanx!

  25. Commented on
    Comment by SlowLearner

    I tried to use you method but after typing DISKPART nothing is happening even my C drive is not displayed. please assist

  26. Commented on
    Comment by SlowLearner

    After typing List disk it display on C drive, D and F drive are not dispalyed

  27. Commented on
    Comment by Santosh Ghimire

    I have try all about above but still it wont work.
    i havent any idea what to do, bye new 1 or throw it…
    plz help

  28. Commented on

    Luis, this is the exact method i used to format my c: drive – the drive where i have my windows 7 installed. But i had not included the ‘Quick’ command,

    I was wondering if I give the command “CLEAN”, then would it delete all the files on my C:drive. Remember, my C DRIVE is in PARTITION 2 and there are other partitions on the same DISK … that is DISK 0 … so my question would be, if I CLEAN the disk 0, would i lose all other partition’s files on it?

    In short, how do I clean and format my C DRIVE which is in PARTITION 2 inside DISK 0?

  29. Commented on
    Comment by hp

    i can’t format my pendrive in your method

  30. Commented on
    Comment by hp

    When i am formatting my flash drive in cmd it was telling the parameter is incorrect.see the system event log for more information?

  31. Commented on
    Comment by djeah

    THANK YOU! This worked flawlessly!

  32. Commented on
    Comment by atish

    When i am formatting my flash drive in cmd it was telling the parameter is incorrect.see the system event log for more information?

  33. Commented on
    Comment by Kamal Ejjaafari

    unable to format my disk 1 to NTFS forma !!, when i try FAT its working , but to use it like a boot flash i must make it NTFS.

    I cant format my disk 1 to NTFS !!

  34. Commented on
    Comment by alsa

    I got through till format fs=f32 quick..and then it showed ‘0% completed.Virtual Disk Service error: The file system is incompatible.’
    please help!

  35. Commented on
    Comment by Raye Person

    Will this process work with cd drives?

    1. Commented on
      Comment by luisventura

      No, I don’t think this method works with optical media.

  36. Commented on
    Comment by djon

    i did it as u said it bro but
    it says
    Diskpart has encounterd an error : the parameter is incorrect.see the system event log for more information,,

    would u pl z help me out…

  37. Commented on
    Comment by Neelu

    don’t show online diskpart…But Device mange is show my Pen Drive..4GB

  38. Commented on
    Comment by Ugo Jadrijevic

    Thank you! This saved my USB drive.

  39. Commented on
    Comment by gabi

    tnx alot i tryed awery thing and only this worked

  40. Commented on
    Comment by prat

    after typing the format command it shows parameter is incorrect

    i tried fat32,ntfs,exfat all three all showed the same error

  41. Commented on
    Comment by Niki

    That’s so coooooool!! Thank you!

  42. Commented on
    Comment by Sincere Imaikop

    I have a 298 GB external hard that has refuse to work, I have been trying to format it, even with Disk Management, No way untill i found this procedures,

    i followed all uptill CREATE PARTITION PRIMARY. when the system return error,

    Diskpart has encountered an error: Data error (cyclic redundancy check) see the system even log for more information.

    What should I do please

    1. Commented on
      Comment by haneefa

      dear i have the same problem, did u fix it if so let me know how.
      haneefa@gmail.com

  43. Commented on
    Comment by SiddhantKankaria

    Hi!
    I have a 16GB SanDisk flash drive which recently stopped working.
    It shows that the size is only 64MB and Windows cannot format it either.
    Following your tutorial, the following error occured when creating the partition primary:

    DISKPART> create partition primary

    No usable free extent could be found. It may be that there is insufficient free space to create a partition at the specified size and offset. Specify different size and offset values or don’t specify either to create the maximum sized partition. It may be that the disk is partitioned using the MBR disk partitioning format and the disk contains either 4 primary partitions, (no more partitions may be created), or 3 primary partitions and one extended partition, (only logical drives may be created).

    Please help! I have tried many other ways, but in vain. πŸ™

    Siddhant

    1. Commented on
      Comment by PHZ

      Type in “clean” as indicated above to clean the partition. The retry creating the partition.

    2. Commented on
      Comment by Qwerty86

      Hey there, do you find a solution

      1. Commented on
        Comment by SiddhantKankaria

        Hi,
        Unfortunately no. Got my flash drive replaced from SanDisk as it was under warranty.

        1. Commented on
          Comment by Chetan

          i Have exact same product and same proble, from where did you get it replaced ?

          1. Commented on
            Comment by SiddhantKankaria

            From SanDisk support. Here’s the email ID: support@sandisk.com
            I took about a month for the whole process. The new pendrive was delivered to my house.

  44. Commented on
    Comment by nithya s

    when i enter clean command it says , diskpart has encountered an error , the system cannot find file specified , see the system log for more information . can u help me ?

    1. Commented on
      Comment by anshul

      use this:format fs=exfat

  45. Commented on
    Comment by Shubham Agarwal

    great!!! worked fantastically!!

  46. Commented on
    Comment by MB

    Help please!!!! when I want to format everything goes right, but it brings me an error message at the end its says that your HDD is big enough to format it and for more information I want to format a 750 GB HDD, can anyone help me, Thank you in Advance.

  47. Commented on
    Comment by Sethu

    when i enter clean command it says , diskpart has encountered an error , the system cannot find file specified , see the system log for more information . can u help me ?

  48. Commented on
    Comment by Mogesie Gedamu

    Hello there! when i wrote “list disk” as u guided it showed only disk 0 online. so i can’t see other disk parts to select my formatting disk. so what happened ???

  49. Commented on
    Comment by Akib

    it says volume size too small, i have a 32gb toshiba usb flash disk πŸ™ this is so annoying

    1. Commented on
      Comment by Amar

      same

  50. Commented on
    Comment by karaje

    i got an error when clean the selected disk
    Diskpart has encounter an error: the system cannot find the file specified.
    see the system event log for information

  51. Commented on
    Comment by chuchma

    Everything worked great. thank you!!! The only problem I encountered was when I typed “format fs=fat32 quick”, it did not work, so I tried
    “format fs=ntfs quick” and it worked flawlessly. I don’t think it’ll matter, right? it’s my external HD and my laptop is running Vista.

  52. Commented on
    Comment by twister

    my memory card is not showing when i type list disk.. why??

  53. Commented on
    Comment by rune man

    Anytime i put create partition primary it says no usable extent

  54. Commented on
    Comment by Qwerty86

    DISKPART> select disk 1

    Disk 1 is now the selected disk.

    DISKPART> clean

    DiskPart succeeded in cleaning the disk.

    DISKPART> create partition primary

    No usable free extent could be found. It may be that there is insufficient
    free space to create a partition at the specified size and offset. Specify
    different size and offset values or don’t specify either to create the
    maximum sized partition. It may be that the disk is partitioned using the MBR di
    sk
    partitioning format and the disk contains either 4 primary partitions, (no
    more partitions may be created), or 3 primary partitions and one extended
    partition, (only logical drives may be created).

    Pls, Help me, what i do next? πŸ™

    1. Commented on
      Comment by Amar

      Same problem . did you complete any other process>??

  55. Commented on
    Comment by sathy

    thank u ……it works out

  56. Commented on
    Comment by paul

    THANK YOU SO MUCH LUIS, for posting these easy-to-follow screenshot instruction!. I managed to format a 500GB disk which I thought was beyond rescue. I formatted it to exFAT and then reformatted it to NTFS. Your help is much appreciated!

  57. Commented on
    Comment by Prabhu kumar

    It’s giving 0 percentage completed Virtual disk service error:volume size is too big

  58. Commented on
    Comment by Penh sokra

    hi I have usb 8gb PNY i can’t format message window was unable to complete the format and i try follow u but have problem

  59. Commented on
    Comment by ashok

    in the very second step i could not get seen my disk in the list showing its memory size. what should i do now?

  60. Commented on
    Comment by Momen

    with me after the clean all step it says diskpart has encountered an error data error cyclic redundancy check
    please help!!!

  61. Commented on
    Comment by Manoj

    DISKPART> create partition primary

    No usable free extent could be found. It may be that there is insufficient
    free space to create a partition at the specified size and offset. Specify
    different size and offset values or don’t specify either to create the
    maximum sized partition. It may be that the disk is partitioned using the MBR di
    sk
    partitioning format and the disk contains either 4 primary partitions, (no
    more partitions may be created), or 3 primary partitions and one extended
    partition, (only logical drives may be created).

  62. Commented on
    Comment by Xiaodong Fan

    on topic error message “windows was unable to complete the format”, following page may help you: http://www.eassos.com/how-to/windows-was-unable-to-complete-the-format.php

  63. Commented on
    Comment by Ridwan

    THANK YOUU BROOOO, YOU SAVE MY FLASHDISK :DDDDDDDDDDDDDDDDD

  64. Commented on
    Comment by Binny George

    (disk part has encountered an error;the system is not ready)

    this is showing plz help anyone

  65. Commented on
    Comment by Domen Valentinuzzi

    i need to thank the author of this tutorial thank you very much it worked πŸ™‚ my usb drive is back allive

  66. Commented on
    Comment by AMIT KUMAR SRIVASTAVA

    No usable free extent could be found. It may be that there is insufficient
    free space to create a partition at the specified size and offset. Specify
    different size and offset values or don’t specify either to create the
    maximum sized partition. It may be that the disk is partitioned using the MBR di
    sk
    partitioning format and the disk contains either 4 primary partitions, (no
    more partitions may be created), or 3 primary partitions and one extended
    partition, (only logical drives may be created).
    this message come when i type create partition primary

  67. Commented on
    Comment by Kelum Perera

    DISKPART> select Disk 1
    Disk 1 is now the selected disk

    DISKPART> clean
    Virtual disk service error
    There is no media in this device

    How can I format this device?

    1. Commented on
      Comment by Amar

      Same problem

  68. Commented on
    Comment by Amar

    Microsoft DiskPart version 6.1.7600

    Copyright (C) 1999-2008 Microsoft Corporation.

    On computer: ACCOUNTS-PC

    DISKPART> list disk

    Disk ### Status Size Free Dyn Gpt

    ——– ————- ——- ——- — —

    Disk 0 Online 232 GB 0 B

    Disk 1 Online 128 KB 0 B

    DISKPART> select disk 1

    Disk 1 is now the selected disk.

    DISKPART> clean

    DiskPart has encountered an error: An attempt was made to move the file pointer

    before the beginning of the file.

    See the System Event Log for more information.

    DISKPART>

Comments are closed.