Extend Volume in Disk Management may be greyed out when attempting to extend a VHDX volume. You can use Diskpart to extend the volume. First detach the VHDX Using Diskpart select the VHDX location Expand the disk to the required size in MB, e.g. 2Gb, 1GB = 1024MB Reattach the VHDX In Disk Management(diskmgmt.msc) extend […]
Tag: diskpart
Secure Wipe USB Drive Using Windows DiskPart
You can use the Wipe All command in DiskPart to write over all data on a drive. Start DiskPart with administrator rights. Show available disks and select the USB stick Wipe all data Create partition and format the disk
WSL Ubuntu Reclaim Space on Vdisk Image Using Diskpart in Windows
Possible Disk Image locations If using Docker Desktop, exit the program and shutdown WSL(use terminate if wsl starts up again automatically), check nothing is running Start Diskpart with elevated privileges Attach the image file and compress the image
Format Windows HDD With Command Line Using Diskpart
Start DISKPART via the command prompt with administrator rights Show disks Select a disk Show partitions if necessary Clean the HDD, erasing data and partitions Create a new partition Format the drive