官方虚拟机
Virtual Machines - Microsoft Edge Developer
These virtual machines expire after 90 days. We recommend setting a snapshot when you first install the virtual machine which you can roll back to later. Mac users will need to use a tool that supports zip64, like The Unarchiver, to unzip the files.
The password to your VM is "Passw0rd!"
遇到错误弹出,错误明细为 Failed to get device handle and/or partition ID for
参考:virtualbox.org • View topic - Failed to get device handle and/or partition ID for 000000000196a390
>> bcdedit /set hypervisorlaunchtype off
>> DISM /Online /Disable-Feature:Microsoft-Hyper-V (May not do anything in some cases)
>> shutdown -s -t 2
With the last command, your PC will be shut down.
注意这会影响wsl的ubuntu的开启(以来hyper-v),使用命令开启Hyper-V
bcdedit /set hypervisorlaunchtype auto
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V