Home > Article > Computer Tutorials > What to do if the gpedit.msc file cannot be found?
gpedit.msc is a command of the Windows Group Policy Editor. It is a mechanism defined by administrators for computers and users to control applications, system settings and administrative templates. Some friends find that they enter gpedit on their computers. After .msc, the file cannot be found and the program cannot be opened. The following editor will bring you the solution to the problem that the gpedit.msc file cannot be found. Friends who are troubled should come and take a look.
1. First, press the shortcut key "win r" to open the run, and enter: notepad.
2. After that, you can enter the notepad and enter the code:
@echo off
pushd "%~dp0"
dir /b %systemroot%\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >gp.txt
dir /b %systemroot%\servicing\ Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>gp.txt
for /f %%i in ('findstr /i . gp.txt 2^>nul ') do dism /online /norestart /add-package:"%systemroot%\servicing\Packages\%%i"
pause
3, then save it and name it " gpedit.bat".
4. Right-click on the saved gpedit.bat notepad and select "Run as administrator".
#5. After the processing is completed, press "win r" to open the run and enter the code: gpedit.msc.
The above is the detailed content of What to do if the gpedit.msc file cannot be found?. For more information, please follow other related articles on the PHP Chinese website!