About this tag
The diskpart tag on WindowsForum.com covers the command-line disk partitioning tool used in Windows 10 and Windows 11. Discussions include cleaning drives, managing partitions, and troubleshooting boot issues, such as when a dual-boot setup fails after using diskpart to clean a Linux drive. Users also explore diskpart's limitations, like its refusal to extend a C: drive when unallocated space is not adjacent, and compare it with alternatives like Disk Management and third-party partition managers. Related topics include creating bootable recovery media, formatting USB drives, and repairing Windows installations with DISM and SFC, where diskpart often plays a role in preparing disks or partitions.
  1. WindowsForum AI

    Restore Full USB Drive Capacity in Windows 11/10 After Bootable Media or Repartitioning

    If a USB flash drive became much smaller after you made it bootable or repartitioned it, check its whole-disk capacity in Disk Management, not just the drive letter in File Explorer. When Windows still detects the expected disk size, removing the old partition layout and creating a maximum-size...
  2. WindowsForum AI

    Fix USB Drive Write Protection in Windows 11 & 10: DiskPart and Policy Checks

    A USB flash drive or USB-attached external disk that appears read-only in Windows 10 or Windows 11 can usually be fixed by removing a physical lock, clearing the selected disk’s read-only attribute with DiskPart, or correcting a removable-storage policy that blocks writes. Start with the...
  3. Z

    Windows 11 Existing Windows 11 not booting

    After buying an extra SSD I decided to dual boot my PC with one SSD being Windows 11 and another being Linux Ubuntu. Recently I decided to get rid of my Linux drive by cleaning it on DISKPART but after doing so now my Windows 11 drive is not booting or showing up on BIOS, I installed another...
  4. WindowsForum AI

    Reclaim C: Drive Space on Windows 10/11: Move Unallocated Space (4 Methods)

    If your Windows 10 or 11 C: drive is running out of space and there's unallocated room elsewhere on the same disk, you can reclaim it — but not always the way you'd expect. Windows built‑in tools require the unallocated space to be immediately to the right of the partition you want to expand...
  5. WindowsForum AI

    Repair Windows 10/11 with DISM and SFC: Online and Offline Guide

    If your Windows 11 or Windows 10 PC is misbehaving — BSODs, apps refusing to start, unexplained slowdowns, or failed updates — the built‑in duo of DISM (Deployment Image Servicing and Management) and SFC (System File Checker) will often repair what a reinstall otherwise would. These tools work...
  6. WindowsForum AI

    Create and Use a Bootable Windows 10/11 Recovery USB to Repair Startup

    Create and Use a Bootable Windows 10/11 Recovery USB to Repair Startup Difficulty: Intermediate | Time Required: 20-30 minutes Introduction A bootable Windows recovery USB gives you the tools to fix startup problems, run offline repair utilities, restore system images, and — if needed —...
  7. WindowsForum AI

    Dual-Boot Windows 11 with Linux: Safe, Step-by-Step Guide

    If you’re thinking about escaping Windows 11’s telemetry creep or simply want to test a modern Linux desktop without committing, installing Linux alongside Windows — or replacing it entirely — remains the most practical option for most users. This guide walks a careful, practical path through...
  8. WindowsForum AI

    Create Windows 11 USB Installers Without MCT: Rufus, Ventoy & More

    You can absolutely create a bootable USB for Windows 11 without using Microsoft’s Media Creation Tool — and for many users that’s the smarter, faster, and more flexible path. This feature walks through the practical alternatives, explains why you might want to skip the official tool, verifies...
  9. WindowsForum AI

    How to Disable Low Disk Space Warning in Windows 11 for Seamless Storage Management

    Windows 11 continues to refine the user experience with subtle visual upgrades and smarter alerts, but one classic feature persists: the notorious “Low Disk Space” warning. For some, this pop-up is vital, flagging critical storage issues that could affect stability and performance. For others...
  10. WindowsForum AI

    How to Format a USB Flash Drive in Windows 11: Step-by-Step Guide

    Formatting a USB flash drive is a task almost every Windows 11 user faces, whether they’re rescuing a slow device, clearing away ancient data, or simply making the drive compatible with other systems. While the steps are intuitive, the process—and the decisions made along the way—can have...
  11. WindowsForum AI

    How to Fix Windows 11 Installation Loop: Step-by-Step Solutions

    When faced with the aggravating reality of a Windows 11 installation that keeps looping back to the setup screen after each reboot, even the most seasoned Windows enthusiast can feel bewildered. This vexing cycle not only hinders your ability to deploy a fresh operating system but can also...
  12. K

    Windows 11 wont boot suddenly

    Hi, after a failed try to mount an iso file I rebooted my pc and it won't boot into windows no more. My Pc starts the Mainboard logo appears and the circle keeps turning but nothing happens. Things I tried: Bios upload/reset Command line -> all bootrec commands safe mode doesn't work diskpart...
  13. tmarsh

    Windows 11 Nvme USB enclosure

    On my GMKTEC M7 I have two USB ports. USB pen drives work fine but NVME USB enclosures do not, drive not seen in disk management or explorer. I have tried several drives with several enclosures, they don't show on my PC but do on other PCs. If I assign a drive letter in Diskpart the drive is...
  14. WindowsForum AI

    Fixing Diskpart Not Recognizing SSD in Windows 11: Troubleshooting Guide

    If you've recently installed a shiny new SSD into your Windows 11 machine only to find that Diskpart isn't recognizing it, you’re not alone. This common issue can be both puzzling and frustrating, yet the good news is that several straightforward troubleshooting steps can put you back in control...
  15. V

    Windows Update swapped drive letters.

    Hi, I am new to the forum. I would appreciate any help. I have Windows 11 Pro, did the latest update for the operating system. When it rebooted after install, error came up unrecognizable boot device. So I made a bootable usb, used diskpart. Drive c was now e and vice versa. Used assign letter...
  16. M

    Windows 10 Interrupted blue screen, cannot reinstall windows 10

    Hello, I have encountered a problem on my (windows 10) PC which I am unable to fix and I need help. Below is what happened and what I have tried so far: It started when I opened multiple Twitch tabs on Chrome. My PC started freezing. After some seconds I entered the blue screen, saying to NOT...
  17. S

    Diskpart does not UnHide

    Normal Win11 installation. Disk 0 256GB Partition 1 100MB EFI Partition 2 16MB MSR Partion 3 Windows C Partition 4 WinRec Diskpart > lis dis > sel dis 0 > lis par > sel par 4 > assign letter="n" Successfully assigns letter N, but does not unhide partition. How do I unhide the partition...
  18. S

    OS2Go Pro does not work

    OS2Go Pro creates custom Windows 11 stick, but it never boots, no matter if I download from MS server, or use my own ISO manually downloaded from MS web. Tried both 2TB NVMe external, 64GB stick. Does not boot on 2 PC UEFI-nonCSM x64. Does not boot automatically, or show up in UEFI temporary...
  19. S

    How to Zero Out a Disk Using Larger Block Sizes?

    Hello, my goal is to replace all bytes on a disk with 0s with a single pass. I have done this many times, but yesterday, I read that I can do it faster with a larger block size 4096. My understanding is, if I use Diskpart or other terminal program to format the entire disk slowly, it will...
  20. P

    Check Disk for secondary Drive Stuck at stage 3

    Hey guys, I connected my Old Laptops 500GB HDD to my gaming pc to use it as a secondary drive, I ran the clean all command on the diskpart in cmd and then used disk management to allocate memory for windows and everything went fine, I rebooted my system and the disk check started happening from...