Blog

This article discusses a scenario where an error occurs when attempting to access the Group Policy Editor by entering gpedit.msc in the "Run" field, resulting in the error message "Windows cannot find 'gpedit.msc'. Make sure you've typed the name correctly, then try again."

The Group Policy Editor is typically disabled in Windows 10 Home / Windows 7 Home, or for some other reason. To restore the Group Policy Editor, follow these steps:

Create a .bat file with the following content:

@echo off
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >find-gpedit.txt
dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>find-gpedit.txt
echo Installing gpedit.msc
for /f %%i in ('findstr /i . find-gpedit.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i"
echo Gpedit installed.
pause

Alternatively, you can download the ready-made .bat file from our server.

Run this .bat file as an administrator and wait for the installation of the gpedit.msc components.

Now you can launch the working Group Policy Editor.

Similar articles

Subscribe
Notify of
guest
0 comments
Inline Feedbacks
View all comments