Experimental disk-manage v0.6.4 Expands the C: Drive and Migrates SSDs While Windows Is Running
Developer Tsuyoshi Otake released disk-manage v0.6.4, a Windows disk management utility, on November 29. On December 1, he described its main features and explained that frustration with paid disk migration software led him to start the project.
Disk-manage is written in Rust and available free of charge under either the MIT License or Apache License 2.0. The published source code and developer documentation cover the partition mover partmove, the disk cloner ssdclone, and the Tauri-based disk-manage-gui, which provides a graphical interface for both.
When the Windows C: drive runs low on space, taking some from the D: drive may seem like an obvious fix. But Microsoft's Disk Management documentation says the built-in utility can extend a volume only if unallocated space immediately follows it.
If the partitions are ordered C: drive, recovery partition, then D: drive, shrinking D: from the end leaves the recovery partition and the smaller D: drive between C: and the free space.
For this layout, disk-manage moves the D: drive or recovery partition farther along the disk as needed, creating free space immediately after the C: drive. The C: drive itself can stay where it is while Windows runs.
Live reallocation works on basic GPT disks. Both the partition being extended and the partition being shrunk must use NTFS. The utility must also be able to lock the volume being moved so Windows cannot access it. For an NTFS move, it primarily copies occupied regions. If it cannot tell which regions are in use, it copies the entire partition.
In this case, the job is to move the free space next to the C: drive. What makes the utility interesting is its ability to rearrange a layout that the built-in Windows tool cannot extend.
A physical test added about 20 GB to C: after recovering from a failure
On October 26, the developer tested moving about 20.4 GB (19 GiB) from D: to C: on a physical Windows 11 machine with a 480 GB SATA SSD. A page file for virtual memory on D: caused the preflight check to stop. He moved it to C:, rebooted, and ran the reallocation. By the end, C: had grown from about 283 GB to 303 GB, and D: had shrunk from about 195 GB to 174 GB.
Partway through, the utility failed to reenable the recovery environment. Version 0.3.2 took about 27 minutes to move D: and the recovery partition before stopping. Disabling Windows Recovery Environment (WinRE) can move its recovery image back to C:, and the utility had trouble registering the image again at its new location. According to the developer, fixed version v0.3.3 resumed the job and finished the remaining work in 22 seconds. WinRE was enabled on the relocated recovery partition.
The developer then tested moving about 21.5 GB (20 GiB) from the command line. The operation took about 28.5 minutes, and checks of C: and D: found no problems. Moving the data already on D: accounted for most of the time.
The space added to C: and the amount of data moved are different figures. The test moved about 153 GB of data to add about 21.5 GB. How full the partition being moved is can greatly affect the time required.
Cloning a running Windows system to another SSD
The utility's other main feature is cloning the system disk with ssdclone. It is designed to migrate Windows to another SSD or HDD while the system runs. It uses VSS snapshots, which capture a point-in-time state, by default when cloning NTFS data.
Files can change while Windows is in use. VSS lets the cloning utility read the captured state while applications continue writing to the original volume. ssdclone can snapshot multiple NTFS volumes together and by default reads back the copied regions to verify them.
If a VSS writer fails to prepare application data for a snapshot, the default behavior is to warn the user and keep cloning. Readback verifies that the data was copied accurately. It cannot guarantee the consistency of the data applications had saved.
The source must be a basic GPT disk, and both disks must use the same logical sector size, the logical unit in which the disk reads and writes. The utility refuses to proceed if the destination already contains volumes.
The GUI can also create, delete, format, shrink, extend, copy, split, and merge partitions, and convert between MBR and GPT. It supports full and incremental backups of occupied NTFS space to image files, restores, and backups scheduled through Windows Task Scheduler.
Preparing for failures before writing to disk
One risk in disk operations is an interruption that leaves users unsure how far the write has progressed. Disk-manage is designed to resume an interrupted operation. Even if a partition's original and destination ranges overlap, it moves data in an order and in chunks that avoid overwriting anything still to be copied. It prevents Windows from mounting the affected partition during the move and records progress in a journal.
On the command line, the program shows its plan and waits for --apply before writing to disk. It generally asks the user to confirm the disk by entering the end of its serial number before writing. Before reallocating space, it checks for BitLocker encryption, page files, hibernation files, and how far the partitions can be shrunk, among other conditions. It stops if those conditions are unmet.
If an operation is interrupted, users should leave the journal intact and avoid initializing a partially moved partition. The developer also publishes recovery procedures for different symptoms.
The October 26 hardware test shows where resuming an operation helped in practice. A utility can prevent some failures and still benefit from being able to pick up where a failure occurred.
Signed update information and in-app updates in development
Version 0.6.4, released November 29, added the ability to check for new releases from the GUI. It uses an embedded public key to verify the digital signature on the update information it downloads. It uses ECDSA P-256 and also checks the product, publisher, release number, and expiration date.
Version 0.6.4 notifies users about updates without downloading or installing them automatically. Users can disable startup checks, and the command-line edition does not connect to the network.
On November 29, the developer merged the in-app updater for v0.6.5 from the development branch into main. The development version can update an installed copy from the GUI. It blocks updates while disk operations are running, among other circumstances. The portable version is designed to provide notifications only.
The update information and the distributed executables are separate things that can be signed. The v0.6.4 binaries are not code-signed, and the developer asks users to check downloads against the published SHA256SUMS.txt.
What has been tested in the experimental release
Version 0.6.4 is distributed as a regular release. Its GUI update check is new, and the developer still describes the software as experimental. The v0.6.4 documentation lists two system-disk reallocation tests on physical hardware, plus moving, reallocating, and cloning on a USB-connected SD card. Boot-time partition operations, WinPE boot media, and system-disk conversion to GPT have been tested in a VMware virtual environment.
The developer has tested the tool on Windows 11 x64. For Windows 10, testing has shown that it can boot in a virtual environment from a relocated partition. The v0.6.4 documentation says the tool itself has yet to be tested while running on Windows 10.
The GUI runs with administrator privileges. The developer supplies the utility without warranty and asks users to back up first. Anyone trying it on physical hardware should back up to separate storage and check that the backup can be restored. For disk management software, publishing what was tested, in which environments, and where problems occurred is valuable in itself.
Frustration with paid migration software led to an open-source partition mover that can also resume an interrupted operation. The records of failed tests remain useful to the next person who tries or improves it.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
