How to clear or remove domain-applied group policy settings after leaving the domain

group-policy

It is a win7 ultimate x64 machine. The machine was in a domain where it got those group policy settings. Now it has left the domain but it still receives the settings from the group policy. For example, the power options. I set a certain power option but soon it will be reset to another power option which is endorsed by the domain.

Is there a way to remove the settings?

Best Answer

Open Regedit.

Backup your registry.

Delete the "HKLM\Software\Policies\Microsoft" Key (looks like a folder).

Delete the "HKCU\Software\Policies\Microsoft" Key

Delete the "HKCU\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects" Key.

Delete the "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" Key.

Exit the registry and restart.

Note: HKLM = HKEY_LOCAL_MACHINE & HKCU = HKEY_CURRENT_USER

Note 2: The registry is and can be a dangerous place.

Related Question