Search This Blog

Thursday, May 27, 2021

How To Enable Gpedit.msc For Windows 10 Home

The good news is that Windows 10 Home Edition includes Group Policy feature on default installation but this feature is disabled by default. You just have to enable the feature to bring back gpedit.msc.


Please note that this is not using any third-party software for enabling the group policy. In this method, the Code is using the built-in Windows packages installation for installing gpedit.msc. So this method should be 100% safe and should work in all conditions.


INSTRUCTIONS:-


1. Open Notepad.


2. Copy the below code into Notepad.


@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


3. Save this File as anything.bat (while saving, first select the File Type as 'All Files' and then save it as 'anything.bat' i.e. with the .bat extension)


4. Run the .bat file as Administrator and wait for it to complete.


5. After it finishes, Press any key to return to command prompt and exit it.


6. Now, you can open gpedit.msc via Windows+R i.e. Run :)


NOTE: This is only for those who are using Windows 10 Home.