Advertisement
Guest User

Untitled

a guest
Aug 26th, 2021
228,936
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 1 0
  1. @echo off
  2. pushd "%~dp0"
  3.  
  4. dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
  5. dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
  6.  
  7. for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  8. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement