HomeWindowsHow To Enable gpedit.msc On Windows 11

How To Enable gpedit.msc On Windows 11

-

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-

@echo off

   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…

   goto UACPrompt

   ) else ( goto gotAdmin )

   :UACPrompt

   echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"

   echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"

   "%temp%\getadmin.vbs"

   exit /B

   :gotAdmin

   if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )

   pushd "%CD%"

   CD /D "%~dp0" 

 pushd "%~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"

 pause

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.

FAQs

Does Windows 11 Have Gpedit.msc?

Gpedit.msc is only available to the users running on Windows 11 Professional and Enterprise. It will not be enabled by default for home users, so you will have to enable it. 

How Do I Enable Gpedit.msc in Windows 11?

You will have to make certain changes to your system to enable Gpedit.msc in Windows 11. We have discussed how you can enable Gpedit.msc in Windows 11, so you can read the above article to enable it. 

How Do I Access Group Policy Editor In Windows 11?

You can easily access the Group Policy Editor with the help of the run dialog box in Windows 11. Open the Run dialog box by pressing the Windows + R key combo. In the Run dialog box, type Gpedit.msc and hit Enter, and you will be headed to Group Policy Editor. 

RELATED GUIDES:

Final Words

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. 

Anurag Jain
Anurag Jainhttps://itechhacks.com
Anurag is a Senior content analyst with 4 years of experience in the industry. Based in India, He is extremely skilled at Windows related to How to Troubleshooting matters. His favorite topics are Windows 11, Android, and How To's.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

LATEST