How to debug Windows Sandbox abnormal termination

__John_L 1 Reputation point
2025-04-21T23:49:26.8866667+00:00

Windows Sandbox Error 2025-04-21 180004

What (host) logged information is available to determine the source of my problem?

Thanks in advance for any insight you might provide.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,566 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Smith Pham 0 Reputation points
    2025-05-01T11:20:34.4066667+00:00

    I can see you're experiencing an error with Windows Sandbox unexpectedly terminating. This can be frustrating, especially when there's no clear reason provided in the error message.

    To debug Windows Sandbox abnormal termination, here are several logging sources you can check:

    1. Event Viewer - This should be your first stop
      • Open Event Viewer (run eventvwr.msc)
        • Check under "Windows Logs" > "Application" and "System" for entries with source "Windows Sandbox" or "Container"
          • Also look under "Applications and Services Logs" > "Microsoft" > "Windows" > "Containers"
          1. Process Monitor (Sysinternals)
            • Use this tool to monitor system calls made during sandbox launch
              • Filter for "WindowsSandbox.exe" or "wsl.exe" processes
              1. Resource Monitor
                • Run resmon.exe to check resource utilization when Sandbox crashes
                  • Look for memory pressure, disk or CPU bottlenecks
                  1. Virtualization logs
                    • Check "Applications and Services Logs" > "Microsoft" > "Windows" > "Hyper-V"
                      • Windows Sandbox uses virtualization technology similar to Hyper-V
    2. ETW Tracing
    • Use Event Tracing for Windows with the Microsoft-Windows-Containers provider
      • Command: xperf or wpr can be used to collect traces
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.