DiskPart is good for cleaning up and formatting a drive that does not work properly on Windows 11/10!
There is the Disk Management Tool , it's a useful and effective tool for managing your Windows volumes and partitions . It is not as powerful as Diskpart. Use this command-line tool to delete, create, and modify partitions on any hard disk or USB storage that your PC can recognize.
Simple example for the use of DiskPart under Windows 10!
1. Start via Windows-X commandd promt and start the "Diskpart"2. show available disks, command: Disk List.
3. selected disk, command: select disk 1
4. cleaning the disk, command: clean
5. creating the specified partition, command: creat partition primary
6. set current partition as active, command: activ
7. format disk partition, command: format fs=fat32 quick
7b. assigned the drive letter, command : assign
8. Now only copy the required Windows Setup files from the DVD to the USB flash drive.
8b. If the data is in an ISO file, you can, for example, unpack with 7-Zip.
"DISKPART" output:
Microsoft Windows [Version 10.0.10130] (c) 2015 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>DISKPART Microsoft DiskPart version 10.0.10130 Copyright (C) 1999-2013 Microsoft Corporation. On computer: WIN-10 DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 232 GB 42 GB Disk 1 Online 3900 MB 0 B DISKPART> select disk 1 Disk 1 is now the selected disk. DISKPART> clean DiskPart succeeded in cleaning the disk. DISKPART> creat partition primary DiskPart succeeded in creating the specified partition. DISKPART> active DiskPart marked the current partition as active. DISKPART> format fs=fat32 quick 100 percent completed DiskPart successfully formatted the volume. DISKPART> assign DiskPart successfully assigned the drive letter or mount point. DISKPART> exit
Info:
In most situations, we recommend using the Disk Management Tool. However, if Windows does not start properly or if you prefer the PowerShell Terminal , Diskpart is the perfect alternative. Here's an example of some of the most common diskpart commands you can use to effectively use Diskpart. To format a hard disk at the command prompt. Formatting a hard disk or SSDThis is equivalent to buying a new hard drive because all data is deleted in one go. When you format your hard drive, you can clean up both internal and external storage media, even on older versions of Microsoft's Windows operating systems, whether it's a Windows desktop, tablet, Surface Pro / Go, or even a server operating system.
In most situations, we recommend using the Disk Management Tool. However, if Windows does not start properly or if you prefer the PowerShell Terminal , Diskpart is the perfect alternative. Here's an example of some of the most common diskpart commands you can use to effectively use Diskpart. To format a hard disk at the command prompt. Formatting a hard disk or SSDThis is equivalent to buying a new hard drive because all data is deleted in one go. When you format your hard drive, you can clean up both internal and external storage media, even on older versions of Microsoft's Windows operating systems, whether it's a Windows desktop, tablet, Surface Pro / Go, or even a server operating system.