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

learn more… | top users | synonyms

0
votes
0answers
14 views

Size 0 B listed in diskpart, can't create partition

I have a 4GB flash drive that I'm trying to use, but it seems to have become corrupted somehow. When I run list disk, it shows Size 0B Free 0B, and tryig to create a primary partition gives "DiskPart ...
0
votes
0answers
26 views

Disk Unusable and Unavailable - Sony Media USB Device

After I opened the flash disk and tried to open a file or folder I got the following error: "Please insert a disk into Removable Disk (H:)" Clean or format doesn't work. I checked it [again] in ...
0
votes
3answers
87 views

Windows 7 installation can't detect hard drive

I had a windows 7 system on a 250gb partition and I wanted to dual boot with Debian. I removed some partition and got about 50 gb unallocated space that I was going to use for debian. I restarted ...
1
vote
0answers
17 views

did my USB just die? Can it be fixed? [duplicate]

I bought a 64bg Sandisk Extreme two weeks ago and today it decided to just quit on me. When I plug it into my computer I can hear that Windows sees it but not in Windows Explorer. I can view the ...
1
vote
2answers
605 views

List every \Device\Harddiskvolume.?

I've tried Diskpart commands like "list" "volume" (no it's not that at all), "disk" and "partition"; but it still don't work. \Device\Harddiskvolume0 seems to not be used, since ...
0
votes
0answers
34 views

How can I correct a CF disk rendered un-bootable by Windows diskpart

I used windows diskpart to clean and format a 64mb compact flash card I use to backup work on industrial machines. Prior to this diskpart format, I was able to boot to this compact flash card by ...
0
votes
0answers
49 views

used DISKPART CLEAN command on my external HDD - need to recover data

I accidentally used the clean command while using DISKPART, the result was all my information erased, the result was my 1TB HDD erased! And dont know if it makes a difference but I had two partitions ...
1
vote
2answers
120 views

Using DiskPart in a batch file to remove a disk

I would like to embed diskpart command with my batch file. for example "gpupdate.bat" is my batch file @echo off @echo off cd: c:\windows\system32 gpupdate /force exit I want following commands to ...
0
votes
2answers
250 views

How to change GPT partition type on windows?

The GPT format introduce far more place to metadata. To set a partition type in diskpart, one use : DISKPART> create partition msr or DISKPART> create partition efi or DISKPART> create ...
0
votes
0answers
40 views

SATA hard drive issues

I'm trying to partition a SATA Hard Drive in DISKPART, but on executing the CLEAN command, I get this error message: The request could not be performed because of an I/O device error. The hard ...
0
votes
1answer
45 views

Windows 8 install problems on HP Pavilion TouchSmart 23-f221ea All-in-One Desktop PC

I'm attempting a fresh Windows 8 install on completely brand new SATA hard drive, purchased yesterday and with the official Recovery Disks that were sent to me by HP. I think I may have inadvertently ...
-2
votes
1answer
828 views

Is there a Linux equivalent of Diskpart

you know diskpart for windows? I wonder if there is something similar for Linux. Could you help me please? Any help will be appreciated!
1
vote
1answer
422 views

DISKPART in windows 10 hangs on execution

I am trying to format my SD card to FAT/FAT16 and when i run DISKPART in windows 10 all I get is this: Why can't I use this utillity? I am running this as administrator. I can't enter anything, no ...
0
votes
1answer
179 views

*VERY* slow boot after changing from MBR to GPT - need to rearrange partitions

I recently changed from MBR to GPT and now my system takes over an hour to boot. I suspect a partition arrangement problem. I'm running Windows 10 on a RAID 5 array. Here is my current partition ...
0
votes
0answers
100 views

Automatic repair loop and hard drive diskpart errors

HP dv6-6035ed with Windows 10 I could not start up my notebook, and was redirected to automatic repair. However I got stuck at automatic repair. Error code: 0xc000009 Subsequently I was ...
0
votes
1answer
2k views

How to recover data and partition after diskpart clean

While installing Windows 10 from the Repair Tools command prompt, I ran clean command by mistake on the whole disk, so it becomes a single 465GB partition. Previously, it contained four partitions. ...
0
votes
2answers
49 views

interrupted the C partition diskpart format, now C,D and E partitions have been combined

My HDD has 500GB storage, it had three partitions ie C,D and E. While formatting C drive using DISKPART, I pressed ctrl + C for some reason. Now C, D and E partitions are not being shown, instead a ...
0
votes
0answers
152 views

TOSHIBA Qosmio X770 Recovery doesn't work anymore

I bought some years ago a Toshiba Qosmio X770 PSBY5A-04T01W which comes with Windows 7 home premium. This laptop is the version which supports only 8 GB RAM, no 3D technology. I've been using it as ...
0
votes
0answers
69 views

Windows installation can't create partition from unallocated space

I was trying to install Windows 8.1. while setup in partition manager i formatted the c drive to install windows in it. then when i selected the drive to install the windows it said "cannot install ...
0
votes
1answer
521 views

Diskpart assign letter to partition that is not associated with a volume (windows 10)

I used to have 3 volumes on my disk before something happened to the MBR that messed up my boot. Now i'm trying to rebuild the boot environment to save all my data but it seems it is all lost. I can ...
0
votes
1answer
78 views

Windows 7 install hangs at “Setup is Starting”

I am trying to reinstall Windows 7 from an install DVD but it hangs at "Setup is Starting" ad infinitum… I have tried using the repair option instead but it hangs with a blank screen (just the Windows ...
0
votes
0answers
156 views

DELETE DISK (with DISK PART) on exFAT file format - How to recover?

So I got myself into a bit of a situation here... I have a 1TB HDD with all my files on it. I was in DISK PART cleaning up my SSD for Windows 10 clean install, but I accidentally selected the wrong ...
0
votes
2answers
227 views

Remove all volumes from all connected disks - Diskpart

How can I remove all volumes from the hard drives in a WinPE environment using Diskpart through Powershell or WMIC calls? The WinPE image will be injected with the required packages using DISM ...
2
votes
0answers
74 views

DiskPart status list

I'm writing a simple script that checks the output from diskpart for certain keywords. I am running echo list volume|diskpart and then checking the output for failed or whatever bad status is listed. ...
1
vote
1answer
62 views

Can't access HDD due to partitioning problems

So I have a HDD full of my media, photos music etc. It was working fine in windows 10, but since reverting back to windows 8 (os is on an SSD) I can no longer find the drive in my computer. I've ...
1
vote
0answers
242 views

Windows 7 installation - setup was unable to create a system partition or locate an existing partition

I am trying to install Windows 7 from a bootable USB drive. I encountered the following error after selecting the partition to install Windows on: Setup was unable to create a system partition or ...
0
votes
1answer
33 views

What is the quickest way to Recover an NTFS partition?

I've ran the following on the wrong drive in the diskpart command in windows: select disk 1 clean create part pri What is the quickest way I can recover the old partition in the drive? It was an ...
0
votes
1answer
1k views

Unable to format 64gb RAW SD card Cyclic Redundancy Check error [duplicate]

I recently purchased a new, Silicon Power high-quality micro-SD card. I used it multiple times as a boot disk for my Raspberry Pi, each time I burned a 4gb disk image and installed the OS, then ...
0
votes
1answer
220 views

Batch to reassign drive letter based on volume name

I have a "WINPE" volume and I am trying to get a batch script that will assign it drive letter "Z:" Someone gave me the script below but it does not work for /f %%D in ('wmic volume get ...
0
votes
1answer
83 views

cannot partition the unallocated space, keep getting error

I'm trying to allocate this unallocated space and this is the error I get ... I cant delete or do anything .. this a 160 gb hard drive of mine which I'm not able to use .. can't install windows into ...
1
vote
1answer
80 views

Script for finding out disk number

I have an external hard disk with two partitions. The first one is an UDF partition and the second partition is a Veracrypt partition. Now I want to use a batch script to load the Veracrypt partition ...
0
votes
1answer
439 views

Undo Diskpart clean

This is a life-destroying moment for me. I have a 2TB External Hard drive, with 2 partitions. The first one is UDF and second one is a Veracrypt-encrypted partition. The drive was GUID -based, and the ...
1
vote
1answer
580 views

Unable to format,'The system cannot find the file specified'

I've just bought a USB drive however i had some problems with it as soon as i started using it. At fisrt all of a sudden Windows would just lose the "communication" with it, stopping any task it was ...
0
votes
1answer
459 views

Unable to remove write protection from my SD card in windows 7

My SD card is showing: The disk is write protected So I open Diskpart through the command line in Windows 7 and follow these steps: To check my disk name I type: list disk Now I select ...
1
vote
1answer
2k views

How to do a Diskpart Clean on OS X

Is there a way to perform the equivalent of (Windows') diskpart clean via MacOS X? I have to completely bomb some drives so that they can be formatted correctly in a buffalo Linkstation that I have. ...
0
votes
2answers
68 views

usb dropped from 16gb to 8gb, diskpart seems not to work

I have an 16gb usb that "dropped" to 8gb. I have tried to use diskpart but that didn't fix the problem. One reason may be that I haven't used diskpart before so I have just read a little about it ...
0
votes
0answers
31 views

Disk Cloning and Drive Partition Tags

I have cloned my single HDD to a new, larger disk but am having trouble matching the drive status tags. The C: partition on the current drive is marked with the following tags: Boot, Page File, Crash ...
2
votes
1answer
276 views

Free space vanishes after creating primary partition in DISKPART

I’m trying to partition a RAID disk with DISKPART. The format is MBR. The capacity in RAID is 6.7 TB when I’m starting out. The symptom I’m seeing is that after I create my relatively small primary ...
1
vote
1answer
2k views

installing 32-bit windows: diskpart convert mbr error

I have an efi-based 64 bit system with win 8 pre-installed. I want to downgrade to 32-bit win 7 and so I booted up a bootable win 7 usb and opened command-prompt with shift+f10. I used convert mbr ...
0
votes
2answers
1k views

batch file to remove and reassign drive letters

I have what I believe to be a unique issue. I don't do a lot of work with batch files, but I think that would be my best option. Here is the situation. I have special software that looks for a ...
2
votes
2answers
2k views

Unable to delete a large extended partition

I am trying to delete the extended partition 0 because it occupies a lot of space in my disk. I deleted all swap partition and tired again to delete it but it always shows the same error message: ...
3
votes
1answer
7k 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
1k 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
78 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
82 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
33 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 ...
3
votes
3answers
49k 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
9k 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
2answers
6k 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 ...
2
votes
5answers
91k 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 ...