Group Policy can be used for tweaking the settings of the computer, and it can be only be done with the Group Policy editor or the Gpedit.msc. Windows 11 Home Edition does not come with a group policy editor or Gpedit.msc pre-installed. If you want to edit Group Policy, you will have to enable it on your PC first. Enabling Group Policy Editor isn’t at all difficult. If you want to enable it, then this article will help you with it. Here we will be discussing how you can enable Gpedit.msc in Windows 11.
Running Gpedit.msc On Windows 11
You might have noticed that you will get an error whenever you try to run Gpedit.msc on Windows 11.
You can run Gpedit.msc on Windows 11 through:
- Press the Windows + R key combo to open the Run dialog box on your PC.
- In the Run dialog box, type Gpedit.msc and hit Enter to open Group Policy Editor.
However, if you have not enabled Group Policy Editor, then you will see a message saying-
‘Windows cannot find ‘gpedit.msc’. Make sure you typed the name correctly, and then try again.
Group Policy Editor or Gpedit.msc is located in the C:\Windows\System32 folder. If you see the above message, you will not find Gpedit.msc in the folder, which means you will have to enable it first.
Enabling Gpedit.msc In Windows 11
If you face the same error as the above, you will have to enable the Gpedit.msc in Windows 11 first. To do so, follow the steps give below-
- Firstly, you will have to download the Gpedit.msc enabler PowerShell script. You can download it from this link.
- Now, double-click on the file that you downloaded to run it. This will open up a UAC window; click on Yes to continue ahead.
- Next, you will see a Command Prompt window that will show you the status. After the process is completed, you will see a message ‘This operation is completed successfully.
- Now press any key to close the Command Prompt window.
- Now restart your system, and you will have successfully enabled gpedit.msc on Windows 11.
If you are using Microsoft Edge on your PC, then you may not be able to download the file that we have linked above. If this is the case, then you will have to open the Notepad on your PC, and paste the following code in it-
nul 2>&1 “%SYSTEMROOT%\system32\cacls.exe” “%SYSTEMROOT%\system32\config\system”
REM –> If error flag set, we do not have admin.
if ‘%errorlevel%’ NEQ ‘0’ (
echo Requesting administrative privileges…
) else ( goto gotAdmin )
echo Set UAC = CreateObject^(“Shell.Application”^) > “%temp%\getadmin.vbs”
echo UAC.ShellExecute “%~s0”, “”, “”, “runas”, 1 >> “%temp%\getadmin.vbs”
if exist “%temp%\getadmin.vbs” ( del “%temp%\getadmin.vbs” )
CD /D “%~dp0”
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3.mum >List.txt dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3.mum >>List.txt
for /f %%i in (‘findstr /i . List.txt 2^>nul’) do dism /online /norestart /add-package:”%SystemRoot%\servicing\Packages\%%i”
Now save the file with any name followed by .bat extension. Run the file as we did in the above step, and you will be able to enable Gpedit.msc on Windows 11.
- How To Switch From Insider To Stable Windows 11 Build
- How To Install and Add Fonts In Windows 11
- How to Turn Off Beep Sound in Windows 11
After you do so, you will successfully enable Gpedit.msc on Windows 11. Follow the steps given in this article to enable Gpedit.msc on your PC. After you have enabled it, you will be able to run it from the Run dialog box.