windows10家庭版开启本地组策略

1、打开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

2、保存后,后缀改为cmd, 如 XXX.cmd

3、管理员身份运行cmd文件

4、win+r弹出运行窗口,输入gpedit.msc,打开本地组策略

你可能感兴趣的:(windows10家庭版开启本地组策略)