7 lines
318 B
Batchfile
7 lines
318 B
Batchfile
|
pushd "%~dp0"
|
||
|
dir /b %SystemRoot%\servicing\Packages\*containers*.mum >containers.txt
|
||
|
for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
|
||
|
del containers.txt
|
||
|
Dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL
|
||
|
pause
|