Group Policy Editor is a Microsoft Management Console (MMC) snap-in that is used to configure and modify Group Policy settings within Group Policy Objects (GPOs). You can change many things about your Windows Installation using the Group Policy Editor. The Group Policy Editor provides administrators with a hierarchical tree structure for configuring Group Policy settings in GPOs. These GPOs can then be linked to sites, domains, and organizational units (OU) that contain computer or user objects.Unfortunately, Group Policy Editor does not work in Windows Home Editions. Luckily you can still enable Group Policy support if you are running Windows Home.
To enable the Group Policy Editor in Windows Home simply copy and paste the commands below into a batch file named EnableGroupPolicyEditor.bat (or something similar):
@echo off
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
if '%errorlevel%' NEQ '0' (
goto getAdmin
) else ( goto gotAdmin )
:getAdmin
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"="
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /b
:gotAdmin
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
About the batch file:
This batch file checks if it’s running as Admin and if not, gets Admin rights and restarts the batch file.
After getting Admin rights the batch file downloads and installs the Windows components needed to use the Group Policy Editor.
After saving the batch file you can double-click on it (no need to run as Admin, the code will get Admin levels on its own).
Once the batch file has finished running you can hit Windows+R and type gpedit.msc
This will bring up the Group Policy Editor.
Be careful with the Group Policy Editor – with great power comes great responsibility!