How to Reset Group Policy Settings to Default

How to Reset Group Policy Settings to Default

Last updated on April 17th, 2023 at 12:59 am

Read Time:1 Minute, 10 Second

I recently came across an issue that I had to diagnose where I needed to reset a device’s Group Policy settings. It wasn’t the easiest thing to find how to do, so I thought I would document it here in full step-by-step dummies guide method in case I need it in the future again.

Group Policy Settings

Here are the correct steps to reset Group Policy settings to default:

Open the Command Prompt as an administrator.

Type the following command and press Enter:

"RD /S /Q "%WinDir%\System32\GroupPolicy"

Type the following command and press Enter:

"RD /S /Q "%WinDir%\System32\GroupPolicyUsers"

Type the following command and press Enter:

"gpupdate /force"

These steps will remove any custom Group Policy settings and restore the default settings. Please note that resetting Group Policy settings to default may affect system behavior and security, so proceed with caution and make sure you have a backup before proceeding.

Local Group Policy Settings

These commands will reset all local group policy settings in the Computer Configuration and User Configuration sections.

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

Then reboot the device. When it comes back up again, run the following command:

ren %windir%\security\database\edb.chk edb_old.chk

Then run this command and press Enter:

Gpupdate /Force

Reboot the device again and you should be clear of all local policies set.

Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 23 years. Sharing experience and knowledge whenever possible! Making IT Happen.
Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 555 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.