If you made many Group Policy changes, you can revert the settings to their defaults quickly. In this guide, we show you how to complete the task on Windows 10.
Although, on Windows 10, you can customize most of the experience with the Settings app (and the legacy Control Panel), when it comes to changing advanced system configurations, you usually switch to the Local Group Policy Editor (gpedit.msc). The reason is that the Local Group Policy Editor is a console that makes available virtually all the settings (such as personalization, system, and networking) you can configure on Windows 10 in a single interface.
The only caveat to using the console is that over time you can end up enabling and disabling too many policies or editing the wrong settings, which can cause unwanted system behaviors. And unless you remember the objects you modified, it can be difficult to undo the changes. However, it's possible to reset all the Local Group Policy objects to revert the settings quickly to their original default values using the Editor or Command Prompt.
In this Windows 10 guide, we walk you through the steps to quickly reset Group Policy Objects (GPOs) that you may have configured using the Local Group Policy Editor console to their default values.
- How to reset all Local Group Policy settings using Local Group Policy Editor
- How to reset all Local Group Policy settings using Command Prompt
How to reset all Local Group Policy settings using Local Group Policy Editor
If you've been changing settings for a long time, you probably didn't notice that the default state of each policy is "Not configured." This means you can quickly sort the policies to identify the ones that have been modified so that you can reset their values to the original defaults. You'll need to perform this task for the "Administrative Templates" in the "Computer Configuration" and "User Configuration" sections.
Reset Computer Configuration settings
To reset the Computer Configuration settings, use these steps:
- Open Start.
- Search for gpedit.msc and click the top result to open the Local Group Policy Editor console.
-
Navigate to the following path:
Computer Configuration > Administrative Templates > All Settings
-
Click the State column header to sort settings and view the ones that are Enabled and Disabled.
- Double-click one of the policies that you previously modified.
-
Select the Not configured option.
- Click the Apply button.
- Click the OK button.
Once you complete these steps, you may need to repeat the steps No. 5 through No. 8 to reset any remaining policy.
Reset User Configuration settings
To reset the User Configuration settings, use these steps:
- Open Start.
- Search for gpedit.msc and click the top result to open the Local Group Policy console.
-
Navigate to the following path:
User Configuration > Administrative Templates > All Settings
-
Click the State column header to sort settings and view the ones that are Enabled and Disabled.
- Double-click one of the policies that you previously modified.
-
Select the Not configured option.
- Click the Apply button.
- Click the OK button.
After you complete the steps, repeat steps No. 5 through No. 8 to clear any other policy you have configured.
How to reset all Local Group Policy settings using Command Prompt
If the device has many modified settings, you can quickly reset all the Group Policy Objects to their defaults with Command Prompt.
To reset the Group Policy settings with a command line, use these steps:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to reset all the Group Policy settings and press Enter:
RD /S /Q "%WinDir%\System32\GroupPolicyUsers" && RD /S /Q "%WinDir%\System32\GroupPolicy"
-
Type the following command to update the changes in the Local Group Policy console and press Enter:
gpupdate /force
- (Optional) Restart your computer.
Once you complete the steps, the command will delete the folders that store the Group Policy settings on your device, and then Windows 10 will reapply their default values.
This guide focuses on resetting the settings for the Local Group Policy editor. If you're using a computer joined to an Active Directory network, only your network administrator can control these settings. These instructions are also not meant to reset the objects under the "Windows Security" (Local Security Policy) section since they are stored in a different location.
The ability to reset the policy settings has been around for a long time, which means you can use the same instructions on Windows 7 and Windows 8.1.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:
0 comments:
Post a Comment