First of all, download the gpedit installer batch file by clicking here.
Once downloaded, go to the downloaded batch file. Right click >> Run as Administrator.
Now, you can go to Run, type in gpedit.msc, and hit enter. You will see editor is opened which means it is now enabled.