damienvanrobaeys / Run-in-Sandbox

Run PS1, VBS, CMD, EXE, MSI, Intunewin, MSIX, or extract ISO, ZIP in Windows Sandbox very quickly just from a right-click

Home Page:https://www.systanddeploy.com/2023/06/runinsandbox-quick-way-to-runextract.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 0x80072746

alessiodeia opened this issue · comments

Installed on Win 10 pro for Workstation.
I can launch standalone Sandbox no problem, but when i use this tool via contex menu on PS1 files, EXE files ect. i get this error with the message "Lost connection to the Sandbox".
Am i doing something wrong?

Could you please send me WSB file generated ?
You can send it at damien.vanrobaeys@gmail.com

where can i find this file?

It should be on desktop or in %temp%

Hello,
I have the same problem on a brand new installation of WIN10, last version of the files downloaded today
I had it working fine on an old install.
I was testing opening notepad.
This is the wsb file :

Enable
Enable
Default
Default
Default
Default
Default



C:\WINDOWS\system32
true



C:\Users\WDAGUtilityAccount\Desktop\system32\notepad.exe

Any idea of what is wrong ?
Thank you

<Configuration> <VGpu>Enable</VGpu> <Networking>Enable</Networking> <AudioInput>Default</AudioInput> <VideoInput>Default</VideoInput> <ProtectedClient>Default</ProtectedClient> <PrinterRedirection>Default</PrinterRedirection> <ClipboardRedirection>Default</ClipboardRedirection> <MemoryInMB></MemoryInMB> <MappedFolders> <MappedFolder> <HostFolder>C:\WINDOWS\system32</HostFolder> <ReadOnly>true</ReadOnly> </MappedFolder> </MappedFolders> <LogonCommand> <Command>C:\Users\WDAGUtilityAccount\Desktop\system32\notepad.exe </Command> </LogonCommand> </Configuration>

Sorry this is the file

Hi,
Just tested from the right-click menu and also using your WSB file and I have no error.
What is the windows 10 version you're using ?

What do you mean by copy and paste program un sandbox ?
I used your wsb and ran it

Ok it is working for me too.
Strange thing is that your wsb file works for me.
I will do some tests.

Your OS is an English version ?

Just installed a W10 pro for workstation on a VM then sandbox and runinsandbox.
No issue while right-click on notepad.exe then run in sandbox.
I'm updating the VM with latest CU and updates.

You mean the notepad wsb ? And if you change teh value vgpu to enable fo the download wsb ?

And if you enable vgpu in download wsb ?

Ok cool so the issue is mostly relative to sandbox and vgpu, nice feedback Christophe

I will check that tomorrow, just shutdown laptop lol.
I will keep you informed

Actually the policy is to enable it by default but when you run the wsb it does the same for a specific sandbox session.
According to me it is mostly something relative to your device and option vgpu.
There are some posts about that:

https://answers.microsoft.com/en-us/windows/forum/all/windows-10-sandbox-vgpu-support-requirements/3e578858-c733-48c5-92ce-22fc58860446

As we have seen the issue is relative to native Windows Sandbox using different graphic cards and the option VGpu from WSB file.

For this issue, the solution should be:

  • Open file Sources\Run_in_Sandbox\Sandbox_Config.xml
  • Set value Enable to Default or Disable
  • Run Add_Structure.ps1