Windows 11 Sandbox does not open File Explorer after a Windows update

Anonymous
2023-10-16T22:33:15+00:00

Hi all,

I have Windows 11 Pro with Sandbox enabled, it worked flawlessly. I didn't use it for a few months, and now the File Explorer inside the Sandbox is crashing.

If I open it from the start menu, or if I press the right button on the desktop or on a file or directory, it turns the screen black for a second or two, and then doesn't do anything (it probably crashes).

This behavior happens only inside the Sandbox (my system is working properly), and I didn't install or remove anything from the system, just did the proposed Windows updates (I now have version 10.2.22621 build 22621).

I can use the command line, and it appears that the file system is intact, I can create, read and write directories and files.

Sandbox is a limited environment, and everything I tried to understand what was going wrong failed. I tried several times to remove the sandbox and perform a clean installation, even manually deleting the image files, but that behavior didn't change.

Do you have any suggestion?

Thank you

Duccio

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2023-11-06T19:15:28+00:00

It is ultimately just a workaround, but it works for me:
Create a text file that you rename to sandbox.wsb afterwards.
The content of the file must contain the following:

<Configuration>
<MappedFolders>
<MappedFolder>
<HostFolder>C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe</HostFolder>
<SandboxFolder>C:\Windows\SystemApps\Microsoft.WindowsAppRuntime.CBS_8wekyb3d8bbwe</SandboxFolder>
<ReadOnly>true</ReadOnly>
</MappedFolder>
</MappedFolders>
</Configuration>

If I start the sandbox with this file, the Explorer also works.

Good luck

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

50 additional answers

Sort by: Oldest
  1. Gokul A 770 Reputation points Independent Advisor
    2023-10-17T02:43:23+00:00

    Hi and thanks for reaching out. I'm Gokul, an Independent Advisor and user like you. I'll be happy to help you out.

    I'm sorry to hear that you're experiencing difficulties with Windows 11 Sandbox and File Explorer. Let's try a few troubleshooting steps to see if we can resolve the issue.

    Do you have third-party antivirus installed on your device? If yes, please try to disable that and try again.

    If that doesn't work, repair Windows files

    Open the Command Prompt as an administrator by right-clicking the Start menu and selecting "Command Prompt (Admin)" or "Windows PowerShell (Admin)." Then, run the following command:

    sfc /scannow

    This command will scan and repair any corrupt system files that may be causing the issue with File Explorer.

    Run DISM command: In the same elevated Command Prompt, run the following command:

    DISM /Online /Cleanup-Image /RestoreHealth

    This command will check for issues with the system image and restore them as needed.

    I hope this information helps you. Kindly let me know if you need further assistance. Thank you!

    Regards

    Gokul

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-10-17T08:38:22+00:00

    Hi Gokul, thank you for your response. I run the sfc and DISM commands, but the problem persists.

    PS C:\Windows\system32> sfc /scannow
    Beginning system scan.  This process will take some time.
    Beginning verification phase of system scan.
    Verification 100% complete.
    Windows Resource Protection did not find any integrity violations.
    
    PS C:\Windows\system32> DISM /Online /Cleanup-Image /RestoreHealth
    Deployment Image Servicing and Management tool
    Version: 10.0.22621.1
    Image Version: 10.0.22621.2428
    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.
    

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-10-17T10:49:14+00:00

    I'm running Version 10.0.22631 Build 22631 and have the same issue. Was working fine last time I used it a couple of weeks ago but now cant open file explorer in sandbox even though the PC is running fine. Tried removing the sandbox feature and then readding it but it still doesn't work.

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-10-17T13:37:52+00:00

    I strongly believe it was an update that caused the issue, either of the Sandbox or of the File Explorer. I've another account and if I try to open it there, at startup it gives me a "Windows Sandbox is logging off and will be closed" error message and then closes the window, but the process keeps running. If I try to run it again without killing the process in task manager, it returns a "Only one running instance of Windows Sandbox is allowed" error message.

    I also tried to remove the sandbox feature and readding it, even manually removing the image files, but with no success.

    Was this answer helpful?

    0 comments No comments