Diskpart is a command-line hard disk partitioning utility included in versions of Windows from Windows 2000 onwards
Questions tagged [diskpart]
267 questions
104
votes
2 answers
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 something I can easily address without additional tools?
Mr. Boy
- 5,056
- 26
- 65
- 103
99
votes
5 answers
How to move the recovery partition on Windows 10?
I upgraded to Windows 10 and a 450Mb Recovery partition was created on my disk.
I would like to extend the system partition but the Recovery partition is in the way.
How can I move the Recovery partition to the end of the disk volume without…
pharsfalvi
- 1,091
- 1
- 7
- 4
58
votes
1 answer
How to mount an NTFS partition read-only in Windows?
I feel like this is a really simple and fundamental function that Windows should have, but so far Google has been telling me it isn't possible. How can I mount an NTFS partition read-only in Windows?
netvope
- 5,215
- 14
- 57
- 77
55
votes
10 answers
Unable to format disk: 'The system cannot find the file specified'
I have a USB flash drive, which I may have mucked up, so I used DISKPART's CLEAN to clean it up. I created a simple volume, and tried to format it. (This is all using Windows' disk management.) I was told The system cannot find the file…
ACarter
- 1,374
- 3
- 14
- 27
22
votes
7 answers
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\Harddiskvolume1 means the first Windows' partition (aka "System…
X.LINK
- 2,291
- 5
- 23
- 33
19
votes
8 answers
Recovering a Partially Formatted USB Thumb Drive
I have a USB Thumb Drive that I was going to use to install Windows 7 with. While formatting the drive with the Windows 7 USB/DVD download tool it failed leaving my USB drive in an unusable state.
I can see the drive with the Windows Disk Manager,…
Mark Tomlin
- 1,299
- 3
- 14
- 23
16
votes
2 answers
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 Gpt
-------- ------------- ------- ------- --- …
km1
- 283
- 1
- 3
- 7
15
votes
3 answers
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 partition there using diskpart while that space is not…
Hadi
- 175
- 1
- 1
- 9
15
votes
4 answers
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 LIST DISKS or anything.
Kevin
- 151
- 1
- 1
- 6
14
votes
7 answers
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 flash drive, there is no write-protect switch. I…
Sega dude
- 258
- 1
- 2
- 7
12
votes
1 answer
How do I check Windows 7 Software RAID Rebuild Progress from the Command Line?
I use software RAID on my Windows 7 ultimate box media center. Unfortunately, Windows decides it needs to rebuild my software RAID pair much more often than I'd like. The most common way to see the progress of rebuilding the RAID is to use…
Pridkett
- 1,312
- 2
- 14
- 23
10
votes
6 answers
How to create windows 8 boot partition on drive that never had one?
So 3 months ago I built a PC, but had the opportunity to borrow an SSD from my place of employment. I originally installed windows 7 trial mode on that SSD, and then after a few weeks upgraded to windows 8, but installed it on a second hard drive. I…
wizpig64
- 239
- 1
- 2
- 5
8
votes
3 answers
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 see the data through the command promt (from…
fjoesne
- 81
- 1
- 1
- 3
8
votes
1 answer
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 help one way or the other. Perhaps it's out of…
Iron3eagle
- 201
- 2
- 7
8
votes
1 answer
Can't format USB disk because volume is offline
I have a USB disk that has gotten bollixed up and for the life of me, I can not reformat it and get back to square one.
I attempted to create an Acronis Survival Kit using a WD Elements 2TB USB disk. Acronis was reformatting the disk to make it…
Darryl
- 245
- 1
- 3
- 6