Windows 10: Select Diskpart Volume by name?

Discus and support Select Diskpart Volume by name? in Windows 10 Drivers and Hardware to solve the problem; So, here's the scenario: I'm writing a batch file that I want to use to open Diskpart and assign drive letter P to the volume where the batch file is... Discussion in 'Windows 10 Drivers and Hardware' started by 3000Alex, Jul 11, 2020.

  1. 3000Alex Win User

    Select Diskpart Volume by name?


    So, here's the scenario: I'm writing a batch file that I want to use to open Diskpart and assign drive letter P to the volume where the batch file is located. How am I supposed to do that. I know how it works (I wouldn't ask this question... Never mind!), but how can I select the volume when it has a different number on each computer... Therefore: Can I select the volume by name, and if not, how can I let the user enter which volume it is, which I mean? So that the batch file lists all the volumes, asks the user who answers, and the batch file continues working with the answer?

    Thanks in advance

    LG Alex

    :)
     
    3000Alex, Jul 11, 2020
    #1
  2. NavyLCDR Win User

    Diskpart not locating volume with windows installed on it

    Maybe post the output of diskpart so we can see?

    Code:
     
    NavyLCDR, Jul 11, 2020
    #2
  3. Diskpart not locating volume with windows installed on it

    Hello,

    I have a desktop that is currently stuck in a Repair loop, and goes to BSOD. One thing I found is when I try to rebuild BCD it says Total identified Windows installations: 0.

    Currently it appears Windows is installed on the X:\ drive of this computer, but when I check diskpart and list volumes it doesn't show X:\ and none of the volumes displayed have a system partition in them.

    If anyone has any suggestions I would really appreciate it!
     
    elusiveness, Jul 11, 2020
    #3
  4. Select Diskpart Volume by name?

    Diskpart not locating volume with windows installed on it

    That makes a lot of sense with it not finding any Windows installations...

    Here's a copy of my diskpart. (Talking so much about it I probably should have thought to post it.... Sorry)

    Code:
    Thank you all so much for your replies. I really appreciate the help

    - - - Updated - - -

    Thanks for the concern. I just ended typing it out manually, not too big a deal. Select Diskpart Volume by name? :)
     
    elusiveness, Jul 11, 2020
    #4
Thema:

Select Diskpart Volume by name?

Loading...
  1. Select Diskpart Volume by name? - Similar Threads - Select Diskpart Volume

  2. 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...
  3. 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...
  4. No free space on diskpart..but it shows free volume space..on list volume

    in Windows 10 Gaming
    No free space on diskpart..but it shows free volume space..on list volume: I want to create a partition to install windows 10..but on diskpart it shows only 1024kb free..again when i list volume it show 153 gb free volume space.now how do i create partition and install windows..because when i try to create partition..it says insufficient space ....
  5. No free space on diskpart..but it shows free volume space..on list volume

    in Windows 10 Software and Apps
    No free space on diskpart..but it shows free volume space..on list volume: I want to create a partition to install windows 10..but on diskpart it shows only 1024kb free..again when i list volume it show 153 gb free volume space.now how do i create partition and install windows..because when i try to create partition..it says insufficient space ....
  6. No free space on diskpart..but it shows free volume space..on list volume

    in Windows 10 Installation and Upgrade
    No free space on diskpart..but it shows free volume space..on list volume: I want to create a partition to install windows 10..but on diskpart it shows only 1024kb free..again when i list volume it show 153 gb free volume space.now how do i create partition and install windows..because when i try to create partition..it says insufficient space ....
  7. Diskpart clean and delete volume makes unrecoverable or diskpart clean with full format...

    in Windows 10 Installation and Upgrade
    Diskpart clean and delete volume makes unrecoverable or diskpart clean with full format...: Diskpart clean and delete volume makes unrecoverable or diskpart clean with full format makes unrecoverable https://answers.microsoft.com/en-us/windows/forum/all/diskpart-clean-and-delete-volume-makes/49e4795f-f69b-4562-b333-256b21b69ec1
  8. How to identify a volume using DiskPart

    in Windows 10 Drivers and Hardware
    How to identify a volume using DiskPart: Recently, I had a start-up error with the "Reboot and select proper Boot device" message. I fixed it by unplugging and then plugging back in my drives, but since then it has been slow with starting up Windows, attempting to scan and repair an unknown drive before the login...
  9. Diskpart not locating volume with windows installed on it

    in Windows 10 Drivers and Hardware
    Diskpart not locating volume with windows installed on it: Hello, I have a desktop that is currently stuck in a Repair loop, and goes to BSOD. One thing I found is when I try to rebuild BCD it says Total identified Windows installations: 0. Currently it appears Windows is installed on the X:\ drive of this computer, but when I...
  10. Diskpart not locating volume with windows installed on it

    in Windows 10 Support
    Diskpart not locating volume with windows installed on it: Hello, I have a desktop that is currently stuck in a Repair loop, and goes to BSOD. One thing I found is when I try to rebuild BCD it says Total identified Windows installations: 0. Currently it appears Windows is installed on the X:\ drive of this computer, but when I...