Error in Windows Sandbox, Windows version win11 25h2 26200.7462 error (0x800705B4) timeout
I have tried uninstalling and installing the Windows Sandbox feature and I get the same error.
I have tried deleting the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Containers\CmService
then uninstalling Windows Sandbox, restarting, and then reinstalling to regenerate all the files, and the result is the same error.
The problem or bug lies in the fact that when Windows Sandbox runs, in the directory C:\ProgramData\Microsoft\Windows\Containers\ContainerStorages, a folder is generated containing files created by the executable WindowsSandboxServer.exe, specifically sandbox.vhdx and .vmgs.
Generally, these files don't usually occupy more than 200 megabytes, but since the Windows 11 December system update was installed, the files being generated can reach more than 1 gigabyte.
When they reach that size, the WindowsSandboxServer.exe process shuts down automatically, I assume due to some kind of bug or timeout the files that were being generated (which are the base of the Windows Sandbox) disappear due to the aforementioned bug or process timeout,
and that is when the WindowsSandboxRemoteSession process shows you the error:
Could not initialize Windows Sandbox.
This operation returned because the timeout period expired. (0x800705B4)
It is clear that this is a bug. I should mention that the Windows Sandbox application is updated from the Microsoft Store.
Best regards,