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
0answers
158 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
67 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
26 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
64 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
0answers
68 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
130 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
47 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
20 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
196 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
43 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
39 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
68 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 ...
0
votes
0answers
63 views

How to parition disk containing OS using DISKPART?

I have a single HDD. All of the storage space is used for C drive now, i.e. everything is as it was out-of-the-box. I want to split up the storage space to create three drives D, E and F using ...
0
votes
3answers
23k 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
214 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 ...
0
votes
0answers
198 views

Diskpart cannot see some of the volumes in Windows 8

I have a dsik with lots of volumes on it that I need to delete from it automatically. I use diskpart to first get a list of all volumes (detail disk), and then decide (from their properties) which ...
6
votes
1answer
625 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
586 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
584 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
265 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 ...
0
votes
0answers
121 views

Extend Extended partition using diskpart util

I have the following partitions : Primary Partition Primary Partition Primary Partition Unallocated Space Extended Partition : Logical Partition I need to expand the size of the logical ...
0
votes
0answers
47 views

I don't see the option to save the partition table

The issue is this: Undo the CLEAN command on the portable hdd : DISKPART Unfortunately, at step number 10, I don't see the option to save the partition table. But there are options for: Deeper ...
0
votes
1answer
199 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 ...
2
votes
2answers
866 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 ...
0
votes
0answers
456 views

Diskpart “readonly” attribute discrepancy for disk

I was using DiskPart to set the readonly attribute on my USB flash drive. I used the command select disk 1 //disk 1 is my flashdrive attributes disk set readonly detail disk On executing detail ...
1
vote
0answers
744 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
215 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
80 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
1k 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
431 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 ...
0
votes
3answers
2k views

How to restore deleted OEM partition that is “still there”?

I made the mistake of deleting Windows 8 OEM Recovery partition instead of just making it inactive. I used diskpart: select partition n delete partition Now I see the unassigned space in the Disk ...
0
votes
0answers
177 views

Why does diskpart not find my hard drives when booting from Windows 8 USB recovery drive?

I'm trying to repair my Windows 8 EFI bootloader (after I set up Ubuntu, Windows won't boot ... I believe the main Windows partition is fine but the Windows bootloader files on the EFI partition have ...
1
vote
3answers
1k views

W7x86 USB Reinstall; “Setup was unable to create a new system partition” issue

I am running an Acer AspireOne AOD250. Doing a clean reinstall of W7x64 Ultimate. My problem is very similar to this one, except that I am installing from a USB as the Acer AspireOne does not have a ...
1
vote
4answers
11k views

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 ...
1
vote
1answer
133 views

Device imaging process Won't work first time

I'm having an issue regarding a disk imaging process. To get the machine into it's initial state, I first run a simple DISKPART CLEAN, and then restart the machine. I then boot the machine into a ...
0
votes
1answer
7k views

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 ...
3
votes
1answer
674 views

Extend volume where unallocated space lies ahead of it

I want to extend my volume. However the unallocated space lies ahead of the volume. Is it possible to extend this volume without converting it to a dynamic volume? Large Image I tried to use ...
0
votes
1answer
690 views

Lost HDD partition to clean command, testdisk unresponsive

I accidentally cleaned my external HDD by the clean command in Diskpart and got a full sized heart attack after that. I did some research and I have tried a number of tools already. To name a few: ...
0
votes
0answers
18 views

How to create a Software RAID1 in Windows 7 Home Premium? [duplicate]

Possible Duplicate: Which software raid modes does each version of Windows 7 support? Using the built in DISKPART program, or Disk Management, or anything else native to Windows 7, is there ...
0
votes
2answers
1k views

What do the readonly attributes in diskpart really mean?

I am wondering exactly what the meaning is of the "Read-only" disk and volume attributes that you can twiddle in diskpart on Windows 7. I am trying to set up an external USB drive as an installation ...
0
votes
2answers
737 views

Format (remove) HDD volume that is visible in Windows 7 Disk Management but not diskpart.exe

I'm trying to get iRST working on a SSD I installed in my lenovo u410. As part of that process, I created a hibernation partition and was fiddling around with RAID/AHCI settings. I managed to make my ...
1
vote
1answer
700 views

Windows 7 migration led to crashdump and hibernate problems

Note: I'm using a Samsung 830 SSD (migrated OS from defunct PC) and other than these two (interrelated?) problems it's working fine. Surprisingly well actually. Motherboard is a ASUS P8Z77-V Deluxe. ...
3
votes
2answers
3k views

Undo the CLEAN command on the portable hdd : DISKPART

When using DISKPART I accidentally used the CLEAN command on my portable WD 500gb HDD. Now it is not showing as a drive in my computer, though shows as unallocated space in Disk Management. Thanks ...
0
votes
1answer
520 views

DiskPart Align Minimum Value

Typically, when the create partition command is invoked, there's a default alignment of 1024, at least for the Windows 7 version. Say these commands were issued. select disk 0 clean convert gpt ...
0
votes
1answer
593 views

Windows 7 Installation Drive Letter Assignment

Windows 7 defaults to assigning the letter C: to the primary partition if you let windows 7 handle a raw volume. However, assuming there are no optical/floppy drives, would it be possible to use ...
0
votes
2answers
3k views

exFAT to NTFS formatting troubles

I recently ran a chkdsk on 2.5" 230GB SATA HDD but the plug was pulled before the end of the chkdsk and since then it wouldn't boot up. Deciding to scrap all data on the HDD (no longer needed it), I ...
0
votes
1answer
52 views

Unable to CD into volumes [duplicate]

Possible Duplicate: Using cd Command in Windows Command Line, Can't Navigate to D:\ After using diskpart to create T:\ I can't actually cd into T:\ When I try cd T:\ It does ...
1
vote
4answers
1k views

Not able to partition C:\ Drive as per needs in Windows 7

I am trying to partition my c drive into 2 drives. My c drive has 412 GB free of 450 GB. I wish to participate as 30 GB: 382 GB. But when i try to shrink volume (by going through My Computer --> ...
6
votes
3answers
27k views

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 ...
11
votes
1answer
6k views

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 ...