The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [diskpart]

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

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
8k 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 ...
2
votes
0answers
46 views

Cannot recover from Windows Server Backup after expanded volume

I am running a Windows Server 2012 r2 instance on Hyper-v, I set up Windows Server Backup to run every night to incrementally back up a large folder. The folder sits on the same Virtual Hard Disc as ...
2
votes
0answers
1k 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 ...
2
votes
0answers
4k 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
1answer
351 views

0xC03A001B error while trying to compact VHD

What can be the reason of such error? I tried to compact both via DISKPART and Optimize-Vhd commandlet. Via DISKPART I get following error: DISKPART> compact vdisk DiskPart has encountered an ...
1
vote
0answers
159 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
743 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
132 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
1answer
571 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 ...
0
votes
0answers
25 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
59 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. ...