Serverspace Black Friday
DW
November 15, 2022
Updated November 21, 2022

Installing the Windows Group Policy Editor (Gpedit).

RDP

Doing some group policy work on your remote server, this error can appear:

Gpedit not found

In our instruction we are going to describe how to fix that.

Dealing with problem on Windows 10.

In Windows 10 that editor can be installed without using additional funds.
For a start, we have to create a bat file which contains code. To create that file, open notepad, add code there and save it as "file.bat", specifying "All files" in the file type.
This is the code that you have to enter in the file:

@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 is installed successfully.
pause

On the screenshot is pictured how to save a file as bat:

Creating bat file

After that you have to run this file as administrator.

Running bat file as administrator

 

After that your group policy editor will be installed and ready to work!

Installing group policy editor

Installing group policy editor on Windows 7 and Windows 8.

Attention: You can also try to install it using Windows 10 solution.
If you had that error on old system, you have to download gpedit.msc, as an additional app.
First, download that archive, unzip it and run setup.exe:

Running setup exe.

 

After that downloading wizard is going to open and ask you to install missing files.
Next, you can use your group policy editor!

Vote:
5 out of 5
Аverage rating : 5
Rated by: 1
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
ITGLOBAL.COM NL
700 300
We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.