Questions tagged [diskpart]
Diskpart is a command-line hard disk partitioning utility included in versions of Windows from Windows 2000 onwards
264
questions
0
votes
1
answer
23
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 ...
0
votes
2
answers
61
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 ...
0
votes
0
answers
67
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 ...
1
vote
0
answers
80
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
...
1
vote
0
answers
17
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 ...
0
votes
0
answers
241
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 ...
0
votes
0
answers
50
views
How can I re-label my drive in diskpart when windows wont boot
Long story short, I have a new laptop, I added a new NVME driver yesterday with faster read/write speeds than the drive that came with the laptop had and now my laptop is essentially bricked, here are ...
0
votes
0
answers
336
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 ...
0
votes
0
answers
56
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 ...
2
votes
1
answer
82
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 ...
0
votes
0
answers
76
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 ...
0
votes
0
answers
74
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 ...
1
vote
1
answer
2k
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 ...
0
votes
0
answers
128
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 ...
0
votes
1
answer
211
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 ...
0
votes
1
answer
73
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.
...
0
votes
0
answers
71
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....
2
votes
1
answer
2k
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
...
4
votes
0
answers
428
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 ...
1
vote
1
answer
61
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 ...
1
vote
0
answers
2k
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 ...
1
vote
1
answer
197
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. ...
0
votes
0
answers
80
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 ...
0
votes
1
answer
379
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 ...
0
votes
1
answer
584
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 ?
0
votes
0
answers
593
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 ...
1
vote
1
answer
162
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 ...
0
votes
2
answers
688
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.
...
3
votes
1
answer
580
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 ...
2
votes
2
answers
872
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 [...
0
votes
0
answers
36
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 ...
0
votes
1
answer
743
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 ...
0
votes
1
answer
911
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 ...
2
votes
1
answer
144
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 ...
1
vote
1
answer
201
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 ...
0
votes
0
answers
94
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 ...
0
votes
0
answers
48
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 ...
0
votes
0
answers
584
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 ...
0
votes
1
answer
4k
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&...
0
votes
3
answers
4k
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 ...
0
votes
1
answer
186
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 ...
0
votes
1
answer
216
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, ...
0
votes
1
answer
135
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 ...
1
vote
1
answer
10k
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
...
0
votes
1
answer
701
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 ...
0
votes
1
answer
107
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 ...
1
vote
1
answer
4k
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 ...
0
votes
1
answer
268
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 ...
0
votes
0
answers
26
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,...
0
votes
1
answer
358
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 ...