【转】在Win10家庭版中启用组策略

源地址:https://www.baidu.com/link?url=tZrD7LVxQEKQUTWUum86LoxyaxWNLs5BeBE2K36TliRi8sjGraKc-iP3TEm6sc_KXzNl-GWyz6Og-cucGDkcNq&wd=&eqid=957bde6c0004570c000000065afe27f8

以下

@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里,后缀名改为cmd,右键管理员运行就大功告成

posted on 2018-05-18 09:21  海子呢  阅读(167)  评论(0编辑  收藏  举报