• 00
  • :
  • 00
  • :
  • 00

win10家庭版组策略安装

@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

bat,管理员运行

 

posted @ 2020-12-28 18:03  Garson_Zhang  阅读(242)  评论(0编辑  收藏  举报