2022 Developer Survey is open! Take survey.

Questions tagged [diskpart]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
29 views

What is the difference between bcedit and diskpart for deleting partitions

I successfully removed grub in two different ways: First one was to use rmdir inside the EFI volume after assigning it a letter using diskpart, and the second one was using bcdedit and deleting the ...
user avatar
0 votes
0 answers
34 views

Why is my SSD drive is not listed when I run list disk" in "diskpart" command?

In disk management, the SSD drive shows online, but when I try to convert it into a basic disk it tells me this: “The operation is not allowed on a disk that is offline” And also does not show any ...
user avatar
  • 1
0 votes
0 answers
113 views

linux. extend partition space with unallocated space BEFORE it

I have a dual boot (win + ubuntu). How I can extend the disk space of /dev/nvme0n1p6 (Ubuntu, is a partition of the current OS) with preceding free space? I tried to do it with GParted but the right ...
user avatar
1 vote
1 answer
26 views

USB device showing 'Insert a disk' message [duplicate]

Here is the story. I got this usb today and I did format it with default settings (only changed its name). Then I copied some files into my usb. Without ejecting it (I think), I disconnected the usb. ...
user avatar
  • 665
0 votes
0 answers
28 views

Can't convert a RAW SD card(MBR formatted) to NTFS or any other windows readable file system

I want to convert my RAW sd card to NTFS or FAT32 file system. I tried using diskpart and tons of other third party tools to recover it but my sd card is partitioned MBR style and I believe diskpart ...
user avatar
0 votes
0 answers
15 views

Computer boots to a black screen or to windows recovery

My windows 10 desktop boots to a black screen, and after three shutdowns, it boots into windows recovery. From the windows recovery command prompt, the error message I see is that it could not find ...
user avatar
  • 23.6k
0 votes
0 answers
20 views

Seagate ST4000DM000 4TB drive shows up as 2TB even after converting to gpt

I am on a windows 11 laptop with this hard drive connected via SATA docking station to USB. These drives (I have two) used to show up as 4TB on the same hardware. I have run diskpart and run: list ...
user avatar
0 votes
0 answers
26 views

Can I restore Windows with a copy of the original filesystem?

Backstory: I had an issue where Windows somehow was booting off of another drive from it's original install, and I didn't realize it until I restarted and tried to boot back into Windows. I luckily ...
user avatar
0 votes
1 answer
51 views

powershell for diskpart utility in windows

I want to avoid using command prompt for diskpart utility but want to know if there is any alternate available in powershell for diskpart to handle windows Dynamic disks ?
user avatar
0 votes
0 answers
44 views

Win10 diskpart FAILs to format a partition/volume, why?

Briefly speaking, when I execute the following 3 commands upon a new disk, convert gpt create partition efi size=442 format fs=fat32 quick Windows 10 (1909 in my case) blames that: DiskPart has ...
user avatar
  • 5,083
1 vote
1 answer
22 views

Unable to convert to GPT to install Windows 10 home

So first I did a factory reset once installing my NVME M.2, and that's when Windows had the first issue of not running. So I tried installing a fresh windows 10. When trying to make a save location ...
user avatar
  • 11
0 votes
0 answers
32 views

How to assign same disk number to each HDD every time?

Due to having two additional HDDs but not using them frequently enough to have them enabled and online all the time, I figured that maybe I could just enable/disable and online/offline them on demand ...
user avatar
  • 174
0 votes
0 answers
21 views

Reusing a corrupt SD card [duplicate]

Hey I'm trying to reuse a corrupt SD card for Android which is unable to be reformatted. I do not need recovering any existing data on the card, is it not possible to reformat it to be usable on ...
user avatar
0 votes
0 answers
13 views

flashdisk can't be used after formatting with aomei [duplicate]

hello can anyone help me, i wipe my flashdrive using aomei, and then the disk was write protect and the I/O device error this the diskpart picture so anyenone can help me
user avatar
  • 1
0 votes
0 answers
160 views

Diskpart error trying to run "Clean All" command on hard drive

I was using Macrium Reflect to clone the boot drive to one in an Orico USB enclosure. Both are 2.5" HDDs; the source disk is 250GB and the target disk is 500GB. The target disk was working fine ...
user avatar
0 votes
0 answers
20 views

How can I automate the shrink of a primary partition in diskpart?

I want to shrink the only NTFS primary partition on my harddrive with 1GB, so I can create a hidden partition with HP_TOOLS in it. I know how to do it by hard, but I need to automate it (diskpart /s ...
user avatar
0 votes
2 answers
190 views

USB flash disks unusable after trying to make bootable kill disk

I have an issue with 2 USB flash disks which worked great before I tried to create bootable flash drives with Kill disk on it, using the Kill Disk tool. I did not wipe the drive with it, just to add. ...
user avatar
  • 1
2 votes
1 answer
140 views

Can a partition exist without a volume?

There appears to be a partition that seemingly has no volume associated to it. Selecting the D volume (5), which contains the affected partition, results in the primary partition (2) being selected as ...
user avatar
  • 195
2 votes
2 answers
440 views

diskpart shows one partition as two different ones

I want to convert my hard disk from MBR to GPT via mbr2gpt, but for it to work, I can have a maximum of three primary partitions and diskpart is labeling the same partition as two separate partitions [...
user avatar
0 votes
0 answers
22 views

Load password recovery from SD card

The problem I have an old Lenovo tablet (Lenovo IdeaPad Miix 10) that is running Windows 8.1. The tablet comes with a detachable keyboard, that seems to be broken - there is absolutely no reaction to ...
user avatar
0 votes
0 answers
116 views

DISKPART - change "Boot Disk" parameter

First, I booted Windows Server from disk 0. This disk died and had to be changed, so I converted booting to disk 1. Disks are always mirrored. Now I have the new disk (lets say disk 2) and want to ...
user avatar
  • 1
0 votes
0 answers
22 views

Is it possible to use a Windows 10 environment to partiton NTFS on a Windows 7 system

I recently had an interesting discussion if there is any disadvantage or danger to data when you use diskpart originated from a Windows 10 operating system to partition a drive that is supposed to run ...
user avatar
  • 1,249
0 votes
1 answer
124 views

Booting with wrong drive letter. Cannot run regedit to fix

My laptop is persisting in trying to boot from a recovery volume by labelling it C:, and won't boot to Windows in any mode. Stop code is Inaccessible Boot Device. On going into advanced recovery then ...
user avatar
  • 142
0 votes
1 answer
232 views

Can't open Disk Management with USB drive plugged in

Running Win 10 Home, I recently formatted a USB drive with EaseUS Partition Master, nothing fancy, just a single NTFS volume. Now whenever the drive is plugged in, EaseUS can't detect it, Windows ...
user avatar
2 votes
1 answer
87 views

SSD behaves as if it is "read-only" but softwares that have been used "think" the opposite

Wierd behaviour of ssd, not letting me to format it or do anything else except of reading/copying files, as if it is "read-only" but it isn't read-only (based on what diskpart says)... for ...
user avatar
1 vote
1 answer
63 views

Drive partitioning slow in SSD than HDD

Partitioning my SSD is very slow compared to that in my other PC which is having an HDD. Why is that? I believe it shouldn't be. I could shrink a volume in just max 5 seconds in my HDD PC and it takes ...
user avatar
0 votes
0 answers
66 views

How do I reinitialize a corrupted USB key on Windows?

I accidentally borked my USB key using diskpart.exe so that neither diskpart nor Partition Manager recognized the device. When I plugged the key into my Mac, however, the Mac immediately said that it ...
user avatar
  • 101
0 votes
0 answers
24 views

How do I remove a stuck volume from a USB flash drive that has no partitions?

We have a USB flash drive that will not work with our computer image software. I used diskpart clean but it is not cleaning the drive fully. There are no partitions on the drive yet it lists a 0 size ...
user avatar
  • 133
0 votes
0 answers
175 views

Unable to format/wipe Window Disk without Error (Tried Ubuntu Gparted and Diskpart [duplicate]

I am trying to wipe/reinstall Windows, however, all have no success. In usb live boot to Window installation set up, install new Window to override it, unable to delete or format any of my exisiting ...
user avatar
  • 1
0 votes
1 answer
1k views

windows no EFI partition

I installed windows 10 using USB in UEFI mode USB (MBR) installation target (GPT) the USB installation media (created on Ubuntu) dual boots Ubuntu and Windows 10 using grub. menuentry "Windows 10&...
user avatar
0 votes
3 answers
1k views

Starting memtest86 from USB/boot

I need to run memtest86 because my ram is going bad and I want to pinpoint which one it is. I don't know how to change from legacy to UEFI, (which is apparently necessary and I've no idea of the ...
user avatar
0 votes
1 answer
63 views

No drive letter, cant initialize, I/O errors...is my SSD dead?

I have an SSD that is not recognized when I plug in via SATA. Tried all ports and swapped cables. It is now attached to an SSD to USB dongle Not recognized or mounted in windows 7 (dont ask :) ran ...
user avatar
  • 103
0 votes
1 answer
149 views

BSOD - HDD Detected in BIOS but not in diskpart or by Win 10 install

As per the title - my neighbour has asked me to take a look at his laptop after a BSOD. Windows 10 Home won't boot, only option is to boot from USB and do a complete reinstall of Windows. However, ...
user avatar
  • 1
0 votes
1 answer
41 views

Windows 10 corrupt boot sector - system will not boot

After replacing an SSD that failed to boot properly, I still have trouble. The new SSD is a Samsung EVO 860 500GB, running Win10 64. On booting, the error is: reboot and select proper boot device I ...
user avatar
0 votes
1 answer
4k views

Using powershell to run diskpart commands

Although there is a Get-Disk cmdlet in PowerShell, it is not recognized as a command in PowerShell 2.0 on Windows 7. So, I use the diskpart command with the following as an example: DiskPart List disk ...
user avatar
  • 1,005
-1 votes
1 answer
310 views

Can a disk with bad sectors be trusted after the bad sectors are fixed?

I had a Seagate Expansion 2TB(1,862.64514923095703125GiB) external HDD, about a week and half ago my computer freezes at random intervals, it becomes completely irresponsive to keyboard and mouse ...
user avatar
0 votes
1 answer
63 views

Unable to format laptop SSD because it's behaving as if it was read-only

I recently ran into some very strange behavior when trying to recover files and reinstall Windows 10 on a laptop. Essentially, I have an SSD in an MSI laptop with multiple partitions. I have recovered ...
user avatar
  • 101
1 vote
1 answer
1k views

Is it safe to cancel diskpart format in progress?

I am currently formatting my external 1863 GiB HDD, because I had found out there were many bad sectors, however the numbers of the cylinders where the bad sectors are located change everytime I run a ...
user avatar
0 votes
1 answer
176 views

Repair Disk that is not showing up in diskpart

I have a new SSD NVME connected through USB. After a dd command (sudo dd if=/dev/nvme0n1 of=/dev/sdb bs=32M conv=sync,noerror status=progress) something went wrong. Now I can't see it through windows ...
user avatar
  • 125
0 votes
0 answers
25 views

No volume in dispart [duplicate]

I plugged Seagate 1 TB external hard disk into my computer and used Diskpart to check the detail information of disk. I can correctly select the USB drive. However, when I type detail disk in Diskpart,...
user avatar
  • 13
0 votes
1 answer
144 views

Hard drive issues after setting to offline and disconnecting the hard drive

I used Disk Management to set my hard drive to offline (method). I shut my computer off then disconnected the SATA cable and PSU cable from the hard drive. I rebooted and used my computer for a few ...
user avatar
0 votes
0 answers
116 views

Diskpart cannot see volumes

I have an internal disk that is connected to my laptop via USB using a docking station. I am sure the hard disk contains volumes and the volumes are not corrupt. However, Windows 10 cannot read my ...
user avatar
  • 101
0 votes
1 answer
592 views

hard drive not detected in windows but in ubuntu it is detected

I have a problem with my hard drive . After I reinstalled my windows to Windows10 ,there is no sign of my internal hard drive in windows.(I have 128G SSD (2x64 GB RAID0) and 1TB SATA hard drive) There ...
user avatar
  • 1
0 votes
2 answers
720 views

Can't boot in Windows 10 2004: black screen after dell logo

Yesterday everything was fine and I haven't change anything in the mean time, but this morning, my computer can't boot anymore. When booting, the dell logo is displayed and the dell line is loading, ...
user avatar
  • 664
0 votes
1 answer
104 views

Restoring Partition Table and Files After Failed DISKPART Acrobatics [duplicate]

A friend of mine wanted to convert his MBR boot drive to GPT to use UEFI. He accessed DISKPART over the command prompt within the Windows installation environment using SHIFT + F10 and used clean then ...
user avatar
0 votes
2 answers
284 views

How to get list of files in partition?

I'm pretty sure partition 5 (33.86GB) and 6 (3.94GB) is dualbooted Ubuntu with the swap space. Now I don't know what partition 7 (22.75GB) contains, or whether or not it is safe to delete. I right-...
user avatar
  • 131
0 votes
1 answer
49 views

How to recover from a diskpart clean command

I have two hard drives and an ssd in my computer, I accidently ran clean on one of the hard drives. The disks were both dynamic and had a spanned partiton on it between them. I accidently ran the ...
user avatar
0 votes
0 answers
89 views

Windows C drive got mismatched

I just messed up things while installing Ubuntu Windows C drive (where all the Windows files are installed) has been mismatched. Actually, in the partition list (according to the image posted) ...
user avatar
1 vote
2 answers
436 views

How can I recover data from "diskpart clean"?

I tried installing Windows to a partition on my Mac but because I'm stupid I accidentally followed an April Fools' tutorial which said that I need to type in clean into diskpart which deleted my whole ...
user avatar
  • 15
0 votes
0 answers
66 views

Windows Install and Diskpart Failing To Interact With Drive

I am trying to install windows 10 on a laptop. The partitions are listed in the installer and installing on all of them fails as well as deleting them. They cannot be deleted or modified in diskpart ...
user avatar

1
2 3 4 5 6