Win11家庭版启用组策略(gpedit.msc).bat批处理文件

组策略启用代码

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"

新建记事本>复制粘贴以上代码>另存为 自定义文件名.bat

组策略创建
免责声明 当前网址:https://qoa.cc/qyzcl
相关下载