Win10 reset group policy editor method

  

In Windows 10 system, through group policy we can set the system's various software, computer and user policies. Recently, a user accidentally changed the settings in Group Policy incorrectly, causing many components in the system to be unusable. What should I do? At this time, resetting the Group Policy Editor is the best solution, so how do you do this?

First, restore the local security policy

for managing security policies with Group Policy Security Options Windows 10 uses a different management consoles & mdash; & mdash; secpol.msc (local Security Policy), the Security Settings snap-in extends Group Policy to allow individual users or domain administrators to manually configure and define computer security policies.

If you do not understand security management strategy for Windows 10, but also to manually change the settings of some of the mess, you can restore the local security policy through the following steps:

1 Open the Command Prompt (Administrator) using the Windows + X shortcut;

2. Execute the following command:

  1. 01
    secedit /configure /Cfg %windir%\\inf\\defltbase.inf /db defltbase.sdb /verbose

    Copy code secedit /configure /cfg %windir%\\inf\\defltbase.inf /db defltbase.sdb /verbose

    3. After the command is executed, you need to restart the computer to take effect. If some components still have strange problems, you can reset the Group Policy object by following the steps described below.

    Second, use the command line to reset the group policy object

    This method is special, we can directly delete the group policy configuration folder from the partition where Windows is installed, in order to achieve full reset Purpose:

    1. Open the Command Prompt (Administrator) using the Windows + X shortcut;

    2. Execute the following command:

    1. 01
      RD /S /Q "%WinDir%\\System32\\GroupPolicyUsers"
    2. 02
      RD /S /Q "%WinDir%\\System32\\GroupPolicy"
    3. 03
      gpupdate /force

      Copy code RD /S /Q "%WinDir%\\System32\\GroupPolicyUsers"RD /S /Q "%WinDir%\\System32\\ GroupPolicy"gpupdate /force

      3. Restart the computer after the command is executed.

      The above is the way to restore the Win10 local group policy to the default settings. Friends who need to reset the local group policy settings can refer to the above tutorial.

Copyright © Windows knowledge All Rights Reserved