Forum Discussion
Expanding existing user VHDs
I did this, saw the option in FSLogix to allow dynamic disks, assumed it was to allow for growth going forward... it wasnt. Fix is reasonably simple but a little time consuming.
You need to install a HyperV manager (if you dont have one already) and use the resize-vhd cmdlet.
https://docs.microsoft.com/en-us/powershell/module/hyper-v/resize-vhd?view=windowsserver2019-ps&viewFallbackFrom=win10-ps#description.
Here are the steps I followed:
Resize the VHD with Hyper-V PowerShell cmdlets :
Resize-VHD -Path c:\temp\Profile_u1.vhdx -SizeBytes 5GB
NOTE: Run this cmdlet on Hyper-V machine, otherwise it can’t be recognized
Then you can either mount the users disks and use disk management to extend them, or wait until the users are all logged into the servers and extend them via disk management while they continue to work.
As always make sure you have a good backup before hand and it should all be ok.