Share via

problem enable feature windows 11 sandboxing

Anonymous
Sep 6, 2024, 12:08 AM

failed to enable, it enabling very long time, but it failed 3x, with powershell and with "Turn Windows Features on or off"

steps that successfully on windows 11 pro:

  • able to enable Hyper-V
  • installation for ubuntu also working fine

Windows 11 Pro

Version 24H2

OS build 26100.1591

Windows Feature Experience Pack 1000.26100.18.0

event log show:

Update Containers-DisposableClientVM of package Microsoft-Windows-Containers-OptionalFeatures failed to be turned on. Status: 0x800f0920.

trying with clean boot, and then enable with:

  1. dism.exe /Online /Cleanup-Image /StartComponentCleanup
  2. dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase (Should Work)
  3. dism /online /Enable-Feature /FeatureName:"Containers-DisposableClientVM" -All

also experiencing the same

do this also dont have any detected problem
Open administrative command prompt and type or copy and paste:

  1. sfc /scannow
  2. dism /online /cleanup-image /scanhealth
  3. dism /online /cleanup-image /restorehealth

*** Moved from Windows Insider Program / Apps on Insider Preview / Other apps ***

Windows Windows Client for IT Pros High availability Virtualization and Hyper-V

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. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

14 answers

Sort by: Most helpful
  1. Anonymous
    Sep 6, 2024, 7:39 AM

    Hello, Lewi Kristianto

    Welcome to Microsoft Community.

    The error code 0x800f0920 typically indicates an issue with the Windows Update components. This error may arise due to incomplete system updates or corruption of certain components. The Windows Sandbox is also considered a component of the operating system. Have you tried implementing any of the suggestions related to Windows Update?

    Troubleshoot problems updating Windows - Microsoft Support

    It is crucial to ensure that all updates for Windows are installed, including those not necessarily used by the Sandbox, such as .NET Framework and Visual C++.

    If the Sandbox still does not open, it is advisable to use a Windows installation package that includes the latest updates to overwrite the existing system. This process should not affect the files saved on your computer, but it is still recommended to back up important files beforehand, just in case:

    How to run In-place upgrade in Windows 11 - Microsoft Community

    Yuhao L

    Microsoft Community Technical Support

    0 comments No comments
  2. Anonymous
    Sep 7, 2024, 1:57 AM

    Hi Yuhau.

    1. Troubleshoot problems updating Windows - Microsoft Support,

    Rename software distribution folders

    -> it show error

    ren : Cannot rename because item at '%systemroot%\softwaredistribution' does not exist.

    At line:1 char:1

    • ren %systemroot%\softwaredistribution softwaredistribution.bak
    • 
          + CategoryInfo          : InvalidOperation: (:) [Rename-Item], PSInvalidOperationException 
      
          + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand
      
      

    ren : Cannot rename because item at '%systemroot%\system32\catroot2' does not exist.

    At line:1 char:1

    • ren %systemroot%\system32\catroot2 catroot2.bak
    • 
          + CategoryInfo          : InvalidOperation: (:) [Rename-Item], PSInvalidOperationException 
      
          + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand
      
      

    Temporarily remove third-party security software

    -> check with clean windows boot, but it still dont enable windows sandboxing

    Repair hard drive errors

    ->this is new device

    Perform a clean restart into Windows

    -> NA

    Restore and repair system files

    -> NA

    Perform a clean installation of Windows 11

    -> NA

    1. How to run In-place upgrade in Windows 11 - Microsoft Community

    Download multi edition Windows 11 en-US

    Win11_23H2_English_x64v2.iso

    Image

    show error "Your files, apps, and settings can't be kept because your current version of Windows might be installed in an unsupported directory or you're trying to install an older version of Windows.

    (already check with regedit, path for program files already showing right)

    its original from Windows 11 and upgrade to Pro btw, dont it get some difference

    second try:

    trying with Windows Update > Advanced options -> Recovery -> Fix Problems using Windows Update

    Image

    Image

    Image

    dont work either, enabling feature windows sandbox still error,

    progress for customizing feature have been stuck progess on 57%, 92%, 94% take one hour plus, and then windows restoring revert back installation

    0 comments No comments
  3. Anonymous
    Sep 7, 2024, 2:09 AM

    Hello, Lewi Kristianto

    Using the Windows installation package for an overwrite is quite an aggressive solution. If you're still encountering errors afterward, it likely indicates that your current system is severely corrupted, and an overwrite may not resolve the issue. The only option left is a more drastic measure: reinstalling the operating system from a USB drive, without keeping any files. I understand you might be reluctant, but unfortunately, there are no other alternatives. Just remember to back up any important files beforehand.

    Windows 11 Clean Installation (microsoft.com)

    Yuhao L

    Microsoft Community Technical Support

    0 comments No comments
  4. Anonymous
    Sep 7, 2024, 2:48 AM

    Additionally, you're currently using a Windows Insider version. This version is intended for testing and is not very stable, so it's not surprising that various issues are occurring. If you want a more stable experience, consider leaving the Windows Insider program:

    How to leave the Windows Insider Program (microsoft.com)

    0 comments No comments
  5. Anonymous
    Sep 7, 2024, 4:06 PM

    which one showing Windows Insider Program?

    checking it dont have insider program yet

    but instead Get the latest updates as soon as they're available https://support.microsoft.com/en-us/windows/get-windows-updates-as-soon-as-they-re-available-for-your-device-cad7b32b-001e-435b-9110-f18309b54168

    having many try but no success, last is using advice from to disable and enable 4 feature, no works either

    https://superuser.com/questions/1513203/turning-on-the-windows-10-feature-windows-sandbox-fails-and-throws-an-error-0

    it seems workaround using nested hyper-v, install windows 11 pro and enable sandbox, works best for me now

    https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/enable-nested-virtualization 

    0 comments No comments