Home  >  Article  >  System Tutorial  >  File gpedit.msc cannot be found in windows

File gpedit.msc cannot be found in windows

王林
王林forward
2024-01-02 13:11:401653browse

When many users use computers, the system prompts that Win10 cannot find the group policy gpedit.msc. Please make sure the file is correct and try again. What is going on? It may be that the computer software is faulty. Problem, you need to open misconfig or regedit to modify it. Let’s take a look at the specific method below.

Win10 cannot find the solution to the file gpedit.msc

1. First, press the WIN R key on the keyboard at the same time to open the run dialog box and enter notepad to open Notepad.

File gpedit.msc cannot be found in windows

2. Then save the following batch processing content in Notepad:

File gpedit.msc cannot be found in windows

Instructions : Use the dir command to traverse the servicing directory of the system disk, look for the group policy configuration package, write it to the gp.txt file after finding it, and then use the dism command to install the group policy package.

3. Next, click—— in the upper right corner. In the pop-up interface, select the save path and file name (here named gpedit.bat). Note that the file type is "all files". Only in this way can you ensure that gpedit.bat is a batch file.

File gpedit.msc cannot be found in windows

4. Then right-click and select the saved gpedit.bat. As mentioned above in the batch code introduction, the dism command requires administrator rights, so Batch processing must be run as administrator.

File gpedit.msc cannot be found in windows

5. Finally, wait until the batch processing is completed. At this time, press the WIN R key at the same time to open the run input gpedit.msc, and press the Enter key or the OK button.

File gpedit.msc cannot be found in windows

The above is the detailed content of File gpedit.msc cannot be found in windows. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:somode.com. If there is any infringement, please contact admin@php.cn delete