These links will help you to create a Windows 11 VM in VirtualBox for development work (or whatever else you might need a Win11 VM for):

  1. https://www.microsoft.com/software-download/windows11
    This is the download page for Windows 11. Download the ISO for Windows 11 from this link first. It's a large file (~ 5 GB), so it may take some time to download.
  2. https://blogs.oracle.com/virtualization/post/install-microsoft-windows-11-on-virtualbox
    The above link provides step-by-step instructions for installing Windows 11 on a new VM in VirtualBox. It includes some pre-install registry editing steps needed to complete the installation successfully.
  3. https://www.windowscentral.com/how-set-windows-11-without-microsoft-account
    If you do not want to use a Microsoft account on your new Windows 11 VM, follow the steps in the above link to create a local account in Windows 11.
  4. https://www.youtube.com/watch?v=EP9RUk9Gvz0
    The above video walks through installing the VirtualBox Guest Additions software on your new Windows 11 box. This allows you to modify the screen resolution in the VM (without this step, the VM will be stuck at 1024x768).

The above links should cover all the basics for setting up a fresh Windows 11 VM in VirtualBox. After creating your Win11 VM, I also recommend following this guide for restoring the full right-click context menu in Windows 11: https://www.pcgamer.com/windows-11-context-menu-fix-right-click/

You may also want to export this new, fresh-install Windows 11 box for use on another computer. This guide walks through how to export a VM from VirtualBox: https://www.makeuseof.com/how-to-export-virtualbox-vm-image-to-another-computer/

I hope these links help you with setting up a new Windows 11 VM! Feel free to leave a comment if you have any questions or if you get stuck.