Win10 Home Edition can not find the command prompt, type gpedit.msc

Create a bat file, and then edit the input

@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
View Code

Right, Run as Administrator on the file

Then the data gpedit.msc command to run on it

 

Reprinted https://blog.csdn.net/u013642500/article/details/80138799

Guess you like

Origin www.cnblogs.com/ZJ199012/p/12611734.html