Home > Computer Tutorials > System Installation > What to do if the gpedit.msc file cannot be found?

What to do if the gpedit.msc file cannot be found?

王林
Release: 2024-02-07 12:15:12
forward
1197 people have browsed it

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.

What to do if the gpedit.msc file cannot be found?

How to solve the problem that the gpedit.msc file cannot be found

1. First, press the shortcut key "win r" to open the run, and enter: notepad.

What to do if the gpedit.msc file cannot be found?

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".

What to do if the gpedit.msc file cannot be found?

4. Right-click on the saved gpedit.bat notepad and select "Run as administrator".

What to do if the gpedit.msc file cannot be found?

#5. After the processing is completed, press "win r" to open the run and enter the code: gpedit.msc.

What to do if the gpedit.msc file cannot be found?

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!

source:53xt.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template