How To Enable Group Policy Editor ( gpedit.msc ) In Win 10 Home Edition

Group policy editor (gpedit.msc) is a very useful windows function that is needed when enabling the windows long file path feature. It has been installed and enabled in win 10 professional and enterprise editions by default.

But when you run it in win 10 home edition, it will prompt an error message like Windows cannot find ‘gpedit.msc’. Make sure you’ve typed the name correctly, then try again., this is because win 10 home edition does not enable group policy editor by default, but the group policy editor installation file has already existed in the win 10 home edition,  this article will tell you how to use the command dism to enable group policy editor in win 10 home edition.

1. Install Group Policy Editor In Win 10 Steps.

  1. Create a bat file (such as install_gpedit.bat ) in a windows folder.
  2. Then copy the below command in the above bat file and save it. Please note each line of code in the below script should be written in one line. Otherwise, the bat file can not be executed successfully.
    @echo off
    pushd "%~dp0"
    echo List all Group Policy Editor client related win10 package files to Files.txt file.
    dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >Files.txt
    dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>Files.txt
    echo Run dism command to install Group Policy Editor...
    for /f %%i in ('findstr /i . Files.txt 2^>nul') do dism /online /norestart /add-package:"C:\Windows\servicing\Packages\%%i"
    echo.
    echo Group Policy Editor Installation complete.
    echo.
    pause
  3. Right-click the above bat file and click the Run as administrator menu item in the popup menu.
  4. Then the bat file will be executed and popup a dos window, you can find the below output message in the dos window.
    List all Group Policy Editor client related win10 package files to Files.txt file.
    Run dism command to install Group Policy Editor...
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17134.1
    
    Image Version: 10.0.17134.345
    
    Processing 1 of 1 - Adding package Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~amd64~en-GB~10.0.17134.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17134.1
    
    Image Version: 10.0.17134.345
    
    Processing 1 of 1 - Adding package Microsoft-Windows-GroupPolicy-ClientExtensions-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17134.1
    
    Image Version: 10.0.17134.345
    
    Processing 1 of 1 - Adding package Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~amd64~en-GB~10.0.17134.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.17134.1
    
    Image Version: 10.0.17134.345
    
    Processing 1 of 1 - Adding package Microsoft-Windows-GroupPolicy-ClientTools-Package~31bf3856ad364e35~amd64~~10.0.17134.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Group Policy Editor Installation complete.
    
    Press any key to continue . . .
  5. After that, restart the computer if needed.
  6. After restarting the computer, right-click the windows start button at the bottom left corner, click the Run menu item to open the Run dialog.
  7. Input gpedit.msc in the Open text box then click the OK button.
  8. Now it will open the Local Group Policy Editor window.

1 thought on “How To Enable Group Policy Editor ( gpedit.msc ) In Win 10 Home Edition”

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.