Windows Sandbox failed to initialize. (0x8007023e)

noipe noipe 0 Reputation points
2024-05-07T07:40:22.42+00:00

I tried

  • Reinstall Sandbox
  • Reinstall Hyper-V
  • Restart Hyper-V related services
  • Enable BIOS virtualization feature
  • SFC, DISM inspection
  • Check Windows updates

Error 0x8007023e. {Application Error}

Exception %s (0x

Would you like to submit feedback on this issue?

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,612 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 33,301 Reputation points Microsoft Vendor
    2024-05-09T01:57:35.6866667+00:00

    Hi noipe,

    Thanks for your post. Please open Windows PowerShell as administrator and run this command to enable the sandbox.

    Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online

    If the error persists, run bcdedit.exe in PowerShell and make sure the hypervisorlaunchtype is set to Auto. If not, run

    bcdedit.exe /set hypervisorlaunchtype auto

    You can also open services.msc and manually restart the services Hyper-V Host Computer Service (vmcompute) and Hyper-V Virtual Machine Management (vmms).

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments