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
https://www.systanddeploy.com/2023/06/runinsandbox-quick-way-to-runextract.html
740 stars 83 forks source link

Error 0x80072746 #15

Closed alessiodeia closed 2 years ago

alessiodeia commented 3 years ago

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?

damienvanrobaeys commented 3 years ago

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

alessiodeia commented 3 years ago

where can i find this file?

damienvanrobaeys commented 3 years ago

It should be on desktop or in %temp%

toffe82 commented 2 years ago

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

toffe82 commented 2 years ago

`

Enable Enable Default Default Default Default Default C:\WINDOWS\system32 true C:\Users\WDAGUtilityAccount\Desktop\system32\notepad.exe

`

Sorry this is the file

damienvanrobaeys commented 2 years ago

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 ?

toffe82 commented 2 years ago

Hello,

It is win10 Pro 21h1 with all the update to this day: Microsoft Windows [Version 10.0.19043.1288]. Copy and paste the program in the sandbox works.

???

Christophe

On Tue, Nov 2, 2021 at 9:55 AM Damien Van Robaeys @.***> wrote:

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 ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-957943190, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SGCFKYI4ZO7LY67RZTUKAJZXANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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

toffe82 commented 2 years ago

If I copy a program I want to test in the sandbox, it is working, so the sandbox is working. If I right-click to select run in sandbox, I have the error, same thing if I double-click on the wsb file

Christophe

On Tue, Nov 2, 2021 at 11:26 AM Damien Van Robaeys @.***> wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958019216, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SE6PPDZ7TXK2QIXHQDUKAUM3ANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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

damienvanrobaeys commented 2 years ago

Your OS is an English version ?

toffe82 commented 2 years ago

Yes it is the US version

On Tue, Nov 2, 2021 at 12:41 PM Damien Van Robaeys @.***> wrote:

Your OS is an English version ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958110511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SFMQZJOLIDBPR5ZJGLUKA5GVANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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.

toffe82 commented 2 years ago

This is the windows features installed [image: image.png] I have VMware workstation 16 installed too

On Tue, Nov 2, 2021 at 1:31 PM Damien Van Robaeys @.***> wrote:

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 are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958144093, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SH2JI2C63VZOXKOZLDUKBDC3ANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

and what is the result if you create a wsb as mentioned there ? https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-configure-using-wsb-file

WSB Downloads.wsb

toffe82 commented 2 years ago

The download wsb works. I made some test disabling options and if I disable VGpu, it works

My computer is a DELL XPS9560 with an nvidia GTX1050 and intel HD graphics 630

On Tue, Nov 2, 2021 at 2:13 PM Damien Van Robaeys @.***> wrote:

and what is the result if you create a wsb as mentioned there ?

https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-sandbox/windows-sandbox-configure-using-wsb-file

WSB below:

Disable Disable

C:\Users\Public\Downloads C:\Users\WDAGUtilityAccount\Downloads true

explorer.exe C:\users\WDAGUtilityAccount\Downloads

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958171042, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SFXFMMWD654KMSMADTUKBIATANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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

toffe82 commented 2 years ago

yes, notepad wsb works if I disable vgpu

On Tue, Nov 2, 2021 at 2:38 PM Damien Van Robaeys @.***> wrote:

You mean the notepad wsb ? It means the option vgpu doesn't work on your device ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958186923, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SASFYUCI3SOIOWO2F3UKBK5XANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

And if you enable vgpu in download wsb ?

toffe82 commented 2 years ago

If I enable vgpu in the download wsb, same error

On Tue, Nov 2, 2021 at 2:38 PM Damien Van Robaeys @.***> wrote:

You mean the notepad wsb ? It means the option vgpu doesn't work on your device ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958186923, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SASFYUCI3SOIOWO2F3UKBK5XANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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

toffe82 commented 2 years ago

I find this : https://www.tenforums.com/tutorials/159840-enable-disable-vgpu-sharing-windows-sandbox-windows-10-a.html

But there is nowhere on my install to find this settings, no sandbox in the group policy ?? Can you check on your install ?

On Tue, Nov 2, 2021 at 2:45 PM Damien Van Robaeys @.***> wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958194249, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SC724KOYSTKZCSMDPDUKBLYPANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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

damienvanrobaeys commented 2 years ago

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

damienvanrobaeys commented 2 years ago

https://www.reddit.com/r/sysadmin/comments/n9805y/gpu_passthrough_isnt_working_in_windows_sandbox/?utm_source=amp&utm_medium=&utm_content=post_body

toffe82 commented 2 years ago

I don't have the option in the bios

On Tue, Nov 2, 2021 at 10:38 PM Damien Van Robaeys @.***> wrote:

https://www.reddit.com/r/sysadmin/comments/n9805y/gpu_passthrough_isnt_working_in_windows_sandbox/?utm_source=amp&utm_medium=&utm_content=post_body

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/damienvanrobaeys/Run-in-Sandbox/issues/15#issuecomment-958668123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACE25SCH5RGWV5MJD7NPL33UKDDFXANCNFSM5EFV4MBQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

damienvanrobaeys commented 2 years ago

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: