Windows10添加组策略
2021-03-08 13:29
标签:脚本 ges 添加 nbsp ros microsoft 权限 for class 管理员权限下,,执行以下脚本即可 Windows10添加组策略 标签:脚本 ges 添加 nbsp ros microsoft 权限 for class 原文地址:https://www.cnblogs.com/kreo/p/12791728.html@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