Categories: Errors FIXEDWindows Tutorials

GPEDIT.MSC Snap-in creation failed / Snap-in failed to Initialize : FIXED

As discussed in my earlier post that Microsoft has included this Group Policy Editor feature in only limited Windows 7 and Windows 8 OS Versions that includes Professional, Enterprise and Ultimate editions which means that if you are using the basic or home based Windows Versions then you will not be able to access Group Policy editor unless you manually install it via GPEDIT MSC Installer as discussed in my earlier post but some users were found reporting problems after installing Group Policy Editor in their Windows while running GPEDIT.MSC Command in RUN box they ended up facing “Snap-In creation failed The snap-in was not created, it may not be installed properly” or “Snap-in could not initialize” therefore here I have included a simple procedure by which you can easily fix this error.

Also to note that this below given method will work for anyone facing this kind of error no matter whether you have installed manually Group Policy editor in your windows or got it pre-installed but facing problem now onwards.Just check out this article to fix GPEDIT.MSC Snap-in creation failed error permanently.

How to Fix GPEDIT.MSC Snap-in Creation failed error – Best Ways

Method 1 – Fix it by Editing PATH Environment Variable

There are some cases in which some programs uninstall can lead you into this error by removing necessary pathing in the environment variable section of the system so what you need to do now is that you have to create and add those environment variables manually so just follow the below given steps.

  • Go to My Computer -> Right Click on My Computer -> Select Properties and then Select Advanced Settings as shown below.

  • Now Under the Advanced tab you will see a small option for Environment Variables Just Click on it.
  • Under System Variables Double Click the Variable Path and Add the Following lines


Note – The Last one Wbem is the one that maybe missing so make sure that it is added in the PATH Variable

Warning – Also if other System variables appear in PATH don’t remove them just add these above one only.

  • That’s it click on Ok and you are all done.

Method 2 – Only for those Facing after Installing GPEDIT Installer

If you are getting error something like “MMC could not create the snap-in” while running GPEDIT.MSC Command after installing the Group Policy editor in your Windows OS Versions after following the guide given here then you may proceed with the following steps to fix this issue.

  • Run the GPEDIT.MSC Installer and Leave it at the last step (Do no finish the setup)
  • Go to C:\Windows\Temp\gpedit\ folder
  • There Right Click on x86.bat (For 32bit Windows Users) or x64.bat (For 64bit Windows Users) and Open it with Notepad
  • There in the notepad file you will find a total of 6 string lines containing the following


  • So edit those lines and REPLACE %username%:f with “%username%”:f
  • Save the File and Run the .bat file by Right Click -> Run As Administrator
  • That’s it and you are all done.

By at .

Pankaj Kumar

Pankaj Kumar is a Content Marketing Professional and SEO Expert @Rushinformation where he has written and published over 700+ Unique SEO Optimized articles comprising of latest Technology News, Windows and Android Tutorials, Debugging Error codes and much more. He studied and graduated with Bachelors degree in Engineering (Electronics and Communications) from one of the Top Universities (Guru Gobind Singh Indraprastha University, New Delhi) in India. Apart from being a part time Blogger and SEO Expert currently he is working Full Time with one of the leading IT company in the World as a Software Engineer. With encouragement from friends and support of family, Pankaj Kumar started Rushinformation with an aim of providing and resolving Windows and Smartphone User common issues. In his free time, Pankaj loves to watch Movies, Read Novels and listen to Music ( Will prefer to sail with my Girlfriend though later on :) Grateful for being with an amazing Group of College Buddies, Family friends and some special motivating colleagues, Pankaj makes sure that everyone is welcomed with an open heart filled with Joy :)

Recent Posts

Best Gaming Laptops To Look Out in 2018: Best Buy Deals

As the technology is progressing so as the gaming section with high power and high graphics, these things require hardware…

4 months ago

Top Trending IT Jobs In India 2018 | Hot Trends in IT Jobs

In today’s world, everyone wants to have a job that can satisfy one’s need. No one is born with the…

4 months ago

What is AMCAT | AMCAT Registration Process | All about AMCAT Test

Looking for a suitable job can sometimes to really tricky. You can’t just go from company to company in search…

4 months ago

WordPress shows HTTP Error when uploading images

Adding images to your WordPress website post is essential as it improves the overall aesthetic of the post and also…

5 months ago

Are you Struggling while Playing Call of Duty WW2 on your PC/Xbox/PS4?

Obligation at hand WWII rethinks the amazing background of World War II for another gaming knowledge. Experience great Call of…

5 months ago

Best 4G Phones Under 10000 March 2018 : Best Buy Deals

4G is by all accounts the overhaul of the year and we trust the vast majority of you have just…

5 months ago