1. Launch Hyper-V manager and from the right side Action pane and select Edit Disk .
2. The Edit Virtual Hard Disk Wizard starts; click Next to get past the initial screen.
3. Enter the name and location of the existing VHD file and click Next.
4. Enter name and location of VHD file and click Next
5. Enter name, location of VHD file and click Next.
6. Select Convert and click Next.
7. Select the VHDX file format and click Next
8. Complete the wizard by selecting the settings you need.
You can see in detail in the following link https://virtualizationreview.com/blog...