How to reset local Group Policy settings to default on Windows 11 or 10
You may encounter a number of issues with your Local Group Policy Editor. I was trying to change group policy the other day and ran into the issue Error HRESULT E_FAIL has been returned from a call to a COM component. I tried some basic solutions but they didn't solve my problem. That's when I decided to reset my local group policy settings to their default values. Not surprisingly, this easily solved the problem. Most of the time Local Group Policy Editor will issue error messages when some policies are corrupted or important content is no longer found. In this case, a simple reset can solve the problem without causing a headache.
In other cases, you might have made so many Group Policy changes and gotten a little screwed up, and want to get it all back to where it once was. In this case, a quick reset is also your go-to answer.
In this article, we detail how to reset local Group Policy settings to their default values in one go using an elevated command prompt.
Note: Please note that if you have made some changes to the local Group Policy settings before, these changes will also disappear after the reset.
Reset Local Group Policy to Default
Step 1: First, click the Search icon on the taskbar.
Step 2: Now in the search bar, type cmd and click on in the command prompt Run as option as administrator to launch the command prompt in elevated mode.
Step 3: When the Command Prompt window starts opening, copy and paste the following command and press Enter key.
RD /S /Q "%WinDir%\System32\GroupPolicyUsers" && RD /S /Q "%WinDir%\System32\GroupPolicy"
Step 4: Next, copy and paste the following command and press Enter key.
gpupdate / 强制
Waiting for your policy update.
That's it. Once the update is complete, you will be able to see a message stating that the Computer Policy Update was completed successfully. User policy update completed successfully. Your Local Group Policy Editor is now brand new, just like it looked on day one!
This should resolve most of your Local Group Policy Editor issues.
The above is the detailed content of How to reset local Group Policy settings to default on Windows 11 or 10. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Windows 11 is capable of running a large number of file types with or without external third-party applications. Not only does it allow you to perform numerous tasks from the comfort of your PC, but it also ensures that you can take advantage of your PC's raw capabilities. Today, we'll take a look at a complex file type—jar—and tell you how to open it on your Windows 11 or Windows 10 PC. What is a jar file? jar is an archive package format that may or may not contain an executable Java program. These archives can contain Java applications or source code, which can then be used to compile and run applications without having to write separate code for each application. You can use various methods

What is a CAB file? The extension of CAB file is .cab, which is the abbreviation of WindowsCabinet file. This is a compressed file typically used to compress software installation packages such as device drivers or update files. CAB files support lossless compression, which makes the format ideal for compressing files where it is critical that the files can be extracted accurately, such as drivers and other updates. How to Install a CAB File on Windows 11 Using Command Prompt There are multiple ways to install a CAB file on Windows 11. One of the methods is to use command prompt to extract and install the files. You can also use the newer Windows PowerShell

Cheating has always been a big problem in online FPS games, even if Valorant didn't exist. It can ruin the gaming experience and reduce player interest in the game. Valorant has tried to overcome this shortcoming since its early days with its own RiotVanguard protection system. You need to restart the system after installing the game once. This is completely normal and the Vanguard system will start automatically. However, if you restart your system and still see "Your game requires a system restart to play. Please restart your computer." Leave a message on the home page? Many users have encountered this problem, so don’t worry. Follow these fixes for a quick solution. Fix 1 – Don’t quit Pioneer after restarting your computer

Windows does a great job of allocating system resources to the processes and programs that need it most by assigning priorities to them. Most applications you install will run perfectly fine at the default "normal" priority level. Sometimes, however, you may need to run a program, such as a game, at a higher level than the default normal level to improve its performance. But this comes at a cost, and it's a deal worth pondering. What happens when you set an app to high priority? Windows has a total of six priority levels for running different processes and programs - low, below normal, normal, above normal, high and real-time. Windows will rank and queue applications based on their priority. The higher the priority, the application

Here are some possible reasons why you need to disable Microsoft Store: Stop unwanted notifications. Preserves data by limiting the background processes of the Microsoft Store to improve security or privacy Addresses some issues related to the Store or the apps it installs. Restrict children, family members, or other users from downloading applications without permission. Steps to Disable or Enable Windows Store Before following this tutorial, disabling the Microsoft Store will also stop the installation of any apps that require its services. To use the store, users need to enable its service in the same way as blocking it. 1. Block WindowsStore background service Let us from restricting Microsoft Store as

What is the System32 folder? System32 is one of the main folders used by Windows. During Windows installation, all necessary files and folders that are critical for the proper functioning of Windows are copied to this folder. These include important system files, related executable files used by Windows utilities, dynamic link libraries (DLLs), and even some software files are copied to this folder. However, don't be fooled by the name System32. This is true for both 32-bit and 64-bit computers. In a 64-bit machine, the System32 folder hosts the 64-bit files, while the 32-bit files are located in

Many of our readers have reported the 0xC004C020 error when trying to connect their computers to their organization's servers. This error prevents activation of its Windows operating system. While errors can be frustrating, we'll guide you through error 0xC004C020 when trying to activate Windows on an organization-linked computer. What causes error 0xC004C020? If you are trying to activate Windows on an organization-linked computer and encounter error 0xC004C020, the possible causes may be as follows: Non-MAK keys – If a non-MAK key is used on an organization-linked computer, the organization’s policies will It is not allowed to be activated. Key access lost after formatting

Location services are an important feature for some applications on Windows, depending on the location of your system. So if you see the Location Services option grayed out on your system, you can't even toggle it manually. Usually, some system glitch causes this issue and you can easily fix it by following these simple solutions. Fix 1 – Adjust the registry You can adjust the registry to fix this greyed out location services issue. 1. Press the Win key and type "Registry". 2. Then, click "Registry Editor" to open the Registry Editor on your system. 3. You will delete a specific registry subdirectory. Usually, it won't affect your system at all. However, it is recommended that you perform a system backup. one. After opening the Registry Editor, click