Diskpart is a scriptable Windows command-line tool which allows management of disk volumes including partitions and virtual disk (VHD/VHDX) files.

learn more… | top users | synonyms

14
votes
2answers
3k views

Is there any way to fix a corrupted LDM database?

TL;DR: Are there any tools/approaches to diagnosing and fixing LDM (Logical Disk Manager) metadata structures without recreating from scratch? Full description: I have two SSD drives set ...
0
votes
1answer
122 views

iSCSI Volume shown as two partitions on disk manager and need to merge/extend

I've just created a LUN and Target on my NAS, the from windows server, used iSCSI initiator to mount it. Disk appears in disk manager Disabled. Using diskpart i remove readonly attrib and created ...
2
votes
0answers
3k views

Windows Diskpart: How to select disk based on LUN ID

I have multiple LUNs attached to my Windows 2008 server from a SAN storage controller. Each LUN has a unique ID. However, it has no correlation to the disk number in the Windows. For example in the ...
1
vote
0answers
58 views

Copy EFI partition and BCD store to a second drive

I'm attempting to set up dynamic boot partition mirroring on GUID partition table (GPT) disks as part of making a bootable mirror of a Windows system drive. I am following Microsoft's KB951985 but I ...
1
vote
0answers
64 views

issue in increasing disk size in ubuntu guest vmware

Have followed link I was trying to increase the size of my disk allocated to ubuntu guest in vmware below are the things i have already done Increased max setting in vmware settings - Done ...
1
vote
0answers
458 views

Windows Server 2008 R2 server not booting

It's a Hyper-V machine that runs the DC for my lab environment. Had a power failure that shut down my server and all other machines come up fine except this lone DC. It boots up straight to Recovery. ...
1
vote
0answers
2k views

Resizing partition with DiskPart using desired and minimum options is unsuccessful

I have a few systems I want to shrink the primary (and only) partition to about half of the disk and then create a new partition in the newly available space. The disks are 500GB. I want to script it, ...
1
vote
0answers
117 views

Device imaging process Won't work first time

I'm having an issue regarding a disk imaging process. To get the machine into it's initial state, I first run a simple DISKPART CLEAN, and then restart the machine. . Diskpart sel disk 0 ...
0
votes
0answers
18 views

Windows 2008 Unable to expend the disk to single drive

I'm try to expend two disk D and E but every time I do it convert the disk into spinner array disk. How do I allocated the unallocated space? Why do I have two partition with same size on Disk 1 and ...
0
votes
0answers
36 views

Proper Partition Alignment

I'm trying to follow the advice from this TechNet article about partition alignment. Our San is an EMC, the disks are in a 4 disk raid 10. This services an I/O intensive application, 60:40 write:read. ...