Windows 10: How to use Diskpart

Discus and support How to use Diskpart in Windows 10 BSOD Crashes and Debugging to solve the problem; I have a problem with my laptop. When I turn it on, it goes directly (after a while) to Windows RE. I can't do any of the easy recoveries off the... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by SteveJ6, Sep 9, 2018.

  1. SteveJ6 Win User

    How to use Diskpart


    I have a problem with my laptop. When I turn it on, it goes directly (after a while) to Windows RE. I can't do any of the easy recoveries off the menu - says it couldn't be fixed.


    I don't see any error messages on the screen.


    I booted from a Windows 10 ISO on a USB stick. I can get to command line. I've run chkdsk against the drive and it fixed some errors, but nothing that helped the boot.


    I've found many suggestions on the internet but can't seem to find a one-stop place. Trying to use bootexe with the /fixboot option gave me access denied.


    It seems I need to use diskpart and then reload windows, but I'm having problems understanding what diskpart options to use. This is a photo of the disk detail:




    Would you have any guidance on how to proceed? I've seen some things that need to be done on the System partition vs the Windows partition but I'm not clear from the photo what the System partition is. Also saw that I had to have an Active partition but this doesn't display that information.


    Any help would be appreciated.

    :)
     
    SteveJ6, Sep 9, 2018
    #1
  2. Cheriseru Win User

    Faulty harddrives

    Thanks for the suggestion but as I stated the drive doesn't show up in Disk management. I just tried the Diskpart steps and it's not listed on there either
     
    Cheriseru, Sep 9, 2018
    #2
  3. Fernandz Win User
    How To Format A Write Protected Flash Memory ?

    ¿You already tried this one?...

    Run CMD


    1. diskpart
    2. list disk

    Then in the 3º step, put the correct number of disk in the list for the usb flash (if it's listed in disk 3, then you'll have to write select disk 3).

    2. select disk #
    3. clean
    4. create partition primary
    5. select partition 1
    6. active
    7. format fs=fat32
    8. assign
    9. exit

    with that commands you will format the flash drive in fat32, if you have a large drive you can select also "format fs=ntfs" in step 7.

    good luck!
     
    Fernandz, Sep 9, 2018
    #3
  4. How to use Diskpart

    Diskpart problems?


    Hi again, I tried what you suggested and got the same error message as before. I spoke to a guy on another forum and he suggested typing the "Active" command before doing the Format.
    diskpart
    list disk
    select disk # <-replace # with the actual number for the USB flash drive
    clean
    create partition primary
    select partition 1
    active
    format fs=fat32 quick
    He tried it on a Windows 7 PC with the Active command straight after format and he was told to select a partition again...but when selecting Active first before format it was fine.
    Im thinking that might be the case on my Windows 10 laptop too but instead of getting a reminder to select a partition I get an error. After the error message If I select a partition and Type Active everything is OK. It seems a bit strange I know!!

    Can I ask you though. Is it OK to type the Active command before the Format command or should Active only be typed into Diskpart after the Format has been done?
     
    sportsfan148, Sep 9, 2018
    #4
Thema:

How to use Diskpart

Loading...
  1. How to use Diskpart - Similar Threads - Diskpart

  2. DiskPart has encountered an error: Access is denied

    in Windows 10 News
    DiskPart has encountered an error: Access is denied: [ATTACH] [ATTACH]DiskPart is a useful utility when it comes to managing the disks on a computer. Even if the GUI based disk management tools on the Windows 10 operating system fail, DiskPart always tends to work. This does not mean that [...] This post DiskPart has...
  3. Fix Diskpart failed to clear disk attributes error on Windows 10

    in Windows 10 News
    Fix Diskpart failed to clear disk attributes error on Windows 10: [ATTACH] [ATTACH]The Diskpart Tool is a command line tool that can be used to manage partitions in a Windows system. It offers all the functions of Disk ManagementTool and a more. However, in some cases, the Diskpart utility is unable to [...] This post Fix Diskpart failed...
  4. convert mbr not needed after diskpart clean command?

    in Windows 10 Installation and Upgrade
    convert mbr not needed after diskpart clean command?: @NavyLCDR, you said in another thread: The clean command in diskpart automatically converts the drive to MBR. "Convert MBR" is never necessary after the "clean" command. I tested this and does not appear to be the case. Flash drive is GPT before and after the clean command...
  5. Are Diskpart and Disk Management on the same PC???

    in Windows 10 Software and Apps
    Are Diskpart and Disk Management on the same PC???: Hi ..... a little bit of weirdness on a recent install ..... take a look at the screen captures taken on my laptop linked to below and you'll see what I'm getting at in the title to the post (the Disk Management version is correct) .... look forward to feedback ..... Alan...
  6. diskpart

    in Windows 10 Customization
    diskpart: I am trying to remove write protection from a CD. My diskpart does not show the disk drive, only my main hard drive disk. Any hekp would be appreciated https://answers.microsoft.com/en-us/windows/forum/all/diskpart/ac0f87d5-94cd-417d-af8b-74bc8126bfda
  7. Partition size mismatch between Windows disk explorer and diskpart

    in Windows 10 Drivers and Hardware
    Partition size mismatch between Windows disk explorer and diskpart: Good day and happy new year. Whenever I create a partition (primary MBR) with diskpart (75GB appears as 74,9GB under Windows Explorer). Why is this? Command used was create partition primary size=76800 124562
  8. Installing 2nd HDD, disk management not starting and diskpart not starting

    in Windows 10 Installation and Upgrade
    Installing 2nd HDD, disk management not starting and diskpart not starting: Greetings, Got a new computer, installed everything last week, everything working out, for reference, running Windows 10 on a 500GB SSD drive, install runs fine, updated drivers, got windows updated, no problems. Decided to get a secondary drive for storage, a Western...
  9. Windows 10 explorer shows incorrect USB drive size (DISKPART is OK)

    in Windows 10 Drivers and Hardware
    Windows 10 explorer shows incorrect USB drive size (DISKPART is OK): I have a brand new Samsung 128 GB FIT flash drive that came formatted as exFAT. I reformatted it as FAT32 following the instructions on this page using the guiformat app referenced in the article: https://www.howtogeek.com/316977/how...32-on-windows/ Now windows 10 explorer...
  10. Many disk with no media appear in my disk management and diskpart

    in Windows 10 Network and Sharing
    Many disk with no media appear in my disk management and diskpart: Hi, After installing a new copy of windows 10 in my PC, and after checking disk management then diskpart command I found that there is many disks appear saying removable no media as per the screenshot below. [ATTACH] [ATTACH] Why these disks appear, and what it's used...