When Hyper-V tool is not an option:
Method: Using DISKPART
Commands:
- Diskpart
- Select the userprofiledisk.vhdx (xelect vdisk file=K=C:\Users\abc.vhdx)
- Expand disk using
expand vdisk maximum=61440 (60Gb)
Do alist vdisk
to keep track of changes. attach vdisk
list volume
select volume (volume number, e.g: 5)
extend
detach vdisk
voila, all done!
Another simple way to achieve this, almost as similar than above
- Find name of UVHD from registry (Computer\HKEY_USERS)
- run diskpart
- select VDISK (C:\Users\s123232.uvhd)
- expand vdisk maximum=122880 (For 120GB)
- attach vdisk
- Use Disk management to expand disk
- detach disk
- exit