The Group Policy Editor gpedit.msc is only available in Professional and Enterprise editions of the Windows 10 operating systems.
Enable the Group Policy Editor on Windows 10 Home Edition
Here is the script to add in a batch file:
@echo off
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
You can download a batch file already created with the following link:
https://www.solidfiles.com/v/mXma378R5nnZQ
or
https://www.mirrored.to/files/0N9MSRWT/Enable_gpedit_windows_10_home.rar_links