Created
November 29, 2020 17:42
-
-
Save iamspark1e/989829a59656d8e602a29398e8363f5a to your computer and use it in GitHub Desktop.
Enable gpedit.msc in Windows 10 Home Edition
This file contains 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
@echo off | |
pushd "%~dp0" | |
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt | |
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt | |
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment