Upgrading a Windows 10 Virtual Machine to Version 11
General
Normally a virtual machine is not offered to upgrade from Windows 10 to Windows 11.
This is a manual is a step by step workaround using a "Windows Server" installer which ignores the fact that the system is a virtual machine.
Steps
Step 1: Download the Multi-Edition ISO
Go to the Windows Download page and download the "Download Windows 11 Disk Image (ISO) for x64 devices" by selecting "Windows 11 (multi-edition ISO for x64 devices)".
Step 2: Mount the ISO into the Virtual Machine
When using VirtualBox add the ISO-file as an optical storage device.
Step 3: Execute the Setup
Create a shortcut or use the command-line to execute setup.exe having the product switch for the server.
Step 4: Run Setup & Install Windows 11
Start the setup as described in the previous step and even when in says "Install Windows Server" start installing pressing the Next button.
Now it will check for updates and asks "Choose what to Keep" and select "Keep files, settings and apps" and press the Next button.
Now the installer says "Making sure you're ready to install" followed by "Ready to install" and the recap of what is installed and how which is the "Windows 11" flavor of your installed Windows 10 one.
Press the "Install" button and wait... ... ... until the virtual machine reboots.
Step 5:
After reboot run Windows Updates until nothing is updatabled anymore and you are ready to go.