Advertisement
Queses

Win10 Home Enable GPedit

Mar 28th, 2020
551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.37 KB | None | 0 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