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 are needed when enable windows long file path feature. It has been installed and enabled in win 10 professional and enterprise edition by default.

But when you run it in win 10 home edition, it will prompt error message like Windows cannot find ‘gpedit.msc’, this is because win 10 home edition do not enable group policy editor by default, but the group policy editor installation file has already exist in win 10 home edition,  this article will tell you how to use dism command to enable group policy editor in win 10 home edition.

can not find gpedit.msc error message

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 below command in above bat file and save. Please note each line of code in 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 above bat file and click Run as administrator menu item in the popup menu.
    windows run as administrator popup menu item
  4. Then the bat file will be executed and popup a dos window, you can find 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 restart computer, right click windows start button at bottom left corner, click Run menu item to open Run dialog.
    right click windows start button click run menu item
  7. Input gpedit.msc in the input textbox then click OK button.
    windows run gpedit.msc
  8. Now it will open Local Group Policy Editor window.
    win 10 local group policy editor window
(Visited 36 times, 1 visits today)
READ :   Java Create File Examples

Leave a Reply

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.