Diskpart is a command-line hard disk partitioning utility included in versions of Windows from Windows 2000 onwards

learn more… | top users | synonyms

1
vote
1answer
16 views

select partition 1 gives “No partition selected”

I'm trying to fix a USB flash drive to format to the full capacity. When I use diskpart I cannot delete the primary partition. DISKPART> list disk Disk ### Status Size Free Dyn ...
1
vote
2answers
141 views

Laptop won't boot to either the CD/DVD or to a USB Flash Drive

Update: Apparently Diskpart should display unused usb ports as well as the DVD/CD player. Mine doesn't. All I can see here is the laptop hard drive. I'm suspecting this is a more serious issue ...
-2
votes
1answer
38 views

Recover my SD Card [duplicate]

In windows disk mgr I can see this. I have no option to shrink/expand any of the partitions. Tried to delelete everything by DISKPART, but that's also not working: DISKPART> list disk Disk ...
0
votes
1answer
48 views

Recover my SD Card

In windows disk mgr I can see this. I have no option to shrink/expand any of the partitions. Tried to delelete everything by DISKPART, but that's also not working: DISKPART> list disk Disk ...
0
votes
1answer
9 views

Delete a Dynamic Partition

I want to delete my dynamic partition to install windows 7. I have 5 dynamic partitions currently on my hard disk. I don't want a single chunk of HD to be created. I just want one of the dynamic ...
0
votes
3answers
356 views

How create new partition on an unallocated space using diskpart?

I want to install windows 7 on an unallocated space made by shrinking an extended partition. the problem is that windows setup can't create new partition on unallocated space. how I can create a ...
0
votes
1answer
162 views

Not able to format HDD while installing windows

I am asking this new question after trying to recover my crashed windows data please refer below question/link How to recover data from crashed Windows laptop? -------------My query regarding HDD ...
1
vote
1answer
81 views

Diskpart will NOT open through cmd

I open up my cmd and type 'diskpart' It prompts me with the UAC box, I click yes. Everything is going good up until this point. After I click 'Yes' diskpart opens up in a separate window (At school ...
0
votes
5answers
2k views

Cannot format USB flash drive, everything claims it's write protected

I have a 4GB HP USB flash drive that I had written a Chromium OS image to with Win32DiskImager. Now I am trying to reformat it but I can't. Everything tells me the disk is write protected. Being a USB ...
0
votes
1answer
211 views

External storage doesn't show up in pc or disk manager

When I plug in my external HDD the LED on the disk lights up but i can't see it in my PC/DISKPART/DISK MANAGEMENT. I tried all the ports on my computer but it doesn't show up.Help please. HDD:- ...
0
votes
3answers
46 views

Where is the MMC CARD that I see in the my computer

There is no MMC CARD connected to my computer, But when I open MyComputer I see a MMC-Card drive there that has 487 MB of 487 MB free space! Disk Management output : And Diskpart output : ...
0
votes
1answer
338 views

If Diskpart says that a disk has no volumes, is the disk empty of data?

So I have a 64 GB SanDisk USB drive whose contents are a complete mystery. When I try to insert it into my computer (Windows 8), it does not appear in My Computer. Diskpart tells me that there are no ...
0
votes
1answer
494 views

No security tab on an external hard drive I need permission to

I have a hard drive, and it has always worked easily for me before on my windows 7 computer. I tried plugging it in to said computer and it would be visible in D&P (Devices and Printers), but not ...
0
votes
0answers
52 views

How can I make my pendrive a Removable Disc again

I created a partition primary in my pendrive to boot and install Windows 8, but now I want to undo this process... when I open My Computer, my pendrive is a Fixed Disc, not a Removable ...
2
votes
0answers
50 views

Shared NTFS logical partition unaccesible from Windows 8.1

I asked this question a while ago but it got lost, so I deleted the previous one and created this new one with updates from the comments. I just installed Windows 8.1 in a partition of my Lenovo ...
0
votes
0answers
710 views

Windows Server 2003 - DISKPART: The volume you have selected may not be extended

I'm trying to resize a disk on a Windows 2003 server. Via Disk Management I can see one drive (C) and 73.01GB of Unallocated space. This instance is running on Hyper-V. In DISKPART I selected the ...
0
votes
1answer
434 views

Can't create primary partition on windows7 using diskpart

Can't create primary partition on windows7 using diskpart. I'm trying to install ubuntu along with windows 7. When I try to create a new primary partition using diskpart it shows me error as: ...
0
votes
1answer
94 views

Windows 7 SSD hidden after Diskpart clean

I've just used the diskpart in CMD to clean my new SSD, but after this it suddenly disappeared. I can still see it in diskpart, but I cannot see it as a drive under Windoes 7 "computer" in the start ...
0
votes
0answers
99 views

assign drive letter via batch fil based on label

I need a script which would change the drive letter to e.g. P:\ of an USB drive named e.g. "MY_VOLUME". I know this is somehow possible with diskpart /s script.txt > output.txt (using: "list volume" ...
0
votes
1answer
1k views

Windows 8.1 - Won't boot (0xc000000f), bcdedit fails

I’m pretty much stuck at this point. So, backstory: Windows was installed on one of the SSDs currently in my tower. I bought a new SSD to install Windows (8.1 64 bit) on. Windows installation went ...
0
votes
1answer
203 views

Cannot delete free partition

I had an Ubuntu install, but it's taking up too much space and I'm getting a laptop on which I will install ubuntu, so I decided to remove the Ubuntu partition. I went into diskmgmt.msc and freed the ...
0
votes
0answers
110 views

How To Properly Get The Drive Letter of a Mounted VHD in batch script

How To Properly Get The Drive Letter of a Mounted VHD in script. Is it possible? list volume select volume <volume_number_of_attached_VHD> assign letter=v exit in this part of script it's ...
0
votes
0answers
160 views

How does Diskpart Clean All affect MBR and implications?

I want to overhaul my entire internal hard drive, re-partition it, and re-install Windows Vista. After booting on the Vista Installation Disk and opening Command Prompt, I'm not sure whether to use ...
0
votes
1answer
332 views

Diskpart Clean, thus unable to boot

I booted my Dell Inspiron 1525 on a Vista Recovery DVD (not installation disk), ran the Command Prompt, and did like following: diskpart list disk select disk 0 (which was the only hard drive I ...
0
votes
1answer
125 views

Is my SONY USB flash drive dead?

I have a following problem: when I plug-in my USB flash drive, it isn't shown in Windows Explorer or recognized by system at all. In device properties, it is shown as: USB MEMORY BAR ...
1
vote
0answers
1k views

Pen drive has a write-protected issue

My pen drive has become write0protected. Even when I am trying to format it is giving write-protected problem. I tried many solutions I found on the internet, but all failed. Here are my pen drive ...
0
votes
2answers
271 views

Cannot see external hard drive on my computer, although it is shown in Disk Management

I cannot see external hard drive on my computer, although it is shown in Disk Management. I read in other forums that I need to assign a drive letter, however when I right-click to assign all other ...
0
votes
1answer
55 views

Partition does not have a volume

When I run DiskPart, I have a Disk 0 and a Disk 1. On Disk 0 there are 3 partitions. Partition 3 has a size of 238 GB. When I run List Volume there is not a matching volume with a size of 238 GB. ...
2
votes
2answers
150 views

diskpart multiple primary partition keys

I am trying to set up partitions on my USB drive, 1x as a boot partition, 1x as operating system data, 1x as shared with windows files. I am trying to assign the shared with windows partiton a drive ...
0
votes
1answer
174 views

Read Only/Write Protected USB pen drive is not write protected on other PCs

I want to make one of my USB drive write protected. I can make it write protected on my desktop(windows 8.1 pc) by using the command prompt "diskpart" method. Now the usb is write protected on my ...
0
votes
2answers
321 views

SSD vs HDD boot

I have a friend that has an Acer Aspire S3 laptop. After sending it for repair, the laptop came with the system (Windows 8) installed on SSD 18gb. The problem with such a small SSD is that it renders ...
0
votes
0answers
285 views

Assign drive letter to hidden partition in win xp on command line

I want to assign a drive letter to a hidden partition in windows xp from the command line. The solutions you find are with diskpart with the following set of commands: select disk 0 select partition ...
0
votes
1answer
24 views

Should I delete data before deleting its partition and extending over?

I have multiple computers with the main drive split into C and D partition. D just has random data, C has the OS. I plan on copying over data from D to C then deleting D and extending C over it. Can I ...
1
vote
2answers
997 views

Diskpart is not showing all partitions

I have three partitions as C, D, and E. Below are the sizes for each parition C = 278GB D = 14GB E = 5GB Diskpart gives me following output: Parition ## Type Size offset ...
0
votes
0answers
119 views

unable to see windows partition from diskpart

I installed Opensuse 12.2 some months ago in a computer where there was Windows 8 but something went wrong and the windows EFI data in the windows partition disappeared. Now I'm trying to recover ...
0
votes
1answer
73 views

Why do I need to run diskpart clean when restoring a backup image to a brand new hard drive?

I was handed a brand new harddrive that came packaged and in an attempt to restore a backup image, it failed i.e. it does not restore the image and returns the message that the target drive is ...
2
votes
0answers
137 views

Problems using Diskpart to resolve 'Read Only' issue on external 2TB external MyBook

I've got a problem with an external disk which suddenly, mid-session decided it was read only. I've tried the right click, properties, attributes, read only - to no avail, so then decided to approach ...
2
votes
4answers
60k views

How to remove write protection from a write- protected USB drive and make it usable using diskpart?

I saw your answer to a question which has somewhat similar details like mine in this thread: Recovering a Partially Formatted USB Thumb Drive. However, in my case, my usb is write- protected. Can you ...
0
votes
1answer
437 views

Why should I align SSD with offset of 128 sector when sectors per track is 63?

For using an Windows XP with SSD, it is recommended that you align your partitions manually (or use eg. 7 for partitioning). Background It is explained that XP by its default alignment needs to use ...
6
votes
1answer
2k views

DiskPart Not Using Unallocated Space

I'm trying to use DiskPart to create two partitions on my flash drive. One for storage and one for a bootable OS. I've used BootIt as suggested in this question/answer, however it doesn't seem to ...
-1
votes
1answer
1k views

Safely remove a USB drive using bat file [duplicate]

I would like to be able to programmatically safely remove a USB drive, given a drive letter. This is actually to be implemented in an application, but I figured that if it can be done using a batch ...
1
vote
1answer
1k views

Why does diskpart set the volume attributes on all volumes?

I was trying to migrate a Win7 OS from a HDD to a SSD. I've created 2 partition with 1024KB offset, with diskpart: 100MB System Reserved and a 60GB for C:. I've cloned their contents using Easeus ...
0
votes
2answers
405 views

How to undo 'create partition primary' command of diskpart

I was trying to recover my pendrive as it was showing 0 bytes allocated space, and I came across some information about using the diskpart command to format it. For the worse I selected a wrong ...
-1
votes
1answer
332 views

Windows 8, Diskpart, “The command you selected is not available with this version of Windows”

Windows 8, not Pro or Enterprise. I want to mirror a volume. I run Diskpart, and type: select volume 1 add disk 1 and this appears: The command you selected is not available with this ...
1
vote
3answers
1k views

How to undo “remove all dismount” in Diskpart?

I made a boo boo! I executed the following commands in cmd: diskpart list volume select volume 13 remove all dismount exit I have one of those dual-slot card readers with one slot for SD and one ...
1
vote
0answers
1k views

conversion of simple volume to primary volume

My Samsung laptop has 5 partition in it . And all are simple volume partition so that there is no primary partition in my disk hence i cannot install Ubuntu in my laptop .I have tried many software ...
0
votes
0answers
221 views

Resize VHD for use in VPC [duplicate]

Created a VHD from a machine using disk2vhd. File created is 61GB, partition on the VHD is set to 149GB. Virtual PC won't let me use the VHD (as the partition is too large, has to be below 127GB). ...
-1
votes
1answer
108 views

all partitions became dynamic due to startup repair utility

All my disk partitions including system reserved and c: have become dynamic, due to which I am unable to boot linux. I wish to make some primary partitions. Ubuntu cant help since pc wont boot it even ...
2
votes
1answer
4k views

Diskpart script to assign driver letter and create 2 partitions

I'm currently deploying Windows XP (don't ask why) across a corporate environment and have a requirement to partition the disk during the unattended build. the disk must contain two partitions: C: ...
0
votes
1answer
582 views

Windows 8 - Fresh Install Freezing after “diskpart clean” and rebuilding partitions

After accidentally allowing Ubuntu to install Grub on Windows' MBR partition, I am trying to start the system over from scratch to get things done properly. In order to rebuild everything, I did the ...