WIN10&&WIN11组策略无法打开的问题处理
问题描述:
win + R 运行框内 gpedit.msc 调不起来组策略。
解决方案:
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. 另存为 XXX.cmd
3. 文件名随便就行。然后以管理员权限运行。
最后跑完内容后,再 win + R 运行框内 gpedit.msc 就可以了。
WIN10&&WIN11组策略无法打开的问题处理
https://wandana123.github.io/2024/06/13/WIN10-WIN11组策略无法打开的问题处理/
install_url to use ShareThis. Please set it in _config.yml.