Skip to main content

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
0 votes
0 answers
51 views

Error 0xc0000001 when booting from external SD card [closed]

I have the Cambio tablet w101. It runs only under UEFI and with windows 10 32bit. It has a built-in flash drive of only 32GB. My windows installation on this disk 0 boots and works fine. But it has ...
walu's user avatar
  • 9
0 votes
0 answers
34 views

Reclaim disk space after failed run of "wsl --manage Ubuntu --set-sparse false"

I wanted to reclaim the disk space of files that were deleted in wsl using DiskPart. To do that, I first ran in the Windows cmd wsl --manage Ubuntu --set-sparse false However, that failed, but it ...
kate allerton's user avatar
-1 votes
1 answer
41 views

Can't format entire Dynamic drive (Windows 10)

I have an SSD that I want to format, but there is a left over boot sector with GPT that I can't seem to write over. This disk had an Ubuntu OS installed on it with its own Dual Boot menu that I ...
Kalamalka Kid's user avatar
-1 votes
1 answer
1k views

Can an SSD locked by ATA password be formatted with Diskpart "Clean" command? And would that erase the ATA password?

Can an SSD locked by ATA password be formatted with Diskpart "Clean" command? If the answer is “Yes,” does the formatting also erase the ATA password?
muttley's user avatar
  • 11
2 votes
2 answers
273 views

Formatting 500gb HDD NTFS to FAT32 then returns: The volume is too big for FAT32

I got the same error message as this post and it also took me 6 hours to wait for that process to finish. But now, I already understand a little why the problem occurs after reading the answer from ...
Hanz's user avatar
  • 31
0 votes
0 answers
59 views

Disk became RAW after chkdsk operation

After chkdsk detected a wrong index entry and acted, a disk became RAW. With diskpart, trying to clean it before formatting yields: DISKPART> clean DiskPart has encountered an error: The device is ...
pstrg's user avatar
  • 23
2 votes
1 answer
3k views

Can't find my disk after diskpart clean

I have a PC with an SSD encrypted with BitLocker, I forgot the Admin password, and lost my BitLocker recovery key. I decided to reinstall Windows and wipe the SSD, but the Windows installer couldn’t ...
Zikofs's user avatar
  • 51
0 votes
0 answers
132 views

Windows 10 won't boot, primary partition has become RAW

My Dell 5559 laptop shutdown suddenly due to power outage. After that, when I tried to turn it on, it gave an error: A disk read error occured Press Ctrl+Alt+Del to restart I have been looking at all ...
Uzair A.'s user avatar
  • 101
1 vote
1 answer
310 views

Win 11 Home - DiskPart cannot find vhdx file that's there?

I'm trying to do this and for the command I get: DISKPART> select vdisk file="C:\Users\me\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx" DiskPart ...
lte__'s user avatar
  • 197
0 votes
1 answer
1k views

I can't create EFI partition (ESP) using Diskpart, on the hard drive

So I'm about to do one of my project: "Windows To Go without WinToGo" (don't care about it). The real problem is when I tried to create ESP to boot, it said:No usable free extent could be ...
AndyPhongWindows's user avatar
0 votes
2 answers
209 views

External Hard Drive Won't Format - Set to GPT/RAW

I'm trying to format an external hard drive, preferably to exFAT, but nothing is working. If I check the details of the disk in diskpart, I get this: And, this is what it looks like in disk ...
tdrsam's user avatar
  • 127
0 votes
0 answers
398 views

Unable to create a bootable partition on NVME drive

Booting Windows off M.2 NVMe doesn’t work even though it is recognized by the BIOS on a dual boot machine I was delighted when I found the above answer explaining how to create a boot partition, as ...
user1787552's user avatar
1 vote
0 answers
395 views

Rufus and Diskpart for clean install - some confusion [closed]

Any help to clarify appreciated! Am planning to use diskpart access from the command line in my Rufus boot USB as a first step to clean and format my destination drive. Plan on using these commands ...
Bachalo's user avatar
  • 2,687
1 vote
0 answers
18 views

How to back alive an unusable USB key? [duplicate]

I bought a usb key a few days ago and wanted to use it to install an OS with Rufus. During the copy of the data I had a power cut. After that, the USB key is no longer usable. I tried the key an other ...
Wofol's user avatar
  • 11
1 vote
1 answer
2k views

How to extend Microsoft Reserved partition

I cannot receive Windows 11 feature updates, specifically Windows 11 version 22H2. I tried joining the Windows Insider Programme initially on the Release Preview channel, but this still did not list ...
Buzz B's user avatar
  • 13
0 votes
0 answers
1k views

How can I solve DiskPart has encountered an error: Data error (cyclic redundancy check)?

I was trying to clean up my SSD through the command prompt and installed the window. However, I could not clean the SSD and it showed Data error (cyclic redundacy check) - image below? Does anyone ...
tassaneel's user avatar
0 votes
0 answers
233 views

How to make old hard drive non bootable

My system's dual booting MacOS and Windows using Boot Camp. I have an external hard drive that came from an old computer, and sometimes when I try to boot to Windows with the drive attached, the ...
Peterdagrape's user avatar
2 votes
1 answer
504 views

Is there a way to copy the contents of an ISO file to a specific windows partition and boot from it?

I'm currently trying to accomplish the following from the windows command line / powershell - create a bootable partition from an ISO, add a boot entry for it and boot from it. It's important to note ...
Yoan Sredkov's user avatar
0 votes
0 answers
244 views

I need help re-installing any OS onto a Lenovo Yoga 6 laptop that probably has nothing on it's disk that can be recovered as well as a BIOS password

So basically, the question is does anybody know of a way to recover or bypass a uefi password on a Lenovo yoga 6 (which doesn't have a cmos battery or switch to "jump" the bios as far as I ...
Sudo-Tom's user avatar
0 votes
0 answers
514 views

diskpart - How do select FAT32 CHS vs LBA

I'm dealing with a pretty old embedded device, and I have extracted and analyzed the SD card that it boots from: Master Boot Record partition ID = 0x0b, aka FAT32 with CHS Addressing. When I try to ...
Sittin Hawk's user avatar
2 votes
1 answer
8k views

Is “clean all” in “Diskpart” totally secure erasure method for SSD, HDD, USB flash drives and other storage device?

I found on the Internet that if you use Diskpart with clean all command you can erase disk so that the data won't be recoverable. And from my experience it is true, because having done this with my ...
Maciaz99's user avatar
  • 147
0 votes
1 answer
500 views

Deleting EFI partition

I'm trying to delete a Windows EFI system partition on my HDD. I decided that I want to move the boot files from the HDD onto one of my SSDs as the HDD is old and I'm afraid of it eventually dying on ...
vmishel's user avatar
0 votes
1 answer
577 views

how to extend partition space with Samsung recovery deleted partition unallocated space? (diskpart)

Note: the disk is Formatted as GPT and I have only one disk. I have a Samsung laptop `300v5a` that came with windows 7, and I upgraded to windows 10 after that I deleted the Samsung recovery ...
user avatar
0 votes
1 answer
111 views

7TB SSD cannot be formatted and restored, shows as 58GB

I had problems with my drive, I presumed that it was due to it being in exFAT. Started deep formatting with cmd, but since it was taking forever, I unplugged the drive. I am now unable to use it. ...
uhl's user avatar
  • 1
0 votes
0 answers
198 views

DiskPart executing only part of script withour giving any error?

I'm creating DiskPart script in C#. It's saved in TXT file with ASCII encoding set. I need to create 3 partitions: EFI, MSR and Primary one. Script is intended to prepare disk for WIM image deployment....
Krzysztof Krzysztof's user avatar
3 votes
1 answer
5k views

How to enlarge size of wsl2?

The WSL2 says it uses more than 90% size. System information as of Sat Jul 30 22:52:35 CST 2022 System load: 0.107421875 Usage of /: 90.7% of 250.98GB ...
Jiu hong's user avatar
  • 187
4 votes
0 answers
892 views

Formatting a failing & write-locked SSD

I have a failing 4 TB 870 Evo SSD. It has lasted less than a year (thanks Samsung). I believe the SSD has entered a read-only mode because it is failing. Any disk enumeration tasks take 30 seconds ...
Matt's user avatar
  • 141
1 vote
1 answer
104 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 ...
Stackerito's user avatar
2 votes
0 answers
3k 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 ...
Давид Шико's user avatar
1 vote
1 answer
908 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. ...
Howsen's user avatar
  • 725
0 votes
0 answers
175 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
1 answer
811 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 ...
jordanthompson's user avatar
0 votes
1 answer
1k 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 ?
user1670527's user avatar
0 votes
0 answers
2k 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 ...
Jimm Chen's user avatar
  • 6,014
1 vote
1 answer
257 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 ...
Shimmy1's user avatar
  • 11
0 votes
3 answers
2k 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. ...
Nefi's user avatar
  • 1
3 votes
1 answer
1k 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 ...
samus's user avatar
  • 355
2 votes
2 answers
2k 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 [...
Viren Joshi's user avatar
0 votes
0 answers
74 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 ...
Sevastyan Savanyuk's user avatar
0 votes
1 answer
2k 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 ...
Topdown's user avatar
  • 142
0 votes
1 answer
2k 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 ...
AidanAshby's user avatar
2 votes
1 answer
494 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 ...
Giorgos Xou's user avatar
2 votes
1 answer
484 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 ...
Tubrag's user avatar
  • 118
0 votes
0 answers
425 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 ...
citelao's user avatar
  • 103
0 votes
0 answers
96 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 ...
naps1saps's user avatar
  • 253
0 votes
0 answers
857 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 ...
Bulaxy's user avatar
  • 1
1 vote
1 answer
7k 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&...
Mr. Doge's user avatar
  • 221
0 votes
3 answers
7k 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 ...
Freed88's user avatar
  • 13
0 votes
1 answer
450 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 ...
Omar's user avatar
  • 103
0 votes
1 answer
338 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, ...
Luke B's user avatar
  • 1

1
2 3 4 5 6