On Virtual Machine, Right click > Connect

Click Start

As soon as VM starts, QUICKLY click on it and press any key as soon as you are prompted, for Windows Setup to load.

Move on to step 4 of this article if you see the next screen.

If your screen shows the message ">>Start PXE over IPv4" this means you missed the window to press a key and you will need to try again.

To try again, right-click on the VM and click Turn Off.
We recommend to position the VM Window next to the Hyper-V Window (second picture below) so that this time you won't miss the short timeframe to press a key.

(this is the second picture) As soon as you click on Start, immediately click the VM Window and press that key as soon as you're prompted to.
- Windows Setup: Select desired language and time format
Click Next

- Click select keyboard format Next

- Select Install Windows 11
Check to agree that everything will be deleted
Click Next

- Selectoperating system Windows 11 Pro
Click Next

- Click Accept

- Click Next

- Click Install

Select your country or region and click Yes

Select your preferred keyboard layout. Click Yes

If you need an additional keyboard layout, you can include it now, or click Skip

The installer will now check for updates.

Give your computer a name that is succinct, but descriptive.
Click Next

Your computer will reboot.
Choose Set up for work or school. Click Next

Click Sign-in options.

Click Domain join instead

Enter the name "Migrations", then click Next

Create a strong, memorable password and click Next

Confirm your password and click Next
Answer three security questions to help recover access if you forget your password.
Click Next

Leave the default privacy settings, click Next until you reach Accept

You will now see a series of setup screens similar to below
Let Windows Install complete, and go through final setup steps. Once this is done, go back to Hyper-V
Right click on the VM and select settings
Go to SCSI Controller
Select DVD Drive
Select None on Specify the media to use with your virtual CD/DVD drive.
Click OK