Created
May 15, 2023 09:53
-
-
Save RangHo/3c35ab01cb7fc09afbd0f614b008ebca to your computer and use it in GitHub Desktop.
Force enable Windows Sandbox features on Windows 10/11 Home editions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pushd "%~dp0" | |
dir /b %SystemRoot%\servicing\Packages\*Containers*.mum >sandbox.txt | |
for /f %%i in ('findstr /i . sandbox.txt 2^>nul') do dism /Online /NoRestart /Add-Package:"%SystemRoot%\servicing\Packages\%%i" | |
del sandbox.txt | |
dism /Online /Enable-Feature /FeatureName:Containers-DisposableClientVM /LimitAccess /All | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment