SaveText.Ru

gpedit.msc
  1. @echo off
  2. dir /b C:WindowsservicingPackagesMicrosoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >find-gpedit.txt
  3. dir /b C:WindowsservicingPackagesMicrosoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>find-gpedit.txt
  4. echo Ustanovka gpedit.msc
  5. for /f %%i in ('findstr /i . find-gpedit.txt 2^>nul') do dism /online /norestart /add-package:"C:WindowsservicingPackages%%i"
  6. echo Gpedit ustanovlen.
  7. pause

Share with your friends:

Print