Windows 10: Why would diskpart `detail disk` return stale results?

Discus and support Why would diskpart `detail disk` return stale results? in Windows 10 Gaming to solve the problem; When running diskpart 10.0.20348.1 I noticed that after attaching a few disks, sometimes, getting the volume of a disk as part of a diskpart script... Discussion in 'Windows 10 Gaming' started by Noam Lerner, May 28, 2025 at 9:32 AM.

  1. Why would diskpart `detail disk` return stale results?


    When running diskpart 10.0.20348.1 I noticed that after attaching a few disks, sometimes, getting the volume of a disk as part of a diskpart script returns a stale value. If I follow up with a second call to diskpart with a similar script - the correct value is returned. For example: select disk Nattributes disk clear readonlyonline disk noerrselect partition 1rescandetail diskN could change, depending on the disk I'm looking intoThis can sometimes return a stale value of the volume. If I execute the following diskpart script after executing the previous one, the right value is returned: sel

    :)
     
  2. ze ultimo Win User

    diskpart doesn't show disk

    Hey,

    I am trying to install Win10 on a mac book air.

    However the diskpart does not list the disk even after reformatting the partition as NTFS per suggestion.

    read through this solution but cannot move to step 1 listed in the solution by Ivan as that disk doesn't see that partition it was just able to reformat.

    Regards
     
  3. Disk management console view is not up-to-date

    i dont know how to fix your disk management, but i can fix your partition problems...




    open up Command Prompt with admin rights. (Right click, run as admin)


    enter in
    DISKPART
    list disk

    then find the Disk number for your Raid array... lets call it number 7 ( you can tell what disk is what by the total size)
    type in

    Select Disk 7
    List Partition (will give you a list of all the partitions..)
    Select Partition 1 (im assuming you only have 1 partition on Disk 7) repeat this step if you have more partitions.
    ASSIGN


    that should get the array up and running ready to use.


    EDITED.

    any problems, post back ^^


    Still EDITING *Stick Out Tongue Why would diskpart `detail disk` return stale results? :p

    side question, have you tried restarting the PC?
     
  4. Fernandz Win User

    Why would diskpart `detail disk` return stale results?

    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!
     
Thema:

Why would diskpart `detail disk` return stale results?

Loading...
  1. Why would diskpart `detail disk` return stale results? - Similar Threads - Why diskpart `detail

  2. Why would diskpart `detail disk` return stale results?

    in Windows 10 Software and Apps
    Why would diskpart `detail disk` return stale results?: When running diskpart 10.0.20348.1 I noticed that after attaching a few disks, sometimes, getting the volume of a disk as part of a diskpart script returns a stale value. If I follow up with a second call to diskpart with a similar script - the correct value is returned. For...
  3. How is it that diskpart was able to detail a missing disk and select it's volume?

    in Windows 10 Gaming
    How is it that diskpart was able to detail a missing disk and select it's volume?: I have two old disks that where from an old win7 media pc that where formatted as dynamic disks, that I moved into a new pc with win11 installed.Both of those disks never came online after being moved so I ran the following commands with these results I've put on Pastebin to...
  4. How is it that diskpart was able to detail a missing disk and select it's volume?

    in Windows 10 Software and Apps
    How is it that diskpart was able to detail a missing disk and select it's volume?: I have two old disks that where from an old win7 media pc that where formatted as dynamic disks, that I moved into a new pc with win11 installed.Both of those disks never came online after being moved so I ran the following commands with these results I've put on Pastebin to...
  5. Hi, why is diskpart showing disk 2 instead of disk 1?

    in Windows 10 Gaming
    Hi, why is diskpart showing disk 2 instead of disk 1?: My C Drive is 0, but why is my backup drive 2? Shouldn't it be 1?Windows 11 Pro Latest version 21H2 22000.194 https://answers.microsoft.com/en-us/windows/forum/all/hi-why-is-diskpart-showing-disk-2-instead-of-disk/5cb4c291-2d06-43cf-9418-48393c5882e0
  6. Hi, why is diskpart showing disk 2 instead of disk 1?

    in Windows 10 Software and Apps
    Hi, why is diskpart showing disk 2 instead of disk 1?: My C Drive is 0, but why is my backup drive 2? Shouldn't it be 1?Windows 11 Pro Latest version 21H2 22000.194 https://answers.microsoft.com/en-us/windows/forum/all/hi-why-is-diskpart-showing-disk-2-instead-of-disk/5cb4c291-2d06-43cf-9418-48393c5882e0
  7. Diskpart detail disk lists nvme for laptop but raid for desktop with nvme.

    in Windows 10 Drivers and Hardware
    Diskpart detail disk lists nvme for laptop but raid for desktop with nvme.: Hello, I am curious as to why and how diskpart determines the disk type. I have two laptops with nvme drives. Only on my Surface Laptop does diskpart's "detail disk" command show type "NVMe" while it shows "RAID" on all other devices. I also have a desktop with an nvme and...
  8. search results to be in DETAILS view

    in Windows 10 Support
    search results to be in DETAILS view: When I do a search, I want the results to be in DETAILS view instead of CONTENT view. How to make the change so that results always come up in details view? Win 10 165737
  9. search returns duplicate results

    in Windows 10 Customization
    search returns duplicate results: In Search Locations under Search tools in Outlook 2019, my email is listed multiple times. I;m sure this is why the emails are listed multiple times in a search. When I remove the check mark next to one of the duplicate search locations it reappears when I remove the check...
  10. Windows Search returning no results

    in Windows 10 Software and Apps
    Windows Search returning no results: Windows Search returning no results on one of my external harddrives. I've trawled through pages of Google's advice and I have already: Tried indexing the HDD and rebuilding. Non-indexing and rebuilding. Indexing only specific folders on the HDD and rebuilding....