To Reset “Local Group Policy” to Default in a Command Prompt at Boot
1)Open a command prompt at boot in Vista or Windows 7 or Windows 8.
2)In the command prompt, type diskpart, and press Enter. (see screenshot below step 7)
3)In the command prompt, type list volume, and press Enter. (see screenshot below step 7)
4. Make note of what your Windows OS drive letter is. It is not always C: at boot. (see screenshot below step 7)
Mine just happens to be D: at boot.
5)In the command prompt, type exit, and press Enter. (see screenshot below step 7)
6)In the command prompt, type the command below, and press Enter. (see screenshot below step 7)
Substitute D in the command below with your drive letter from step 4 instead.
1 |
RD /S /Q "D:\Windows\System32\GroupPolicy" |
7)In the command prompt, type the command below, and press Enter. (see screenshot below)
Substitute D in the command below with your drive letter from step 4 instead.
1 |
RD /S /Q "D:\Windows\System32\GroupPolicyUsers" |
8)Restart the computer back into Windows.
9)The Local Group Policy Editor has now been reset back to default.