Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

How to Fix gpedit.msc Not Found Error in Windows

Deep ShresthaBy Deep ShresthaApril 6, 2023
gpedit.msc not found

Running gpedit.msc in Windows opens the Local Group Policy Editor. This is an MMC (Microsoft Management Console) in Windows that allows users to access and modify system settings. 

Unfortunately, Group Policy Editor is only available on the Pro and Enterprise edition of Windows. Windows will give you a “Windows cannot find gpedit.msc” error message if you try to run the gpedit.msc command in Windows Edition other than Pro and Enterprise. 

Although installing either Pro or Enterprise Edition will fix the issue that you face, there are some workarounds to run gpedit.msc even on Windows Edition that lacks support for Local Group Policy Editor.

Enable Group Policy Command

If you are on a particular Windows Edition that does not support Local Group Policy, you can also enable it using certain commands.

Note: You can check your current Windows edition from Windows Settings > System > About > Windows Specification.
windows-edition

The command downloads Microsoft Windows Group Policy Client Extensions and Client Tool Package and installs them in the root folder of the OS. It gets this package from the online Windows Image file.

By doing this, it installs the necessary files to run the GPedit to the root folder in the C drive.

  1. Go to the Github Repository to get the gpedit-enabler script.
  2. Copy the code from lines 1 to 8.
    copy code from github
  3. Open Notepad. 
  4. Paste the previously copied commands.
    copy code to download gpedit
  5. Save the file, set Save type as All files and name it gpedit.bat.save bat file
  6. Run this file as Administrator.
    run bat file as admin
  7. Wait for the batch file to run all the command
  8. Press any key once the process completes.copy the code to download gpedit

Alternatively, you can enable Local Group Policy Editor using the following steps.

  1. Press the Windows + R key to open Run.
  2. Type cmd and then press Ctrl + Shift + Enter to open the command prompt as administrator.
    run command as admin gpedit not working
  3. Type the following command and then press Enter.
    FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
    run command to enable gpedit
  4. Wait for the command to run.
  5. Again type the following command and then press Enter.
    FOR %F IN ("%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum") DO (DISM /Online /NoRestart /Add-Package:"%F")
  6. Try opening gpedit.msc .
    run gpedit gpedit not found

Copy Group Policy Folder

You can try copying Local Group Policy files from SysWow64 to the root directory of the primary drive if running the command mentioned above does not work. All your system files are stored in the root folder, so copying the Group Policy file should work.

  1. Press the Windows + E key to open File Explorer.
  2. Navigate to C:\Windows\SysWOW64.
    copy group policy files
  3. Copy the file and folders mentioned below:
    • GroupPolicy
    • GroupPolicyUsers
    • gpedit.msc
  4. Paste it inside C:\Windows\System32.
  5. Now open Run and type gpedit.msc and check if you could open Group Policy Editor.
    run gpedit gpedit not found

Run SFC and DISM Command

The system might run into cases where it cannot open a group policy editor even when using the Pro or Enterprise edition. These types of complications could occur due to errors in the system files.

To fix this, you can first try repairing the system image using DISM (Deployment Image Servicing and Management) command and repair system files using SFC (System File Checker) command.

  1. Open Run.
    run command as admin gpedit not working
  2. Type cmd and press Ctrl + Shift + Enter to Open the command prompt as administrator.
  3. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter.
    run dism restore health gpedit not found
  4. Wait for the command to run.
  5. Now, type sfc /scannow and press Enter.
    running sfc command
  6. Wait for the scanning process to complete.
  7. Try opening the Local Group Policy Editor.
fix
Deep Shrestha
  • Twitter
  • LinkedIn

Deep Shrestha works as a computer hardware writer at TechNewsToday with several hardware and programming certifications. Although he has been writing technical content for more than a year, his interest in hardware components started at a very young age ever since he heard about PC building. Pursuing his passion, he has assembled several desktop computers. Besides building desktop PCs, Deep also has hands-on experience fixing software and hardware issues on laptops and desktop computers. Using all this knowledge and skills about computer hardware, he's on a quest to make content that's easy to read and understand for everyone. You can contact him at deep@technewstoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.