系统相关
首页 > 系统相关> > windows10 家庭版中找不到 gpedit.msc 怎么办?

windows10 家庭版中找不到 gpedit.msc 怎么办?

作者:互联网

运行下列批处理脚本即可,记得用管理员身份哦!

@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

标签:txt,家庭版,gpedit,Windows,List,windows10,%%,servicing,Packages
来源: https://www.cnblogs.com/wbyixx/p/14095438.html