How To Install Apps in Microsoft Store in Windows Sandbox

Table of Contents

Microsoft Store in Windows Sandbox

By default, Microsoft Store does not include in Windows Sandbox. In case you want to test an app from Store, you must have enabled it first.

1. Right-click on the Windows Start icon, then select Windows PowerShell Admin.

How To Install Apps in Microsoft Store in Windows Sandbox

2. Run the below command to allow running the script. Describes the PowerShell execution policies and explains how to manage them from Microsoft

Set-ExecutionPolicy Bypass Process -Force

3. We’ve created a PowerShell script to do all manual steps automatically. 

Note

Our PowerShell script is safe, but you should verify the security and contents of any script from the internet you are not familiar with.

irm bonguides.com/wsb/msstore | iex
# Output
PS C:\Users\WDAGUtilityAccount> irm bonguides.com/wsb/msstore | iex 

Downloading dependency packages...      
Installing dependency packages...       
Adding Microsoft Store...                                        
Adding Store Purchase App... 
Adding XboxIdentityProvider...

Installed packages:

Name                               Version        Status
----                               -------        ------
Microsoft.VCLibs.140.00            14.0.30704.0       Ok
Microsoft.VCLibs.140.00            14.0.26706.0       Ok
Microsoft.DesktopAppInstaller      1.0.1810.1000      Ok
Microsoft.WindowsStore             11809.1001.7.0     Ok
Microsoft.NET.Native.Framework.1.6 1.6.24903.0        Ok
Microsoft.NET.Native.Framework.1.6 1.6.24903.0        Ok
Microsoft.NET.Native.Runtime.1.6   1.6.24903.0        Ok
Microsoft.NET.Native.Runtime.1.6   1.6.24903.0        Ok

Done.

4. Once done, the Microsoft Store should be installed, and you can install any store app you need.

How To Install Apps in Microsoft Store in Windows Sandbox

For example, we’ve download and installed Spotify on Windows Sandbox.

How To Install Apps in Microsoft Store in Windows Sandbox

Related Titles:

  • How to Install Apps in Windows Sandbox
  • Step-by-Step Guide to Installing Apps in Microsoft Store on Windows Sandbox
  • Easy Way to Download Apps in Windows Sandbox
  • Windows Sandbox Tutorial: Installing Apps from Microsoft Store
  • Safely Install Microsoft Store Apps in Windows Sandbox
  • How to Use Windows Sandbox to Install Apps
  • Installing Apps in Windows Sandbox: Complete Guide
  • How to Access Microsoft Store in Windows Sandbox
  • Windows Sandbox App Installation Guide
  • Install Microsoft Store Apps Safely Using Windows Sandbox
  • Quick Tutorial on Installing Apps in Windows Sandbox
  • How to Run Microsoft Store Apps in Windows Sandbox
  • Setting Up Windows Sandbox to Install Apps
  • Microsoft Store in Windows Sandbox: App Installation Tips
  • Windows Sandbox for Beginners: Installing Microsoft Store Apps

 

Keywords:

Windows Sandbox, Microsoft Store, install apps in Windows Sandbox, Windows 10 tutorial, Windows 11 guide, download apps safely, tech guide, step-by-step installation, Windows Sandbox tutorial, virtual machine, app testing, how to install apps, Microsoft Store in Sandbox, Windows app installation, computer security

 

Hashtags:

#bonguides, #WindowsSandbox, #MicrosoftStore, #InstallApps, #Windows10, #Windows11, #TechGuide, #VirtualMachine, #AppTesting, #ComputerSecurity, #StepByStepTutorial, #SafeDownloads, #WindowsTutorial, #TechTips, #SandboxEnvironment

Comments (14)

  1. Not working.
    Got this error:
    iex : At line:73 char:3
    + } | Out-null
    + ~
    An empty pipe element is not allowed.
    At line:78 char:3
    + } | Out-null
    + ~
    An empty pipe element is not allowed.
    At line:83 char:3
    + } | Out-null
    + ~
    An empty pipe element is not allowed.
    At line:1 char:33
    + irm bonguides.com/wsb/msstore | iex
    + ~~~
    + CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException
    + FullyQualifiedErrorId : EmptyPipeElement,Microsoft.PowerShell.Commands.InvokeExpressionCommand

    Reply
  2. This update of Windows PowerShell in Sandbox, you can execute only this command:
    irm bonguides.com/wsb/msstore | iex,
    without to make PowerShell administrator and without to execute this command:
    Set-ExecutionPolicy Bypass Process -Force
    and its processing is updated into this green text:
    Installing Microsoft Store and its dependencies…
    Done.
    just I am saying that to save time to others who will do that.

    Reply
  3. I get the following error

    Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
    secure channel.
    At line:27 char:1
    + Invoke-WebRequest -Uri ‘https://filedn.com/lOX1R8Sv7vhpEG9Q77kMbn0/Fi …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
    eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

    Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
    secure channel.
    At line:28 char:1
    + Invoke-WebRequest -Uri ‘https://filedn.com/lOX1R8Sv7vhpEG9Q77kMbn0/Fi …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
    eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

    Invoke-WebRequest : The underlying connection was closed: Could not establish trust relationship for the SSL/TLS
    secure channel.
    At line:29 char:1
    + Invoke-WebRequest -Uri ‘https://filedn.com/lOX1R8Sv7vhpEG9Q77kMbn0/Fi …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
    eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

    Add-AppxPackage : Cannot find path ‘C:\Users\WDAGUtilityAccount\AppData\Local\Temp\temp\Microsoft.NET.Native.Framework.
    1.6_1.6.24903.0_x64__8wekyb3d8bbwe.Appx’ because it does not exist.
    At line:35 char:1
    + Add-AppxPackage ‘Microsoft.NET.Native.Framework.1.6_1.6.24903.0_x64__ …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\Users\WDAGUt…kyb3d8bbwe.Appx:String) [Add-AppxPackage], ItemNotFou
    ndException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Cannot find path ‘C:\Users\WDAGUtilityAccount\AppData\Local\Temp\temp\Microsoft.NET.Native.Runtime.1.
    6_1.6.24903.0_x64__8wekyb3d8bbwe.Appx’ because it does not exist.
    At line:36 char:1
    + Add-AppxPackage ‘Microsoft.NET.Native.Runtime.1.6_1.6.24903.0_x64__8w …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\Users\WDAGUt…kyb3d8bbwe.Appx:String) [Add-AppxPackage], ItemNotFou
    ndException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Cannot find path ‘C:\Users\WDAGUtilityAccount\AppData\Local\Temp\temp\Microsoft.WindowsStore_11809.10
    01.713.0_neutral_~_8wekyb3d8bbwe.AppxBundle’ because it does not exist.
    At line:37 char:1
    + Add-AppxPackage ‘Microsoft.WindowsStore_11809.1001.713.0_neutral_~_8w …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:\Users\WDAGUt…bbwe.AppxBundle:String) [Add-AppxPackage], ItemNotFou
    ndException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict
    validation.
    Windows cannot install package Microsoft.DesktopAppInstaller_1.22.10861.0_x64__8wekyb3d8bbwe because this package
    depends on a framework that could not be found. Provide the framework “Microsoft.UI.Xaml.2.8” published by
    “CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US”, with neutral or x64 processor
    architecture and minimum version 8.2310.30001.0, along with this package to install.
    NOTE: For additional information, look for [ActivityId] db0de8b8-85c0-0008-9f89-0edbc085da01 in the Event Log or use
    the command line Get-AppPackageLog -ActivityID db0de8b8-85c0-0008-9f89-0edbc085da01
    At line:39 char:1
    + Add-AppxPackage ‘Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbund …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : WriteError: (C:\Users\WDAGUt…bbwe.msixbundle:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Reply
  4. NOT WORKING –

    Done.

    Name Version
    —- ——-
    Microsoft.UI.Xaml.CBS 8.2404.3001.0
    Microsoft.UI.Xaml.2.4 2.42007.9001.0
    Microsoft.UI.Xaml.2.7 7.2203.17001.0
    Microsoft.UI.Xaml.2.8 8.2310.30001.0
    Microsoft.NET.Native.Framework.1.6 1.6.24903.0
    Microsoft.NET.Native.Framework.2.2 2.2.29512.0
    Microsoft.NET.Native.Runtime.1.6 1.6.24903.0
    Microsoft.NET.Native.Runtime.2.2 2.2.28604.0
    Microsoft.WindowsStore 12107.1001.15.0
    Microsoft.DesktopAppInstaller 1.23.1911.0
    start : This command cannot be run due to the error: Unknown error (0x80040904).
    At line:45 char:1
    + start ms-windows-store:
    + ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

    pls fix

    Reply
  5. Seems Microsoft has disabled Microsoft Store apps from running in Windows Sandbox. Starting with Windows 11, version 24H2, all inbox store apps like Calculator, Photos, Notepad, and Terminal are not available inside Windows Sandbox. This change aims to maintain the isolated and secure environment of the Sandbox. However, Microsoft plans to re-enable these apps in the future.

    Reply

Leave a Comment

Required fields are marked *