29 Responses to “How to use disk management commands (diskpart, chkdsk, defrag) in Windows”

  • MIMI VACHER says:

    DIGITAL CITIZEN: PROBABLY THE BEST, MOST INFORMATIVE, CONCISE TUTORIAL EVER….NO PROBLEM WITH UNDERSTANDING THE CLEARLY WORDED STEP-BY-STEP INSTRUCTIONS!!!!!

  • LINDA RODRIGUEZ says:

    THIS WAS GREAT! HOW TO GET YOUR DISK OR PARTITION BACK. I JUST HAVE 232 GB OUR OF 1TB AND CAN NOT INSTALL WINDOWS 10

  • Owner OF a DELL PC says:

    this was so helpful. thank you! 🙂

  • aravinth says:

    i tried everything and finally i used partition wizard tool and its worked for me

  • Hamza says:

    Please tell the command for fregmentation of disk

  • Yancy Willson says:

    Ok, I followed instructions per your site. And may I say first that the hard drive that I am trying to fix came from a machine that I bought performance HDD for. So now I am using another machine and hdd dock station. All went well to the point when I tryed to delete the partition. This is what command propt tells me. (Virtual disk service error:
    Cannot delete a protected partition without the force protected parameter set.
    So how do I set the force protected parameter?
    If you know how and do not mind helping me learn more about my machine, I would be very gratful.

  • Mike says:

    Great article. Love all the articles I read from D.C. One comment though: I would have mentioned, in the defrag section, that one should not defrag an SSD. This puts extra wear & tear on the drive and is actually unnecessary because of the speed of the drive. Keep up the good work & thank you.

  • Amit singh says:

    Nice Article

  • Diana Peek says:

    how to restore all disk partitions ! how to recover severel operating systems when disk partion cmd prompt cmd has been ussd by unotherized user left no disk keeping storage. on any letter

  • Jun says:

    How to format a write protected disk?

  • abdullah says:

    will i lose my date after deleting volume

  • paris says:

    i only have disk 0 and disk 1. disk 0 is 298gb but no free space and disk 1 is 0gb. I cant get windows os 8.1 to reinstall my system crashed. I need to create a partition I guess can u help?

  • Elina says:

    Im trying to recover data from my sd card that says that its damaged and needs to be reformatted. Looked up the solutions and it says to go thru Cmd and type in diskpart and then enter, then list disk. Well, the problem is, after i hit diskpart then enter, the next window comes up and doesn’t let me type anything. Not sure what to do at this point. Please, help!

  • guna says:

    i have one doubt. In my laptop i have 1TB hard disk but i have one disk only. i do like this command partition means is their any chance to get the OS corrupt?

    • Ciprian Adrian Rusen says:

      If you work with the commands shared in this article and you want to re-partition your hard disk, make sure that your data is backed up so that you don’t lose it, in case something goes wrong.

  • Barry Brian says:

    How to in large hard disk

  • reza says:

    Hi, very useful information. Got a question though.
    when I use “list partition” I can see three partitions which I used to have. However, one of them on which I have my operating system is missing or somehow got inactivated, i.e when type “list volume” I am not able to see the driver or programs. How can I recover it or making it available again so that I can have my Pc work again?

    Tnx

  • t0tti says:

    how can i do this commands by batch file?

  • Avinash says:

    Hi… Your site is very good and the descriptions are very much easy and understandable… Hats off to you.

  • Joshua says:

    Hi,i have a problem,when i try the list disk,the free space shown is 0…so what is the problem?

  • Ledian says:

    Hi, this is deff helpful. However, I just build a barebones comp and when I give the LIST DISK command it tells me there are no fixed disks to show. I know my hdd is working properly, and the BIOS recognizes it too, but I’m stuck and don’t know what to do. Any help is much appreciated

  • Dan Wasson says:

    Hi this was great because I am currently stuck in command line, trying to back up key files from my c: drive before i do a factory restore of win7. (i’m here because I can’t get windows to boot so i’m going to nuke it). I’d like to make another partition so that I can put the backup files (like 10-20gb) onto that drive (like I’ll call it F:) so the windows restore doesnt blow it away.

    question – I got to the part where I was going to create a partition, but it says I have no free space.

    List Disk says 300gb hard drive has no free space (size: 298gb, free: 0b).
    List Volume says D: Recovery 14gb, C: OS 283gb

    but – when I look at the drive space actually available on C (c: dir) there’s about 180gb free.

    is there a way to use that 180gb of free space to create another partition/virtual drive with a different drive letter / mount?

    thanks!

  • adam says:

    what do you do if it says there are no fixed disks to show.

  • Rizwan says:

    i have a doubt that if i have to create a partition in GB scale then how many zeros must i add , i know the question is silly but i face a lot problems when i try to partition my disk using CMD

  • kevin says:

    How to resizing a partition using the command prompt? are there any article about this? thx

Leave a Reply