系统相关
首页 > 系统相关> > windows 10 家庭版安装组策略

windows 10 家庭版安装组策略

作者:互联网

windows 10 home edition installation group policy

command:

for /f %i in ('dir /b %systemroot%\servicing\packages\microsoft-windows-grouppolicy-clientextensions-package~3*.mum') do dism /online /norestart /add-package:"%systemroot%\servicing\packages\%i"
for /f %i in ('dir /b %systemroot%\servicing\packages\microsoft-windows-grouppolicy-clienttools-package~3*.mum') do dism /online /norestart /add-package:"%systemroot%\servicing\packages\%i"

batch script:

for /f %%i in ('dir /b %systemroot%\servicing\packages\microsoft-windows-grouppolicy-clientextensions-package~3*.mum') do dism /online /norestart /add-package:"%systemroot%\servicing\packages\%%i"
for /f %%i in ('dir /b %systemroot%\servicing\packages\microsoft-windows-grouppolicy-clienttools-package~3*.mum') do dism /online /norestart /add-package:"%systemroot%\servicing\packages\%%i"

 

标签:10,%%,package,windows,组策略,servicing,systemroot%,packages
来源: https://blog.csdn.net/zing2008/article/details/110915491