Windows Starter Edition, Home and Home Premium do not include gpedit, how do I install it?

30,851

Solution 1

How do I install gpedit.msc on Windows Starter Edition, Home and Home Premium?

I used the following procedure to successfully install gpedit.msc on Windows 7 64 bit Home Premium.

Notes:

  • Confirmed as working on Windows 10 by Moab

  • It apparently works on Windows 8, Windows 8.1 and Windows 10 as well. I have not personally tested this.

UPDATE: According to our readers, this tool also works fine in Windows 8, Windows 8.1 and Windows 10.

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.

  1. 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: download link

  2. After downloading the ZIP file, extract it using WinRAR or 7-Zip.

  3. Run the extracted setup.exe file.

    It will install the files and you'll be able to access gpedit.msc command via RUN or Start Menu search box.

Note:

  • 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.

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

    Original: icacls %WinDir%\SysWOW64\gpedit.dll /grant:r %username%:f

    New: 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.

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


Group Policy Settings Reference Guide

Microsoft has updated and made available as a download, the complete Group Policy Settings Reference Guide for Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows Server 2003 SP2, Windows Server 2008 R2 and Windows Server 2012 R2.

The download is available in the form of spreadsheets for different operating systems. So you can download the spreadsheet only for those operating system/s which you may be interested in.

Spreadsheet Download Link

...

What is also very useful in these spreadsheets, is that it also lists the registry keys which are affected when the settings are changed. Of course, you can always use the Group Policy Settings Search, to know the registry key and value name that backs a particular policy setting, but these spreadsheets put them all in one place.

The Administrative Template spreadsheet contains three columns that provide more information about each policy setting’s behavior related to reboots, logoffs, and schema extensions. These columns are the following:

  1. Logoff Required: A “Yes” in this column means that the Windows operating system requires the user to log off and log on again before it applies the described policy setting.
  2. Reboot Required: A “Yes” in this column means that the Windows operating systems requires a restart before it applies the described policy setting.
  3. Active Directory Schema or Domain Requirements: A “Yes” in this column means that you must extend the Active Directory schema before you can deploy this policy setting.
  4. Status: A “New” in this column means that the setting did not exist prior to Windows Server 2012 and Windows 8. It does not mean that the setting applies only to Windows Server 2012 and Windows 8. Refer to the column entitled “supported on” to determine to which operating system the policy setting applies.

Source Group Policy Settings Reference Guide for Windows 10/8.1/7/Server

Solution 2

Since Alternative to gpedit.msc for Windows Home editions? is marked as a duplicate of this question (although it technically isn't), I'll post an alternative to gpedit here.

Every group policy corresponds to a registry value, which you can edit with regedit. The correspondences, including the different values, are documented on gpsearch.azurewebsites.net. It is apparently maintained by a Microsoft employee, so it's pretty reliable.

Solution 3

Buy an upgraded version of Windows that includes gpedit functionality or unlock the included gpedit package.

The lower grades of Windows versions do not include gpedit as a feature while the more expensive ones do. On the Microsoft website, the feature sets are explained for each version of Windows.

Gpedit can be unlocked, which indicates that Microsoft gives another way. If you don't want to buy the upgrade, you can add gpedit.msc On Home edition, Gpedit may not allow Administrative Template changes to have any effect.

David Postill linked to a script and some have found that it doesn't work. If you have just now tried to install the script from Davit Postill's answer, then follow the steps here to reverse some of the changes made by the script. Or, you can skip to the next part Adding gpedit.msc.

Reverse the script changes from Deviant Art

It is possible that the third party software from Deviant Art was legitimate when it was compiled, however it is now over two years since this question was posted and the third party software may have become incompatible with today's Windows infrastructure.

The third party script from Deviant Art creates a folder and backs up a copy of the gpedit associated files. Navigate to %WinDir%\SysWOW64\GPBAK.

To reverse some of the effects of the script, copy the backed up files back into the %WinDir%\SysWOW64 folder. Namely the gpedit.dll, fde.dll, gptext.dll, appmgr.dll, fdeploy.dll.

Go to the %WinDir%\System32\ folder and remove or replace the gpedit.msc that was manually copied over. You may want to delete gpedit.msc from the %WinDir%\SysWOW64 folder also.

Remove your account from the security permissions that were added to these files if necessary.

The %WinDir%\SysWOW64\GroupPolicy, %WinDir%\SysWOW64\GroupPolicyUsers folders are created and modified by the script as well. There are reverses to be made here.

Unfortunately, the Deviant Art script doesn't appear to make backups of these directories. We are not sure how to handle this. You can try deleting the folders possibly. You can maybe delete them from the %WinDir%\SysWOW64 folder as well.

After reversing the script and then adding the gpedit.msc feature, we fount that Start Menu -> Windows Administrative Tools -> Local Security Policy app was now present. We couldn't get the gpedit.msc to load directly from command line until Resetting the Installation from Settings -> Updates -> Recovery.

Adding gpedit.msc

The Group Policy package files can be found in

%SystemRoot%\servicing\Packages

Look for file names matching:

Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum and Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum

Get the names of those .mum files and one by one run the following dism command using the Package File Names.

dism /online /add-package:"%SystemRoot%\servicing\Packages\{{PackageFileName}}"

If asked to restart, then press the Y key to restart and finish adding any remaining packages.

It may also be necessary to re-register dll files if gpedit.msc gives a missing token error. Otherwise, it may be better to avoid re-registering the dll. To correct a missing token error, try navigating to %WinDir%\System32\ and run this command taken from this social.technet.microsoft.com article:

For /F %s in ('dir /b *.dll') do regsvr32 /s %s

It may be necessary to Reset This PC for a clean gpedit.msc. Back up your files first.

An alternative solution from Microsoft Support in case of dll corruption

Microsoft support has recommended to download a new Windows ISO from a different computer. Make certain you have drivers for you media drives, network interfaces and such. Further research has shown that to obtain a retail version of Windows ISO, run the Windows Media Creation Tool from an earlier version of Windows or even from Ubuntu or MacOS, otherwise, the Media Creation Tool will try to generate an ISO that inherits packages from the current system that it is run from.

  • a final note: Please use ethics when modifying the Windows operating system. The default behavior is that there is no Group Policy editing in Windows Home. By unlocking this package that is not listed as an "official feature" we should use good ethics in efforts to maintain Microsoft intended system behavior. *

  • also note: The only reason we have attempted to use these techniques is to try to correct some malware intrustions on our system that otherwise would be untreatable. Microsoft has not been very helpful in solving our issues. At some point, some of the Microsoft Licensing Parameters should probably become inapplicable since Microsoft hasn't followed through with their end of the Terms Of Service in our case. We were left with no choice but to try to fix this issue ourselves, or else abandon our Fair and Square purchased version of Windows 10 that somehow became severely corrupted by little or no fault of our own.*

Solution 4

This worked for me:

Create a new batch file that has this content in it (based on this link), and run as admin :

@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
Share:
30,851

Related videos on Youtube

DavidPostill
Author by

DavidPostill

Updated on September 18, 2022

Comments

  • DavidPostill
    DavidPostill over 1 year

    I want to make some changes to Windows that require using the Group Policy Editor (gpedit.msc).

    Unfortunately the Group Policy Editor is not included with the Starter Edition, Home and Home Premium editions of Windows.

    How can I install it?

  • Thalys
    Thalys over 8 years
    deviantart is a wierd place to get it from. It also probably uses an exe from windows professional. gpedit not being installed is on purpose.
  • DavidPostill
    DavidPostill over 8 years
    @JourneymanGeek I know, but it is useful to have it installed ;)
  • Tamara Wijsman
    Tamara Wijsman over 7 years
    The problem is that you are not obtaining the Group Policy Editor from Microsoft, as well as that it could possibly be altered.
  • Run5k
    Run5k over 7 years
    @TomWijsman , while those are certainly valid points this entire process has been very thoroughly vetted by DavidPostill and Moab. Needless to say, if you aren't comfortable with the limiting factors you don't need to utilize it, but it seems to be a viable option.
  • Tamara Wijsman
    Tamara Wijsman over 7 years
    Thorough automated analysis reveals no malicious behavior, of that we can be certain without manual vetting; this does not make this legal or compatible, just a word of warning
  • moonstar
    moonstar about 7 years
    I do not have gpedit.msc in WOW64. I have a gpedit.dll and I am stuck. Any suggestions please?
  • DavidPostill
    DavidPostill about 7 years
    @moonstar2001 Sorry, no idea. I did all this 2 years ago and just followed the instructions and it worked.
  • moonstar
    moonstar about 7 years
    OK Thanks. How do I uninstall this?
  • DavidPostill
    DavidPostill about 7 years
    @moonstar2001 Sorry, no idea.
  • Mike M
    Mike M almost 7 years
    --- not working for me after the lastest Windows Update :-( . I didn't diagnose a lot, but it just didn't leave me with a new copy of gpedit.msc at all. The windows\system32 folder was also wonky, making the "GroupPolicy" folder magically invisible... not Hidden, just not shown in Windows Explorer or dir in a command window. It makes me feel they are trying to prevent this.
  • Toto
    Toto almost 6 years
    How is this better than accepted answer?
  • Scott - Слава Україні
    Scott - Слава Україні almost 6 years
    @Toto:  Isn’t it obvious?  The accepted answer recommends downloading unverified software from an unapproved source, and possibly compromising your system security and license compliance by installing it.  This answer give the right way to do it.
  • Ben N
    Ben N almost 6 years
    This partially works - gpedit.msc exists and runs on a Home edition after doing this. However, it appears that the settings in the Administrative Templates branch have no effect because Home editions do not have the infrastructure that transcribes the POL files into the Registry. This seems to work for at least the parts of the Security Settings branch that I tested, though!
  • Run5k
    Run5k almost 6 years
    But in fairness to @Toto, this answer has already been edited 14 times in less than 12 hours. It essentially started out as little more than Buy an upgraded version of Windows that includes gpedit functionality. While that may technically be accurate, it doesn't really fulfill the spirit of the original question.
  • Eeshwar Das
    Eeshwar Das almost 6 years
    @Toto: To buy an upgraded version of Windows is a sure fix. The comments on the accepted answer verify what Scott mentioned. Windows has updated past the point of the third party patch's ability to add gpedit. The safest way is to buy an upgrade.
  • Eeshwar Das
    Eeshwar Das almost 6 years
    @Run5k: You are right. The spirit of the question is what is the way to add gpedit without buying the upgrade. I have since added details that should give a better way to add gpedit than what the prefered answer is following the spirit of the question.
  • Eeshwar Das
    Eeshwar Das almost 6 years
    @Run5k: This is my first SuperUser answer. Please forgive the edits. Only trying to make the answer correct and also readable. Thank you for the feedback.
  • Run5k
    Run5k almost 6 years
    No problem, my friend. We always welcome edits that improve your questions and answers! I just wanted to remind our veteran contributors that the feedback we provide might seem like it is ineffective if the original post changes drastically.
  • Eeshwar Das
    Eeshwar Das almost 6 years
    @run5k it's good to hear your feedback. What you said helped me to clean up my answer and the right way.
  • charlie arehart
    charlie arehart almost 6 years
    @moonstar2001 who asked "how do uninstall this" (referring to DavidPostill's recommended software here in this answer), note that there is a discussion elsewhere here on this page. Search for the phrase "Reverse the script changes from Deviant Art", or you can get to the specific answer it's within via this direct link superuser.com/a/1326501/335229.
  • DaaBoss
    DaaBoss almost 6 years
    @EeshwarDas Thanks for your informative post, covering or touching on the technical, ethical, and administrator issues. I'd like you to review, and possibly add to your answer, or link to the answer I gave, (which is in a separate SU post). I gave a more complete review and warning for using the download, since I also disassembled it. I also covered the legal and business issues. While this APPEARS to be a "duplicate question", it is NOT a "duplicate answer", considering my answer: superuser.com/questions/1207145/…
  • Eeshwar Das
    Eeshwar Das almost 6 years
    @DaaBoss Sounds good. I'd love to look at your answer later. I never decompiled the whole .exe file, but only looked at the accompanying script and looked at some of the changes made.
  • ShieldOfSalvation
    ShieldOfSalvation over 5 years
    This downloaded setup file worked for me on Windows 10 Home Version 10.0.17134 Build 17134. GPEDIT.MSC now runs on my PC! Beware the download link appears to shift on the page or intermittently gets overlaid with other images or pushed down away from view. I've also had it happen that the link won't work and leads to a page claiming there is no resource at the location requested, only to come back to the page later after a refresh and then it works successfully!
  • Warren  P
    Warren P over 4 years
    So why doesn't someone make a registry-easy-disable-winupdate tool? It could be four lines of powershell.
  • Funny Geeks
    Funny Geeks almost 4 years
  • Ryan Stone
    Ryan Stone over 3 years
    Hey What is the reference to DeviantArt in this Answer, Just Curious?
  • Ryan Stone
    Ryan Stone over 3 years
    @ShieldOfSalvation Sounds Shifty as f***, and definatetly sounds like Xss or Bodged Iframe manipulation/ code injection if the buttons moving around or Weird images are overlaid. I wouldn't trust that at all.. Specially not being from a verified source or vendor.. Why would that program even be uploaded to DeviantArt. Its an art website not a software one, I know you used to be able to Code basic stuff on there but still sounds Shifty.. Probably not up there anymore since the moved to Eclipse/Wix Anyway...
  • Eeshwar Das
    Eeshwar Das over 3 years
    @RyanStone DeviantArt had the binary but now they don't. I have personally moved away from repairing my purchased copy of Windows 10 using gpedit. Windows 10 is still very malfunctional for me but if I reduce the amount of applications I install then it is managable. Hopefully MIcrosoft fixes these huge issues in Windows 10!