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 批处理文件
以管理员身份运行.bat文件。
相关推荐
xiaobater 2020-07-04
xxuncle 2020-06-05
HeliumLau 2020-05-03
json0000 2020-03-14
sifeimeng 2020-01-02
MARQUIS 2013-09-10
88503379 2014-12-05
81971834 2015-03-31
Rgenxiao 2011-08-23
leavesC 2019-11-07
huzilinitachi 2019-11-03
xiaohouye 2019-10-30
MedeUz 2011-01-01
zhaoweiping 2010-05-07
byourb 2019-10-20