windows找不到文件gpedit.msc处理方法
作者:互联网
新建一个txt,输入
@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
将后缀名改成cmd,运行即可
标签:txt,gpedit,windows,Package,List,Windows,servicing,Packages,msc 来源: https://www.cnblogs.com/hyacinthhome/p/12631085.html