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
15 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
37 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
votes
0answers
16 views

Recovery after diskpart clean

I intended to install Windows 7 on the sda2 with 200GB, while having Linux Mint installed on sda1, with 180 GB data out of 260GB. After booting from Windows 7 USB, I have created a new partition as ...
1
vote
2answers
35 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
107 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
37 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
32 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
163 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
160 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
97 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
76 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
554 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
39 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
88 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
54 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
335 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
71 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
124 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
133 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
57 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
60 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
213 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
32 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
736 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
161 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
70 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
66 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
383 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
509 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
407 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
1k 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
62 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
28 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
254 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 ...
0
votes
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
956 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
1k 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: ...
2
votes
1answer
6k 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
75 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
81 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
30 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
38k 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
7k 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
4k 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
76k 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
1k 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
93 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
4k 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
2k 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 ...