41
12
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?
41
12
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?
32
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.
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 7-Zip.
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.
Run the installer and leave it at the last step (do not click on the "Finish" button).
Now go to
C:\Windows\Temp\gpedit\
folder.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.
You'll find a total of 6 lines containing the following string in the file:
%username%:f
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
Save and run the file (right-click -> Run as Administrator).
That's it. You'll have working gpedit.msc.
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.
...
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:
- 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.
- Reboot Required: A “Yes” in this column means that the Windows operating systems requires a restart before it applies the described policy setting.
- 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.
- 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
18deviantart is a wierd place to get it from. It also probably uses an exe from windows professional. gpedit not being installed is on purpose. – Journeyman Geek – 2015-12-26T11:22:57.397
@JourneymanGeek I know, but it is useful to have it installed ;) – DavidPostill – 2015-12-26T11:23:43.890
4The problem is that you are not obtaining the Group Policy Editor from Microsoft, as well as that it could possibly be altered. – Tamara Wijsman – 2017-01-19T18:17:22.380
@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. – Run5k – 2017-01-19T18:30:17.283
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 – Tamara Wijsman – 2017-01-20T01:08:43.263
I do not have gpedit.msc in WOW64. I have a gpedit.dll and I am stuck. Any suggestions please? – moonstar – 2017-02-22T18:16:42.280
@moonstar2001 Sorry, no idea. I did all this 2 years ago and just followed the instructions and it worked. – DavidPostill – 2017-02-22T18:36:16.893
OK Thanks. How do I uninstall this? – moonstar – 2017-02-22T18:47:40.963
@moonstar2001 Sorry, no idea. – DavidPostill – 2017-02-22T18:48:28.960
1--- 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. – Mike M – 2017-06-02T08:44:36.343
@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 https://superuser.com/a/1326501/335229.
– charlie arehart – 2018-06-28T08:13:19.067This 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! – ShieldOfSalvation – 2019-01-28T17:37:39.477
20
Windows (at least Windows 10 home) comes with Group Policy Editor packages, but it is disabled by default. You can install it just like any other optional feature using dism.
The Group Policy package files can be found in
%SystemRoot%\servicing\Packages
With filenames matching
Microsoft-Windows-GroupPolicy-ClientExtensions-Package*.mum
Microsoft-Windows-GroupPolicy-ClientTools-Package*.mum
And command for installing would follow the following format:
dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\{{PackageFileName}}"
/online
used to tell it to apply to the running OS
/norestart
tells it to not auto reboot
After installing these gpedit.msc will be available. No need to download an external executable that you have to trust or find out if it is safe or not.
Both of those are language packs....installing then doesn't enable group editor on Windows 10 Home – Ramhound – 2017-07-14T20:32:04.780
Well Group Policy Editor was enabled on my machine (from a clean install) after doing this and nothing else. Used on earlier version (104** or something like that) and latest update.(1703, 15063). So if they are just language packs, then installing them forced gpedit to be enabled. Either way it is how I got it working on the Home versions I used. – Patrick Evans – 2017-07-15T01:24:52.610
So does this work or not? I don't have a home edition to try it with. – Pimp Juice IT – 2017-09-23T05:52:04.720
@Facebook ,yes from a clean install and doing nothing else but installing the files mentioned it worked for me to get gedit working. – Patrick Evans – 2017-09-23T12:11:35.593
@Ramhound To my surprise, this did work - 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! – Ben N – 2017-09-28T00:46:37.810
7Here is for those impatient for /f "tokens=*" %G IN ('dir /b "%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-Client*.mum"') do (dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%G")
– mlt – 2018-03-10T04:33:56.117
2Works for win10 Home – deerchao – 2018-08-27T04:25:39.823
1After installing the packages, if you look at the DISM log, you will see that a reboot was required, but was suppressed with /norestart
. For me, gpedit.msc
did not appear under c:\windows\system32
until after I rebooted. – James L. – 2019-07-12T19:50:58.340
I think you should submit an edit for that. I just did. – Warren P – 2019-09-30T16:50:15.490
7
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.
So why doesn't someone make a registry-easy-disable-winupdate tool? It could be four lines of powershell. – Warren P – 2019-09-30T16:48:13.683
4
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.
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
.
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.
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.*
2How is this better than accepted answer? – Toto – 2018-05-28T07:58:32.033
1@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. – Scott – 2018-05-28T09:03:21.727
1This 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! – Ben N – 2018-05-28T16:45:46.157
1But 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. – Run5k – 2018-05-28T19:23:44.063
@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 – 2018-05-29T11:15:02.167
@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 – 2018-05-29T11:22:50.250
@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. – Eeshwar Das – 2018-05-29T11:52:10.753
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. – Run5k – 2018-05-29T12:22:15.580
@run5k it's good to hear your feedback. What you said helped me to clean up my answer and the right way. – Eeshwar Das – 2018-06-02T20:45:35.277
@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: https://superuser.com/questions/1207145/how-to-access-local-group-policy-editor-gpedit-msc-in-windows10-home
– DaaBoss – 2018-06-29T16:19:37.493@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. – Eeshwar Das – 2018-06-29T18:38:23.017
1
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
1I had been under the impression that gpedit was missing because these editions lack the group policy infrastructure to do anything with group policy registry entries. This Q&A suggests that isn't the case; that as long as you create the entries, either manually or via gpedit, those policies will be implemented. Is that correct? – fixer1234 – 2016-05-15T03:47:40.447
@fixer1234 For things I've done with it yes. Mostly enabling event logging for different things. – DavidPostill – 2016-05-15T06:48:52.137
1
I should have done more research. It looks like group policy is basically just a collection of settings (no supplementary infrastructure). A reference guide is available from Microsoft in spreadsheet form. That and other information available from here.
– fixer1234 – 2016-05-15T08:01:16.6001@fixer1234 That's a very useful link! I will add to my answer. Thanks. – DavidPostill – 2016-05-15T08:03:21.647