Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [diskpart]

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

0
votes
1answer
24 views

Disk Partitioning using DiskPart - Virtual Disk Service Error

I can find similar posts, but not the exact issue I am having. I am trying to create a partition on a Dell Latitude 7490. If I run the commands below in sequence then it fails on convert gpt with the ...
0
votes
0answers
14 views

Partition recognized, volume not

On a Windows 7 machine, the internal hard drive is splitted into three partitions. Two of them work just fine, but the third one is not visible in the explorer. In diskpart, list partition shows all ...
0
votes
0answers
51 views

diskpart formatting 4K drives to use 4096 bytes per sector instead of 512 [duplicate]

I Installed Windows 10 on 1TB hard drive. After doing some research I learned that my drive is 4K native, physical sector size is 4096 as shown in below command output: C:\Windows\system32>fsutil ...
0
votes
2answers
34 views

How to remove setup partition ( volume ) after OS install

I was installing a new Windows on my new SSD from a USB drive but the often appearing error "We couldn't create a new partition or bla bla.." appeared so I used cmd and diskpart to create a new 5GB ...
0
votes
1answer
35 views

Cleaned Drive through Diskpart, NO BOOT, NO CMD, NOTHING

I bought a desktop and it wasn't reformatted. Step 1: Enter Win7 CD. - Would not let me select SSD - Had error message(forgot now) - Googled it and it instructed me to access CMD in Windows start up, ...
0
votes
0answers
319 views

SSD has primary partition only, no volumes in Windows 10 DISKPART

After receiving a BSOD, and I try to restart my machine is doesn't work. I get a 0x80070057 error. I can't fix it, it seems. This got me wondering if my SSD had failed. I am on a Thinkpad T450s ...
1
vote
2answers
44 views

Windows doesn't recognize HDD

I bought a computer and I installed Windows 10. I bought it with 256 GB of SSD and 1000 GB of HDD. I installed the OS on the SSD. When I installed it, the operation system can't find my hard disk. I ...
1
vote
0answers
45 views

hasleo Win Setup From USB tool Destroyed my usb?

I launched the tool normally then selected the win 10 iso file then the tool asked me to select from MBR for bios - GPT for UEFI - MBR for bios and UEFI i have selected MBR for bios and UEFI and ...
0
votes
1answer
231 views

SSD C: drive cloned to larger SSD, but new drive bluescreens: inaccessible boot device

I'm trying to upgrade my SSD with Windows 10 and a few programs on it from a 120GB model to a new 500GB one, and I've had a fair amount of trouble but am now at the point where I need help. Here's ...
0
votes
1answer
36 views

How to restore flash memory missed space?

My flash memory is 16 GB but windows reads it as 4 MB. I tried to use diskpart but it still says 4 MB. I also tried to see if there is any unallocated memory space but i did not find anything. I don't ...
0
votes
1answer
59 views

Windows 10 Cyclic Disk Errors, Applications Randomly Stop Responding, DiskPart Stuck on Blinking cursor. Source of the problems?

I have a windows 10 PC with 3 drives, a 100 GB SD from which the system boots, along with a 1 and 2 TB hard-drive used for storage. Until I disabled fast-boot the system was unable to shut-down/logout ...
0
votes
1answer
424 views

Can I recover data after diskpart 'clean' and 'convert gpt' commands [duplicate]

I accidentally deleted all my data while windows installation setup by running diskpart 'clean' command. :( Then I executed 'convert gpt' command and all my data was gone. I did not copy anything to ...
0
votes
0answers
52 views

How do I format a Sd card (8gb sandisk) which is showing raw files (30mb) & write protected? [duplicate]

Through command prompt I can neither select partition nor create another primary partition. Also, I am unable to format it using 3rd party software.enter image description here
-1
votes
1answer
150 views

While installing Win 10, used diskpart, I ran clean command by mistake on the whole disk, so it becomes a single 465 GB partition [duplicate]

While installing Windows 10, used diskpart to format one of my drive, I ran clean command by mistake on the whole disk, so it becomes a single 465 GB partition. Previously, it contained four ...
1
vote
0answers
672 views

diskpart: creating primary partion error

I am trying to do clean install Windows 10 from a bootable flash drive, but when I try to make a partition I get this error: We couldn't create a new partition [Error 0x80070017]. [image here]. ...
3
votes
2answers
308 views

Why does converting a disk to GPT with diskpart automatically create a 128MB reserved partion?

I recently bought a 3TB internal HDD, intended to be used as a backup drive to encompass all of my data. After installing the drive into my system, I started to use Windows' command-line diskpart tool ...
1
vote
1answer
11 views

Partition blocks for expansion of another partition

A year ago I installed Linux Mint as dual boot on my machine. Since I been using less and less I decided to get rid of it this morning. I deleted 2 partitions and recreated my bootrecord. So far so ...
0
votes
0answers
23 views

Windows: Lost my data volume via diskpart clean when I ran clean on system volume

I'm wondering why this happened. I had a data volume that I did not want to touch. I wanted to wipe the system volume and install new OS on it so I ran diskpart and selected that volume. System ...
0
votes
1answer
660 views

Windows 10 REFUSES to install to new Evo SSD - though runs on dying HDD

I see a couple of other posts here which are similar to mine, but not quite. I sure hope someone can help with this one. I've been building & installing computers for years and I'm totally stumped....
2
votes
0answers
2k views

Mount EFI partition on a removable media in Windows 10

There are these similar questions like mine already: How do I mount the EFI partition on Windows 8.1 so that it is readable and writeable? But, my trouble is that these methods are not working for ...
0
votes
0answers
21 views

Unable to format SD Card (diskpart, hp format tool, sd formater or other methods didn't work) [duplicate]

I have that 64GB Transcend microSD card from my old android phone. I changed phone so I said to copy first my data to pc and then perform a format. 1) Windows format didn't work, tried multiple card ...
1
vote
0answers
248 views

How to initialize unknown disk in windows 10

I have a win10 Pro box with a Samsung 840 Evo SSD (250Gigs) Trying to reformat a Samsung 840 Evo SSD (120Gigs) that was part of a ZFS SAN I recently dismantled, and re-purposed. I can see the disk ...
0
votes
1answer
1k views

New SSD (850 Evo) not visible in Device Manager or Explorer (Windows 8/10)

Scenario and Symptoms A brand new Samsung 850 Evo SSD fails to show at all in Disk Management (DiskPart), and consequently cannot be formatted or accessible from Windows Explorer. This is true for ...
1
vote
1answer
1k views

diskpart cannot delete D: partition

When trying to delete D: partition (C: containing system, select volume 1 + delete volume override) I get error from diskpart: Delete is not allowed on the current boot, system, pagefile,crashdump or ...
0
votes
1answer
72 views

why can a camera reformat my microsd drive but not DiskPart?

I can not delete data from the directory of my micro-sd card. i tried removing read only protections using diskpart, which said this was completed succesfully however did not change anything. using ...
0
votes
0answers
285 views

Repair SSD via windows recovery CD

I managed to brick my SSD with windows 10 installed on it. I can't remember exactly what I did to brick it but I've managed to get the BIOS to recognise the SSD again and now I'm using the windows ...
0
votes
0answers
80 views

Partitioning micro sdcard fails with sdcard reader

I'm using a diskpart script from C# to completely clean a micro sdcard and create a single partition taking the entire available space. This is the script I'm using: select disk <n> clean ...
1
vote
1answer
754 views

How to create an additional GUID partition on a GPT disk, using Diskpart, in Windows 10?

I have Windows 10 installed on on a GPT disk. This is the current partition layout: Partition 1: 499 MB (Recovery) Partition 2: 99 MB (System) Partition 3: 16 MB (MSR) Partition 4: 320 GB (Primary - ...
0
votes
0answers
53 views

Can I prevent third party apps from using Diskpart – Windows 7?

I have Windows 7 64 bit (EFI Mode boot) desktop PC. As the title suggests, I would like to know if there’s any way I can prevent third party apps from accessing diskpart.exe on my system. I ...
0
votes
1answer
3k views

How do I fix Disk 0 size 0 B?

I'm reinstalling windows 10 on my laptop. I never get past choosing where to install it because it always says that I can't install it because it's only 0 MB. While trying out a possible solution that ...
0
votes
3answers
1k views

DISKPART: GPT Primary Partitions

For a GPT disk Microsoft DISKPART command list partition defines some partitions as Primary and similarly the Disk Management utility. But the old primary/extended partitions of the MBR scheme is ...
0
votes
3answers
157 views

USB flash drive not recognisable and causing strange behaviour

I have a USB flash drive (16GB Kingston DataTraveller 100 G3) that stopped working a few months ago. As far as I can remember, all I did was pull it out of the USB port without "safely removing" it. ...
0
votes
1answer
248 views

In diskpart, what is the difference between deleting all a drive's partitions and cleaning it?

CMD's diskpart utility seems to have two ways to delete partitions on a USB flash drive: Using select disk #, then select partition #, and delete partition to delete partitions individually. Using ...
0
votes
0answers
576 views

Create a FAT16 filesystem with DiskPart

I need to create a FAT16 image via a batch script. I am trying to get DiskPart on Windows 10 to create a FAT16 image and am running into some issues. How I am attempting to create the image diskpart ...
0
votes
1answer
85 views

What will be the partition order after deleting C and System Reserved only during Windows 7 installation?

1st Question: My disk is partitioned now this way partition 1 (System reserved) : 350MB partition 2 (C:) : 230 GB partition 3 (D:) : 112 GB Partition 4 (E:) : 107 GB If i deleted the C partition and ...
-1
votes
1answer
320 views

Where disk read-only attribute is stored on Windows?

When you set read only attribute on disk or partition with diskpart, is it stored on the disk itself? Some answers here say yes but in my experience it is not saved on the disk. I marked removable USB ...
0
votes
1answer
1k views

Why can't I shrink a virtual disk in Hyper-V

I have a virtual machine running Ubuntu 12.04 which I created using Hyper-V in a Windows 8.1 host. At one point, I had a very large file in my virtual machine which caused my dynamically expanding ...
0
votes
1answer
2k views

How to force stop the formating proccess of a Hard drive?

I have an issue with an hard drive (pretty slow) and I wanted to format it on windows using diskpart. As I was looking for options I pressed enter on the command line "format". It's been 12hours and I'...
3
votes
0answers
568 views

Windows 10 not respecting NoAutoMount registry key

So I've found a frustrating issue. In the past (Windows 7) automounting of disk volumes could be disabled through either diskpart -> automount disable or mountvol /N both of which set the Registry ...
-2
votes
1answer
36 views

Can creating partition on a Hard disk, affect the data [closed]

I have Accidentally erased whole disk of my laptop, now Linux mint is running the partition of the disk is like this (. /Dev/sda1 ext4 927GB, /Dev/sda2 extended 3.92 GB, /Dev/sda5 Linux-swap ...
1
vote
1answer
7k views

diskpart list volume does not show all volumes [closed]

I have 2 disks attached to windows2012 R2 machine. I can see both disks from diskpart's list disk command and both of them are Online. One disk has 2 volumes for boot partition and for system reserved....
0
votes
1answer
44 views

Hybrid - Disk 0 / Disk 1

Somehow C and D switched places. I need the boot disk back at Disk 0. My boot and recovery options have changed as well. C needs to Disk 0 it is the boot and recovery disk.
2
votes
1answer
113 views

1.5TB hard drive showing as 500Gb

I have a Samsung 1500GB hard drive (HD155UI) that started life as a external hard drive. It was later removed from its enclosure and placed in a gaming computer. After this, it was removed from the ...
0
votes
0answers
50 views

Not able to delete the reserved partition

I tried deleting the reserved partition using diskpart but wasn't able to do so. What do I have to do to get around this virtual disk service error? I tried deleting the partition using minitool ...
0
votes
0answers
827 views

How can I use Diskpart to merge System Reserve and the Windows partition before installing Windows?

Disk 0 contains three partitions: 1, 2, and 3. 1, 2, and 3 are System Reserve, the Windows partition, and the data partition respectively. DISKPART Select Disk 0 Select partition 1 Delete ...
0
votes
1answer
68 views

Windows 10 not booting: Drive seems to have disappeared

I bricked my system by (I think) interrupting sfc /scannow somehow. Whatever I did, Windows won't boot anymore and throws this error. I tried all the usual things with recovery tools, like CHKDSK, ...
1
vote
2answers
539 views

Lost partition in Win 10, cant assign a drive letter

Yesterday, after a restart, I discovered out that drive D is missing. I can see the partition in Disk Management console but there is no information about it. I tried to assign a drive letter to it, ...
2
votes
1answer
1k views

Cannot select partition in diskpart

I am trying to delete the partition on a USB flash drive (trying to format it using Windows 10 is unsuccessful). Using diskpart I get the following output: DISKPART> list disk Disk ### Status ...
0
votes
0answers
2k views

DiskPart cannot format an offline volume

Previously it was all right buy a few days ago, I couldn't create a Windows To Go drive because all methods are failing. Then I tried to do the stuff on own before I notidec this: DISKPART>sel dis ...
0
votes
1answer
1k views

Using diskpart for unallocated space during windows 10 installation

I'm a newbee and excuse my bad english. Here is my stituation. The hard drive was 2 partitions and i deleted primary (system) one. Now its seem as unallocated space. I read the following answer of the ...