Advertisement
FreeBooter

Sandbox_Installer

Feb 15th, 2023
4,525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.44 KB | Source Code | 0 0
  1. @Echo off & Cls
  2.  
  3. (Net session >nul 2>&1)||(PowerShell start """%~0""" -verb RunAs & Exit /B)
  4.  
  5. pushd "%~dp0"
  6.  
  7. dir /b %SystemRoot%\servicing\Packages\*Containers*.mum >sandbox.txt
  8.  
  9. for /f %%i in ('findstr /i . sandbox.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  10.  
  11. del sandbox.txt
  12.  
  13. Dism /online /enable-feature /featurename:Containers-DisposableClientVM /LimitAccess /ALL
  14.  
  15. ping -n 10 localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement