In this tutorial I will be showing you how to use CMD to reset all Local Group Policy settings. Once a computer is removed from a domain it may have 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"
4. Type the following command to update the changes in the Local Group Policy console and press Enter:
5. To be on the safe side go ahead and reboot the computer. You should be good to go.