Step by Step Hyper-V Storage Live Migration on Windows Server 2025 (GUI and PowerShell)
Need to move a running virtual machine to a new disk, volume or file share without shutting it down? Hyper-V storage live migration moves the VM’s files while the VM keeps running. This guide shows the Hyper-V Manager method and the Move-VMStorage PowerShell method, plus how to verify and troubleshoot.
Move a running VM’s storage without shutting it down
Storage live migration copies a virtual machine’s virtual hard disks and configuration files to a new location while the VM stays powered on, then switches over and removes the old files. It is the safe way to retire a volume, rebalance storage or move to a faster disk.
The VM stays running
Only the storage moves. The VM keeps serving users while its files are copied.
Two ways to do it
Use the Move wizard in Hyper-V Manager, or Move-VMStorage in PowerShell for repeatable work.
Plan space and backups
The destination needs enough free space, and you should have a backup before moving production VMs.
Introduction
Storage fills up, disks get replaced and arrays are retired. In each case you may need to relocate the files of virtual machines that cannot be turned off. Hyper-V storage live migration solves this by moving the VM’s virtual hard disks and related files to a different folder, volume or share while the VM remains online.
HV01 stores VMs on C:\VMs, which is nearly full. A new volume D: has plenty of space. You move the running VM VM01 to D:\Hyper-V\VM01 without any downtime for its users.
How Storage Live Migration Works
Hyper-V copies the virtual hard disk to the new location while the VM keeps running. Changes made during the copy are tracked so that the destination ends up identical to the source. When the copy is complete, the VM switches to the new files and the old files are removed.
| Option in the wizard | What moves |
|---|---|
| Move all of the virtual machine’s data to a single location | Configuration, virtual hard disks, checkpoints and smart paging files go into one folder you choose |
| Move the virtual machine’s data to different locations | You pick a separate destination for each item, such as configuration, each disk or checkpoints |
| Move only the virtual machine’s virtual hard disks | Only the selected disks move; the VM configuration stays where it is |
Requirements
- A Windows Server 2025 host with the Hyper-V role installed (lab example:
HV01) - A VM that is running or off, using virtual hard disks (VHD or VHDX)
- A destination folder, volume or SMB share with enough free space for all the files being moved
- Administrator rights on the Hyper-V host
- For SMB destinations: the permissions described later in this guide
- A current backup of the VM
Step 1: Check Where the VM’s Files Are Now
Open an elevated PowerShell window on the Hyper-V host and list the VM’s current paths:
Get-VM -Name VM01 | Select-Object Name, State, Path, ConfigurationLocation, SnapshotFileLocation, SmartPagingFilePath
Get-VMHardDiskDrive -VMName VM01 | Select-Object VMName, ControllerType, ControllerNumber, PathNote every path. After the move you will compare them against the new locations.
Step 2: Prepare the Destination
Create the destination folder and confirm there is enough free space:
New-Item -Path 'D:\Hyper-V\VM01' -ItemType Directory -Force
Get-Volume -DriveLetter D | Select-Object DriveLetter, SizeRemaining, Size
Get-VMHardDiskDrive -VMName VM01 | Get-VHD | Select-Object Path, VhdType, FileSize, SizeCompare the destination’s free space with the file sizes. A dynamically expanding disk can grow up to its maximum size over time, so leave extra room.
Step 3: Move the Storage with Hyper-V Manager
- Open Hyper-V Manager and connect to the host.
- Right-click the VM and choose Move.
- On the Before You Begin page, click Next.
- Select Move the virtual machine’s storage and click Next.
- Choose how to move the data (see the table above), for example Move all of the virtual machine’s data to a single location, then click Next.
- Click Browse and select the destination folder, for example
D:\Hyper-V\VM01, then click Next. - Review the summary and click Finish.
The VM shows a progress indicator while the move runs, and it stays available the whole time.
Step 4: Move the Storage with PowerShell
For repeatable work, use Move-VMStorage. To move everything into one destination folder:
Move-VMStorage -VMName VM01 -DestinationStoragePath 'D:\Hyper-V\VM01'To place different parts in different locations, for example the configuration on one volume and a data disk on another:
Move-VMStorage -VMName VM01 `
-VirtualMachinePath 'D:\Hyper-V\VM01' `
-SnapshotFilePath 'D:\Hyper-V\VM01\Snapshots' `
-SmartPagingFilePath 'D:\Hyper-V\VM01\SmartPaging' `
-VHDs @(
@{ SourceFilePath = 'C:\VMs\VM01\VM01-OS.vhdx'; DestinationFilePath = 'D:\Hyper-V\VM01\VM01-OS.vhdx' },
@{ SourceFilePath = 'C:\VMs\VM01\VM01-Data.vhdx'; DestinationFilePath = 'E:\Data\VM01-Data.vhdx' }
)Use the exact source paths you recorded in Step 1. To move several VMs in one go, loop over them:
'VM01','VM02','VM03' | ForEach-Object {
Move-VMStorage -VMName $_ -DestinationStoragePath "D:\Hyper-V\$_"
}Step 5: Verify the Move
When the move finishes, re-run the commands from Step 1 and confirm all paths point to the new location:
Get-VM -Name VM01 | Select-Object Name, State, Path
Get-VMHardDiskDrive -VMName VM01 | Select-Object Path
Get-ChildItem 'D:\Hyper-V\VM01' -Recurse | Select-Object FullName, Length- The VM
Stateis stillRunning - Each disk path is under the new location
- Connect to the VM and confirm its applications work normally
- Check that the old folder no longer holds the VM’s files, and remove any empty leftover folders
Moving to an SMB File Share
Hyper-V can store VM files on an SMB 3 share. The host that runs the VM needs access to the share, and the host’s computer account must have permission to it.
- Grant the Hyper-V host’s computer account (for example
VMORECLOUD\HV01$) Full Control on both the share permissions and the NTFS permissions of the destination folder - Use a UNC path such as
\\fs01\VMStore\VM01as the destination - If you start the move from a different machine than the Hyper-V host, Kerberos constrained delegation may be required so the host can access the share on your behalf
Move-VMStorage -VMName VM01 -DestinationStoragePath '\\fs01\VMStore\VM01'Shared-Nothing Live Migration Between Hosts
If you also need to move the VM to a different Hyper-V host, you can move the VM and its storage together in one step. This is often called shared-nothing live migration because the two hosts do not need shared storage.
On both hosts, enable live migration and choose an authentication method:
Enable-VMMigration
Set-VMHost -VirtualMachineMigrationAuthenticationType KerberosKerberos authentication needs constrained delegation configured for the hosts in Active Directory. If you want to avoid that setup, you can use CredSSP instead, but then you must start the migration while signed in to the source host. Then move the VM with its storage:
Move-VM -Name VM01 -DestinationHost HV02 `
-IncludeStorage -DestinationStoragePath 'D:\Hyper-V\VM01'Move-VMStorage to relocate storage on the same host, and Move-VM with -IncludeStorage when the VM changes hosts as well. Both keep the VM running.
Troubleshooting
Not enough disk space
Check free space on the destination and remember that dynamically expanding disks can grow. Free space or choose a larger volume before retrying.
Access denied on the destination
The account or the host’s computer account lacks permission. For local paths, check NTFS permissions. For SMB, grant the host’s computer account access to both the share and the folder.
Authentication or delegation errors
These appear when starting a move remotely or between hosts. Configure Kerberos constrained delegation, run the command on the host, or use CredSSP where appropriate.
A disk cannot be moved
Pass-through disks and some special configurations are not moved by this method. Review the VM’s disk types with Get-VMHardDiskDrive.
The move is very slow
Large disks and busy storage take time. Check disk and network throughput, and move during a quiet period. Avoid starting several large moves at once.
Old files remain behind
If a move was interrupted, review the VM’s current paths, then clean up unused files only after you confirm the VM is running from the new location.
Best Practices
- Take a backup or checkpoint-free recovery point before moving production VMs
- Check free space with a margin, especially for dynamically expanding disks
- Move one large VM at a time and watch storage performance
- Use consistent folder naming such as a folder per VM
- Record the old and new paths for your documentation
- Test SMB destinations with a non-critical VM first
- Verify the VM and its applications after each move
Comparison of Hyper-V Migration Types
| Type | What moves | VM downtime | Typical command |
|---|---|---|---|
| Storage live migration | VM files, on the same host | None (VM stays running) | Move-VMStorage |
| Live migration (shared storage) | Running VM to another host; storage is shared | None | Move-VM |
| Shared-nothing live migration | VM and its storage to another host | None | Move-VM -IncludeStorage |
| Export and import | Copy of the VM to a path | Needed for a consistent copy unless the VM is exported live where supported | Export-VM / Import-VM |
Frequently Asked Questions
Does the VM need to be turned off for storage live migration?
No. The VM can stay running while its storage moves. It can also be moved while turned off.
What is the PowerShell command for Hyper-V storage live migration?
Move-VMStorage, for example Move-VMStorage -VMName VM01 -DestinationStoragePath ‘D:\Hyper-V\VM01’.
Can I move only one virtual hard disk?
Yes. In the wizard choose “Move only the virtual machine’s virtual hard disks”, or use the -VHDs parameter in PowerShell with source and destination paths for that disk.
Can I move a VM to an SMB share?
Yes. The Hyper-V host’s computer account needs permission to the share and folder, and constrained delegation may be needed if you start the move remotely.
What is the difference between storage migration and live migration?
Storage migration moves files on the same host. Live migration moves a running VM to another host, and shared-nothing live migration can move its storage too.
Will the old files be deleted?
After a successful move, Hyper-V removes the old files at the source. Verify the VM runs from the new location before cleaning up any leftover folders.
Conclusion
Want more Hyper-V tutorials?
Explore practical Windows Server, Hyper-V and infrastructure guides on VMoreCloud.
Explore more tutorials →Sources & Further Reading
Technical note: Steps were written for a Windows Server 2025 Hyper-V host. Host, VM and path names are lab examples. Test on a non-critical VM first, and confirm cmdlet behavior against Microsoft’s documentation for your Windows Server build.
