Run-in-Sandbox
Run-in-Sandbox copied to clipboard
After an update of the Windows Sandbox, I can no longer use "run itunewin in sandbox."
After an update of the Windows Sandbox, I can no longer use "run itunewin in sandbox." I have already tried removing and reinstalling the structure, but the error persists.
Seems like a known bug in windows 11 24h2, not much we can do
same for me on Windows 24H2.
MemoryInMB is blank in the .wsb that is generated. The latest version of Sandbox apparently doesn't like this setting being blank.
Filling in a value for MemoryInMB in the RunInSandbox config C:\ProgramData\Run_in_Sandbox\Sandbox_Config.xml got it running again for me on Win 11 24H2 December CU.
Hey @aaronc222 thanks for the useful information. Could you test what happens when you remove the line from the wsb file? So no memory limit is set? It should configure it automatically then
@Joly0, with the setting completely removed from the .wsb, Sandbox starts properly.
Ok, thank you for testing. I am probably going to add an option that removes the line from the final wsb file, if the value is empty. That would leave the option open for users to configure it but will not bug out the sandbox without it. But as the original creator here doesnt actively work on run in sandbox anymore and doesnt reply to my mails, this will probably only be fixed on my fork, not here.
I´ll let you know, when i have implemented this and maybe you can test it.
Hey @aaronc222 I think it should also be possible to set "MemoryInMB" to "Default" as some other values are. Could you try if that works aswell? If so this would make it even easier and i wont need to add some proper handling for this
Responded under your fork as well. Default did not work and gives the error from OP in this thread.
I modify the Sandbox_Config.xml by adding 16384 (16gig) which solved the problem and Windows Sandbox was able to start. Deleting the MemoryInMB line did not resolve the issue. I'm on Windows 11 24H2
<MemoryInMB>16384</MemoryInMB> <!-- The amount of memory, in megabytes, to assign to the sandbox. -->
Hey @moonnoonn The issue was solved over at my fork here https://github.com/Joly0/Run-in-Sandbox Please give it a try and see, if that solves your issue :)
@Joly0 tried your fork, but ended up in the same error..
@Joly0 tried your fork, but ended up in the same error..
Do you mind creating an issue over at my fork for this issue and provide as much useful information as possible?
A colleague of mine got a message today when starting Windows Sandbox saying Sandbox would be updated (Win11 24H2), after the Sandbox update the Run in Sandbox context menu items worked again.
Hope this solves the issue for others in here too.
After fixing the Error MemoryInMB i got a different error. There seems to be an error while initializing Windows Sandbox. Any recommendations?
After fixing the Error MemoryInMB i got a different error. There seems to be an error while initializing Windows Sandbox. Any recommendations?
Hey, have you tried my for over at https://github.com/Joly0/Run-in-Sandbox already? Otherwise can you send me the .wsb file for that?
Heyy i just have tried it but i still recieve the same error. Where is the .wsb file located?
Heyy i just have tried it but i still recieve the same error. Where is the .wsb file located?
Hey, should be under C:\Users\YOURUSER\AppData\Local\Temp