Mga Pahina

Biyernes, Disyembre 27, 2019

how to open gpedit when missing

1. paste this code in notepad and save it as .bat

@echo off
pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b %SystemRoot%\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:"%SystemRoot%\servicing\Packages\%%i"
pause

2. after tstep 1.run bat file then it will be fixed.

Walang komento:

Mag-post ng isang Komento