looking for diskpart

Discussion in 'Application Software' started by WindowsGeek, Feb 26, 2026.

  1. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    looking for diskpart....thank you
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    #2 Enthousiast, Feb 26, 2026
    Last edited: Feb 26, 2026
    Open a cmd prompt (as admin) and type diskpart and it will start.

    Code:
    C:\Windows\system32>diskpart
    
    Microsoft DiskPart version 10.0.19041.3636
    
    Copyright (C) Microsoft Corporation.
    On computer: Z590-TAICHI
    
    DISKPART>
    
    Code:
    DISKPART> help
    
    Microsoft DiskPart version 10.0.19041.3636
    
    ACTIVE      - Mark the selected partition as active.
    ADD         - Add a mirror to a simple volume.
    ASSIGN      - Assign a drive letter or mount point to the selected volume.
    ATTRIBUTES  - Manipulate volume or disk attributes.
    ATTACH      - Attaches a virtual disk file.
    AUTOMOUNT   - Enable and disable automatic mounting of basic volumes.
    BREAK       - Break a mirror set.
    CLEAN       - Clear the configuration information, or all information, off the
                  disk.
    COMPACT     - Attempts to reduce the physical size of the file.
    CONVERT     - Convert between different disk formats.
    CREATE      - Create a volume, partition or virtual disk.
    DELETE      - Delete an object.
    DETAIL      - Provide details about an object.
    DETACH      - Detaches a virtual disk file.
    EXIT        - Exit DiskPart.
    EXTEND      - Extend a volume.
    EXPAND      - Expands the maximum size available on a virtual disk.
    FILESYSTEMS - Display current and supported file systems on the volume.
    FORMAT      - Format the volume or partition.
    GPT         - Assign attributes to the selected GPT partition.
    HELP        - Display a list of commands.
    IMPORT      - Import a disk group.
    INACTIVE    - Mark the selected partition as inactive.
    LIST        - Display a list of objects.
    MERGE       - Merges a child disk with its parents.
    ONLINE      - Online an object that is currently marked as offline.
    OFFLINE     - Offline an object that is currently marked as online.
    RECOVER     - Refreshes the state of all disks in the selected pack.
                  Attempts recovery on disks in the invalid pack, and
                  resynchronizes mirrored volumes and RAID5 volumes
                  that have stale plex or parity data.
    REM         - Does nothing. This is used to comment scripts.
    REMOVE      - Remove a drive letter or mount point assignment.
    REPAIR      - Repair a RAID-5 volume with a failed member.
    RESCAN      - Rescan the computer looking for disks and volumes.
    RETAIN      - Place a retained partition under a simple volume.
    SAN         - Display or set the SAN policy for the currently booted OS.
    SELECT      - Shift the focus to an object.
    SETID       - Change the partition type.
    SHRINK      - Reduce the size of the selected volume.
    UNIQUEID    - Displays or sets the GUID partition table (GPT) identifier or
                  master boot record (MBR) signature of a disk.
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. javaspain

    javaspain MDL Senior Member

    Jul 29, 2009
    260
    143
    10
    #3 javaspain, Feb 26, 2026
    Last edited: Feb 26, 2026
    Spanish version
     
  4. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    Nothing changed...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. javaspain

    javaspain MDL Senior Member

    Jul 29, 2009
    260
    143
    10
    Spanish version

    upload_2026-2-26_19-54-48.png
     
  6. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    thank you for the responce here is my issue, last night i try upgrading to the 28000.1643 and something went wrong doring the upgrade when the machine rebooted i got the error code 0x800706BE- 0x4002F i cant even do a clean install, for what i was reading it has to do with a issue that it see my HD as foreign i need a toll that can help me unmount the drive .....what is the best way to do this....thank you
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    Upgrading to 28000.1643 (from what build and by what method) or updating to 28000.1643?

    Clean install means an install from boot, removing the partitions and repartition the system drive, that is hard to block.

    I can google the error code but you can do that too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    i updated from the 25H2 at this moment i cant do anything if a bootup i get bitlocker input the key....i have it i imputei the key it takes me to repair menu i try rolling it back cant i try doing a clean install i cant keeps giving me the same error code is almost like if the drive is bricked ....some times it tells install corruption of foreign drive.....how can i fix this...and my drive was never locked using bitlocker MS screw me!!!!
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    That is probably the cause, i never will enable bitlocker.

    But when you clean install and remove the existing partitions, bitlocker should be gone too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    no my drive was never encrypted ......thats what pisses off but i have the key and still i cant do anything not even DOD WIPE works.....any other ideas?
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    If it never was encrypted then there wouidn't be a key:thinking:

    I had to deal with this bitlocker crap just once, some friend accidentally got tricked into using a MSA (online windows account) by forgetting to disable the option to use the sign in for windows entirely.

    I found the key and instantly disabled it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    if your machine uses a MS account MS generates a bitlocker key ....if you go to settings account and scroll down to link devices you will see your computer and at the bottom bitlocker information you click the link and it will show you the key....but i never use BitLocker ever MS creates it for you with out no concept .....good ground for a law sue
     
  13. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    now how can i get this hd working this NVMe is 2TB fifth generation this drives cost almost 400 dollars:mad::mad::mad::mad::mad::mad::mad:
     
  14. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    When you are not able to repartition using windows setup (from boot) then boot from a winpe like DaRT or other live environment (strelec) usb and you should be able to clean whipe the drive.

    TIP: never use an online account or check what bitlocker is set to do before you upgrade.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    thank you i appreciate your help this is very frustrating ....do you have a link for Dart is here at MDL?
     
  16. Espionage724

    Espionage724 MDL Expert

    Nov 7, 2009
    1,153
    439
    60
    Boot a Linux LiveUSB and run this (wipes NVMe and trims it):

    Code:
    sudo blkdiscard --force --verbose '/dev/nvme0n1' && sudo nvme format '/dev/nvme0' --force --namespace-id='1' --lbaf='0' --reset --ses='1' --pil='0' --pi='0' --ms='0'
    It'll no-question be Unpartitioned and ready to go as-is for a clean Windows install! Likely have to switch SATA to AHCI (mainstreams afaik don't auto-boot VMD/Intel RST; AHCI's easier just to wipe the drive)
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    54,774
    125,053
    450
    #17 Enthousiast, Feb 26, 2026
    Last edited: Feb 26, 2026
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    i haven't had any luck i keep getting this error, i dont know anything about linux.

    upload_2026-2-27_14-40-40.jpeg
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      161.5 KB
      Views:
      1
  19. WindowsGeek

    WindowsGeek MDL Expert

    Jun 30, 2015
    1,521
    447
    60
    Any other ideas im kind of desperate here. o_O