Skip to content

This article will show you how to reset Local Group Policy Editor in Windows 7, 8 using Command Prompt, Batch File or a VBScript.

We have posted a few number of articles based on the modification of policies inside Local Group Policy Editor in the past. You can check them here. There may be certain scenarios when you have modified polices excessively and your system is messed up with them. Due to this, you can face various issues in the behavior of Windows like for example, missing Users tab from PC Settings. There are so many issues like this can be appeared.

If you have a bunch of important data on your Windows 8 and you want to avoid re-installation but still to fix the computer then you can do a reset of polices at once. Resetting policies is also rather better idea then going for resetting or refreshing Windows 8.

In this article, I’ll tell you the way to reset polices of Local Group Policy Editor at once. This will also only reset registry entries for policies that had been changed in the Local Group Policy Editor itself to default, and not those changed using a REG file, manually in Registry Editor, or any other means.

Reset Local Group Policy Editor Using Command Prompt

1. This can be done easily on a dual boot installation. From the Choose an operating system screen, pick Change defaults or choose other options.

2. Now pick Troubleshoot in the following screen:

3. In the Troubleshoot screen, pick Advanced Options:

4. Finally, from Advanced Options, choose Command Prompt:

5. Now you’re prompted to select and user to run Command Prompt along with password. So we are now on elevated Command Prompt.

To reset Local Group Policy Editor, type the following commands one by one:

  • diskpart
  • list volume (from it find out the default drive or label of it on which Windows is installed, its not C drive always)
  • exit
  • RD /S /Q “D:\Windows\System32\GroupPolicy” (assuming Windows is installed on D drive)
  • RD /S /Q “D:\Windows\System32\GroupPolicyUsers” (assuming Windows is installed on D drive)

That’s it. You have done reset.

Reset GPEDIT Using Batch File

To make your work simpler, we have created a batch (.bat) processing file, which you can download from following link and run it to reset Local Group Policy Editor:

Download Link

Reset GPEDIT Using VBScript

As an alternative to batch file provided above, you can use this VBScript to do the same job:

Download Link

Hope you find the article useful!


Facebook Google+ Twitter

11 Comments

  • why i don’t have a Local Group Policy in my Windows 8 ?

  • Kapil Arya

    ^^ Group Policy Editor is available in Pro and Enterprise editions :)

  • Thank you, I have been going around in circles trying to turn Windows Defender on with no luck until I downloaded your batch file and ran it now everything is working again.

  • Kapil Arya

    ^^ Glad we could help :)

  • The lines in the bat file differ from the instructions given.
    RD /S /Q “D:\Windows\System32\GroupPolicy\Users” in the instructions and
    RD /S /Q “D:\Windows\System32\GroupPolicyUsers” in the Bat file.

    Trying by hand, the /Users line didnt work so I came back for the BAT file.

    PJ

  • Kapil Arya

    ^^ You are correct 😊 post updated. Thanks for your efforts!

  • bat file contains command not listed in the instruction: gpupdate /force

  • does it work for windows 10 as well?

  • Kapil Arya

    ^^ It should.

  • Kapil,
    I came to your webpage here looking for a solution to the message on the Windows 10 Windows Insider Program screen, to the effect that the settings were managed by a Group Policy. I was not able to make any choices or changes to the branch of the Insider Preview I was on (I wanted to change to the “Skip Ahead” branch. I followed your very clear instructions here and now I am able to go from “Active Development of Windows” to the “Skip ahead to the next Windows release” branch. I have been trying to solve this problem for months, and even though you wrote this solution for Win8, I just wanted to say that it also works for Win10. THANK YOU!!!

  • Kapil Arya

    ^^ Glad it sorted your problem finally, thanks for your feedback 😎

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Recent Comments

    • Lucas : I get access is denied...

      19 hours ago

    • Tornado : Status type doesnt illuminate...

      2 days ago

    • E. Deepwaters : I am just glad to have some real straightforward information...

      2 days ago

    • Kapil Arya : ^^ After joining domain, try the above mentioned registry fi...

      2 days ago

    • Kapil Arya : ^^ Great! Thanks for sharing this 😎...

      2 days ago

    • Carmen : I can log in with a user into Win 10 ok. I cannot connect to...

      3 days ago