[Bug]: Starting Windows Sandbox a second time yields "The connection to the Windows Sandbox environment was lost. Do you want to reconnect? "
Windows Sandbox version
No response
Windows build number
Win32NT 10.0.26200.0 Microsoft Windows NT 10.0.26200.0
Other software
No response
Steps to reproduce the bug
- Start Windows Sandbox after reboot.
- Close Windows Sandbox session after bussiness done
- Start Windows Sandbox
Expected result
- Windows Sandbox session is started.
Actual result
On 3 => > error in title.
vCPU set to disabled does not help, this used to help back in the days.
Included System Information
No response
I get this too on windows education, and it's happened on both 24H2 and 25H2, I haven't been able to find a fix for this yet.
I figured out a weird fix for it, since I have 2 GPUs, a 3060 and a intel 770 (integrated), I just disabled the integrated and I don't get this error anymore
I figured out a weird fix for it, since I have 2 GPUs, a 3060 and a intel 770 (integrated), I just disabled the integrated and I don't get this error anymore
@Callan-Mitchell Your trick solved it also for me - thanks for sharing!
I got the same issue. W11 Pro, 25H2, 26200.7840. My rig has 2 x 4090 + integrated AMD Radeon (7950X). Thanks to @Callan-Mitchell I inspected It down and found a different workaround similar in context:
I went to System > Display > Graphics. Then "Add desktop app" -> "C:\WINDOWS\system32\WindowsSandbox.exe"
Once It is added at the Custom settings for applications, select it up and set in the next way:
- GPU preference: Power Saving (AMD Radeon(TM) Graphics)
- Auto HDR: Off
- Optimizations for windowed games: Off
And it just worked. I cant test some smelly executables at my windows sandbox, thank god.
By the way, the above was the very first set of config I tried. Didn't inspect it any further.
Hope It helps, mates.
Best,
25H2 26200.8117 just updated today. Reboot to install updates and now my Sandbox, that was working fine before, is exhibiting JensNordenbro's symptoms. Tried the GPU preference setting; no luck. Sandbox loops through; connection lost, reconnect and never opens again.
Since the latest Windows updates I'm having the same problem, same symptoms. I also tried the GPU preference, but it didn't work. Sandbox worked perfectly before.
me to, was working no more. F*ck
I have done lots Of things to fix different issues.
All in all
- Repair Windows solved some problems
- The following wsb-file content solved some:
<Configuration> <VGpu>disabled</VGpu> <LogonCommand> <Command>powershell -Command "Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -Command Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\CI\Policy -Name VerifiedAndReputablePolicyState -Value 0; CiTool.exe -r' -Verb RunAs"</Command> </LogonCommand> </Configuration>
Try at your own risk, I am just saying what worked for me in the total absence of any Microsoft staff...
I'm so over things in Windows not working and Windows in general being in a perpetual state of brokenness. Unsurprising, no acknowledgement from MSFT on this issue.
The Windows update before the last made my Sandbox work again. The last Windows update then broke it again. Maybe the change with RDP security in the last Windows update was significant?
I went to System > Display > Graphics. Then "Add desktop app" -> "C:\WINDOWS\system32\WindowsSandbox.exe"
Once It is added at the Custom settings for applications, select it up and set in the next way:
1. GPU preference: Power Saving (AMD Radeon(TM) Graphics) 2. Auto HDR: Off 3. Optimizations for windowed games: Off
This fixed it, but I set mine to my discrete card. Baffled that this broke the environment, frankly.
Edit: It's random. Sometimes works, sometimes doesn't. Tried with vGPU off, same result. This is beyond broken.