首页 > 其他分享 >Win10家庭版找不到组策略gpedit.msc怎么办

Win10家庭版找不到组策略gpedit.msc怎么办

时间:2023-01-12 11:25:07浏览次数:57  
标签:Packages 家庭版 gp 组策略 gpedit systemroot% txt

Win10家庭版找不到组策略gpedit.msc怎么办

@echo off
pushd "%~dp0"

dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt

dir /b  %systemroot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txt

for /f %%i in ('findstr /i . gp.txt 2^>nul') do dism /online /norestart /add-package:"%systemroot%\servicing\Packages\%%i"

pause

标签:Packages,家庭版,gp,组策略,gpedit,systemroot%,txt
From: https://www.cnblogs.com/octoberkey/p/17045917.html

相关文章