Monday, September 2, 2024

W365: Enable winget inside windows sandbox from windows 365 cloud pc

To enable winget feature inside a windows sandox from the host windows 365 cloud pc, follow the below steps. 

Note: Make sure windows sandbox feature is enabed in add or remove features. If not enable it in add or remove features option or by running the below command in powershell. 

Enable-WindowsOptionalFeature -FeatureName "Containers-DisposableClientVM" -All -Online

Reference: https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview

Open Powershell as normal user and run the below command

"winget configure https://aka.ms/sandbox.dsc.yaml"

This should enable the winget inside the sandbox.


You can verify this by running "winget -v" in powershell inside windows sandbox.


Demo:


No comments:

Post a Comment