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
1answer
14 views

Usb current write protected state

I have a big problem with my drive because when I try to put anything on it it says that is write protected.I seen that with diskpart would work but nothing,same with regedit.I need help quick with ...
0
votes
1answer
47 views

How to turn off write protection in win 7 using diskpart?

a while back i wanted to make my USB write-protected. So as suggested somewhere i used the CMD command attributes disk set readonly Now i want to revert back to full permissions. How to achieve this?
0
votes
3answers
106 views

I accidentally deleted my drive with DISKPART

I was trying to fix my broken USB flash drive with DISKPART but I accidentally deleted my D drive (fortunately this is not my system drive). I have a complete command history of what I've done but I ...
0
votes
0answers
59 views

Windows installer can't format SSD

Laptop: Asus Rog G750jm. The laptop suddenly started to get into a bootloop every time i started it. I tried reinstalling Windows 10 by creating a Bootable disk on a Mac and it fails to format the ...
0
votes
1answer
47 views

How to recover data from Hard Disk that is DISKPART cleaned?

By mistake, I used DISKPART clean to switch between MBR and GPT hard disk types to install windows. So whole data is lost and I have reinstalled Windows 10 on it. During installation, I formatted the ...
0
votes
1answer
91 views

How to access the data from my old hardrive

my old laptop died on. Me after taking out the SATA hardrive and putting in to a SATA-enclosure, I am able to access one of the two important partitions that were on that hard drive. The biggest one ...
0
votes
1answer
27 views

Can't Format USB stick after DISKPART

Win 7 Pro on HP6250 x64 I used the steps under getting rid of a hidden partition on a USB drive. That worked but now I can't FORMAT the stick. The last version I tried was FORMAT FS=FAT . The normal ...
0
votes
1answer
141 views

How to clear hidden attribute from partition if “attributes volume clear hidden” fails with “Virtual Disk Service error: The object is not found.”

After select volume [n] in diskpart attributes volume clear hidden fails with Virtual Disk Service error: The object is not found. I found some forum threads which might contain a solution (http://...
4
votes
1answer
624 views

Diskpart - Can't delete a partition without the force protected parameter set

Following on from my previous question (Can't remove recovery partition) I have been trying to use Diskpart - with the following results: Is my disk locked in a permanent way or is this ...
1
vote
2answers
58 views

How to reformat a thumb drive that is listed as having 0bytes free?

I have a thumb drive that has somehow been corrupted. When I plugged it in, Windows prompted me to reformat, so I did, and that did nothing. I checked on the drive in computer management and there was ...
0
votes
2answers
50 views

Not able to Format USB from all possibilities

I have a Sandisk Pendrive of 16GB. Unfortunately, I filled the pen drive full except for 0.98 GB free space. Now when I am trying to use that USB drive in my PC, it is just loading and then I get an ...
0
votes
0answers
69 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
35 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
114 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
19 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
2k 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 \Device\...
0
votes
0answers
80 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
58 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
432 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 ...
1
vote
2answers
644 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
43 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
68 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
2k 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
908 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
284 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 setup:...
0
votes
0answers
127 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
4k 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
65 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
230 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
76 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
824 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
83 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
182 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
332 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
99 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
65 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
288 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
284 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
98 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
95 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
500 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
655 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
498 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
76 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 ...
1
vote
0answers
33 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
299 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
3k 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 ...