How to Enable “Group Policy Editor” (gpedit.msc) in Windows 7 Home Premium, Home Basic and Starter Editions?

DISCLAIMER: This utility has been shared for the sake of knowledge sharing. Patching system files using 3rd party software might be dangerous for your system. We do not recommend it and we'll not be responsible if it harms your system.
 Many times we post tutorials which require Group Policy Editor (gpedit.msc). But some Windows 7 editions (Home Premium, Home Basic and Starter) don't come with Group Policy Editor. Only Windows 7 Professional, Enterprise and Ultimate editions come with Group Policy Editor installed.
Today we are going to share a simple installer which installs the required system files in Windows so that you can enjoy Group Policy Editor in all Windows 7 editions.

"jwils876" @ DA has shared a small setup file to enable Group Policy Editor in Windows 7 Starter, Home Basic and Home Premium editions.


The installer has been originally created by "davehc" @ Windows7forums, so thanks goes to him as well.
First download the setup file using following link: Download Group Policy Editor Installer
You'll find the download link in right-side section of the above mentioned page. After downloading the ZIP file, extract it using WinRAR or Zip. Run the extracted setup.exe file. It'll install the files and you'll be able to access gpedit.msc command via RUN or Start Menu search box.
NOTE 1: For Windows 7 64-bit (x64) users! You'll also need to go to "SysWOW64" folder present in "C:\Windows" folder and copy "GroupPolicy", "GroupPolicyUsers" folders and gpedit.msc file from there and paste them in "C:\Windows\System32" folder.
NOTE 2: If you are getting "MMC could not create the snap-in" error message while running gpedit.msc, check out following steps to fix the problem. Basically it happens when your username in Windows contains more than one word.
1. Run the installer and leave it at the last step (do not click on the "Finish" button).
2. Now go to C:\Windows\Temp\gpedit\ folder.
3. If you are running 32-bit (x86) edition of Windows 7, right-click on x86.bat file and choose "Open With -> Notepad" option. If you are running 64-bit (x64) edition of Windows 7, right-click on x64.bat file and choose "Open With -> Notepad" option.
4. You'll find a total of 6 lines containing the following string in the file:
%username%:f
5. Edit those lines and replace %username%:f with "%username%":f
For example:
Original: icacls %WinDir%\SysWOW64\gpedit.dll /grant:r %username%:fNew: icacls %WinDir%\SysWOW64\gpedit.dll /grant:r "%username%":f
6. Save and run the file (right-click -> Run as Administrator).
7. That's it. You'll have working gpedit.msc.
Thanks   "askvg" for the fix...


0 komentar: