You changed a few settings in the Local Group Policy Editor a while ago, and now something doesn’t work: Windows Update won’t install, the lock screen is gone, or Settings says “Some settings are managed by your organization” on a PC that has no organization. Or you inherited a PC and want it back to how Windows ships.
This guide shows how to reset one policy or all of them, how to check that they’re really gone, and what a reset doesn’t touch. I tested every step on Windows 11 Pro and Home 26H2 in November 2026; the same commands work on Windows 10.
Before you start: what “reset” covers
“Group Policy” on a home or small-office PC means several different stores, and each one resets differently. This table is the short version of everything below:
| What was changed | Example | Does the folder reset remove it? | How to reset it |
|---|---|---|---|
| Administrative Templates, computer side (gpedit.msc) | Turn off automatic updates | Yes | Reset all |
| Administrative Templates, user side (gpedit.msc) | Prevent access to the command prompt | Yes | Reset all |
| Security settings (secpol.msc) | Minimum password length, account lockout | No | secedit |
| Values written straight into the registry | A .reg file, a privacy or “debloat” tool | No | Remove the values |
| Work or school account (MDM, Intune) | Company update rules | No | Disconnect the account |
| Domain Group Policy | Anything your IT department set | Comes back at the next refresh | Domain PCs |
On Windows 11 Home there is no Local Group Policy Editor and Home doesn’t apply Group Policy files, so only the registry row applies. See the Home section.
See which policies are set
Look first. Then you know what you’re about to remove, and you can check afterwards that it’s gone.
With gpresult (all editions, including Home)
Open Command Prompt as administrator and run:
gpresult /rIt lists the policy objects that applied to the computer and to you. On a PC with local policies you’ll see Local Group Policy under “Applied Group Policy Objects”. If you also see Local Group Policy\Administrators (or Non-Administrators, or a user name), someone created a policy layer for that group or user, and it lives in a different folder (see why both folders).
For a full list of every setting, write a report and open it in your browser:
gpresult /h "%USERPROFILE%\Desktop\gp-report.html"
The report lists each configured setting under Computer Details and User Details, with the policy object it came from in the Winning GPO column. I’ve written more about reading these reports in my Group Policy report guide.
With the Local Group Policy Editor (Pro, Enterprise, Education)
- Press Win + R, type
gpedit.mscand press Enter. - Go to Computer Configuration > Administrative Templates > All Settings.
- Click the State column header. Every Enabled and Disabled setting moves to the top of the list.
- Do the same under User Configuration > Administrative Templates > All Settings.

If you only remember part of a policy’s name, my guide to searching in gpedit shows the filter options.
For Windows Update: the Settings page that shows the source
Open Settings > Windows Update > Advanced options > Configured update policies. Windows lists every update policy in force and its type, Group Policy or Mobile Device Management (Microsoft). If you see “Your organization manages updates on this PC”, this page tells you which of the two caused it.

In my test, one policy (“Configure Automatic Updates” set to disable updates) showed up as two entries. The second, “Get updates for other Microsoft products”, was switched off as a side effect, and its toggle on the Advanced options page was greyed out with “This setting isn’t available due to your organization’s policy”.
Back up first (30 seconds)
A reset also removes the settings you made on purpose. Copying the current state first means you can undo the reset. In Command Prompt as administrator:
mkdir C:\GPBackup
xcopy "%WinDir%\System32\GroupPolicy" C:\GPBackup\GroupPolicy\ /E /H /I /Y
xcopy "%WinDir%\System32\GroupPolicyUsers" C:\GPBackup\GroupPolicyUsers\ /E /H /I /Y
secedit /export /cfg C:\GPBackup\security.inf
reg export HKLM\SOFTWARE\Policies C:\GPBackup\hklm-policies.reg /y
reg export HKCU\SOFTWARE\Policies C:\GPBackup\hkcu-policies.reg /yIf one of the folders doesn’t exist, xcopy says so and carries on. That just means nothing was set there.
To undo the reset, in Command Prompt as administrator:
xcopy C:\GPBackup\GroupPolicy "%WinDir%\System32\GroupPolicy\" /E /H /I /Y
xcopy C:\GPBackup\GroupPolicyUsers "%WinDir%\System32\GroupPolicyUsers\" /E /H /I /Y
gpupdate /force
secedit /configure /db %TEMP%\restore.sdb /cfg C:\GPBackup\security.infI tested the round trip: after a full reset and a security reset, these four lines brought back all 10 policies, the Administrators-only policy, and the original password and lockout values. Double-click a .reg file from the backup if you also need registry values back.
secedit /export doesn’t capture every security setting (Microsoft’s own LGPO author notes it skips some, such as empty user rights), so treat it as a safety net, not a full image. For a proper backup you can move to another PC, see my guide to exporting and importing Group Policy.
Reset one policy
If you know which setting caused the problem, reset just that one:
- Open
gpedit.mscand find the setting, for example with All Settings sorted by State as above. - Double-click it, select Not Configured and click OK.
- Run
gpupdate /forcein Command Prompt, or restart.
Not Configured is the default. Disabled is not the same thing: it’s an active setting that tells Windows to turn the feature off, and it can cause the same “managed by your organization” message as Enabled.
Reset all Local Group Policy settings
Local Group Policy keeps its settings in two hidden folders:
C:\Windows\System32\GroupPolicyholds the computer and user settings for everyone (Registry.pol files and gpt.ini).C:\Windows\System32\GroupPolicyUsersholds the extra layers for Administrators, Non-Administrators and individual users, if anyone created them.
Deleting both folders and refreshing policy returns every Administrative Templates setting to Not Configured. Delete both: when I deleted only GroupPolicy, a policy I had set for the Administrators group stayed in force.
Command Prompt
Open Command Prompt as administrator (search for cmd, right-click, Run as administrator) and run:
RD /S /Q "%WinDir%\System32\GroupPolicyUsers"
RD /S /Q "%WinDir%\System32\GroupPolicy"
gpupdate /forceIf a folder doesn’t exist, RD says “The system cannot find the file specified.” That’s harmless: there was nothing to delete.

PowerShell or Windows Terminal
The RD lines above don’t work in PowerShell, which is what Windows Terminal opens by default. There RD is a short name for Remove-Item, so you get “A positional parameter cannot be found that accepts argument ‘/Q'” and nothing is deleted. Use this instead, in Terminal (Admin) or PowerShell as administrator:
Remove-Item "$env:WinDir\System32\GroupPolicyUsers", "$env:WinDir\System32\GroupPolicy" -Recurse -Force -ErrorAction SilentlyContinue
gpupdate /forceWait for “Computer Policy update has completed successfully” and “User Policy update has completed successfully”. I ran this line on the same test PC; it removed everything the Command Prompt version did.
What happened when I ran it
On Windows 11 Pro 26H2 I saved 10 policies through the same interface gpedit uses: 7 on the computer side (automatic updates, restarts, OneDrive, widgets, lock screen, diagnostic data, consumer features) and 3 on the user side (command prompt, search box suggestions, the Run command). I also added one policy for the Administrators group only, wrote one value straight into the Policies key, the way a tweak tool does, and set two security policies.
| After saving the policies | After the reset and gpupdate /force | After a restart | |
|---|---|---|---|
| Policies saved through gpedit (7 computer, 3 user) | 10 of 10 in the registry | 0 of 10 | 0 of 10 |
| Policy for the Administrators group only | applied | gone (still applied if you delete only GroupPolicy) | gone |
| Value written straight to the registry | present | still present | still present |
| Minimum password length / lockout threshold | 12 / 5 | 12 / 5 (unchanged) | 12 / 5 |
All 10 values left the registry the moment gpupdate /force finished, before any restart. The reset even removed a lock-screen policy left over from an earlier test, whose files were already gone. Windows keeps a record of the values policy applied, and removes them when the policy no longer exists.
The value I wrote directly survived the reset and two restarts. Windows never recorded it as a policy, so it has nothing to remove. That’s the single most common reason a reset “doesn’t work”, and the Home section shows how to find those values.
Close and reopen Settings if it was open during the reset. The open Settings window kept listing both update policies after they were gone; a fresh window showed “No policies have been configured yet.” and the diagnostics page no longer said “managed by your organization”.

Restart once anyway. Some apps only read their policy when they start, and a few policy types are only processed at sign-in or startup (Microsoft).
Reset security policy (secpol.msc) settings
Password, lockout, audit and user-rights settings live in a separate security database, not in the GroupPolicy folders. My password and lockout settings were exactly the same after the folder reset.
The usual fix is to re-apply Windows’ default security template. Microsoft says this isn’t supported on Windows Vista and later: the template “is no longer capable of resetting all security defaults” and can make the system unstable (KB 313222, now retired). Use it only if you can’t change the settings back one by one, and back up first.
In Command Prompt as administrator:
cd /d %TEMP%
secedit /configure /cfg %WinDir%\inf\defltbase.inf /db defltbase.sdb /verboseWhat I saw on Windows 11 Pro 26H2:
- It ended with “The task has completed. Warnings occurred for some attributes during this operation. It’s okay to ignore the warning.” The log (
C:\Windows\security\logs\scesrv.log) had 15 errors, all about services that no longer exist in Windows 11, such as NetDDE and ClipSrv. - Minimum password length went from 12 back to 0, and the account lockout threshold from 5 to 10. 10 is the Windows 11 default, so don’t be surprised that it isn’t 0.
- The same command worked on Windows 11 Home.
The safer route is to change the one setting back. In secpol.msc go to Account Policies or Local Policies and set the value to its default. For password and lockout rules, net accounts works on every edition, for example net accounts /minpwlen:0 /lockoutthreshold:10. If secpol.msc is missing, see how to open Local Security Policy.
To undo: secedit /configure /db %TEMP%\restore.sdb /cfg C:\GPBackup\security.inf with the file from your backup.
Windows 11 Home, and policies written straight to the registry
Windows 11 Home has no gpedit.msc, secpol.msc or rsop.msc, and in my tests it never applies Group Policy files, even when they exist (see my gpedit on Home tests). So on Home, every “policy” is a registry value that something wrote directly: Policy Plus, a .reg file, a privacy tool or a script. Deleting the GroupPolicy folders changes nothing.
The same values cause leftover policies on Pro. To reset them, find them and remove them one by one.
1. List what’s there. In Command Prompt as administrator:
reg query HKLM\SOFTWARE\Policies /s
reg query HKCU\SOFTWARE\Policies /s
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies /s
reg query HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies /sA clean install already has some keys here, many of them empty. Look for values you recognise, such as NoAutoUpdate under WindowsUpdate\AU or AllowTelemetry under DataCollection.
2. Back up with the two reg export lines from Back up first.
3. Delete only the values you want gone, for example:
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /fThen restart.
**Don’t delete the whole Policies or Policies\Microsoft key**, as some guides suggest. Policies for Edge, Defender, OneDrive and other apps live under the same keys, including ones that Windows or your antivirus put there, and you’d remove them all without knowing what they did.
If you set the values with Policy Plus, you can also open it and set each policy back to Not Configured. If a tweak tool made the changes, use its own undo or restore option first, if it has one.
Settings still says managed by your organization?
Work through this list after the reset. Each item is a separate cause, and the folder reset fixes none of them:
- Leftover registry values. Run the
reg querylines above and remove what you don’t want. This was the cause in my test. - Windows Update. Check Settings > Windows Update > Advanced options > Configured update policies. Anything still listed there is still set; its type tells you whether it’s Group Policy (registry) or Mobile Device Management.
- Diagnostic data. A diagnostic data policy alone makes Settings show “Some of these settings are managed by your organization” (Microsoft). In my test, Privacy & security > Diagnostics & feedback also said “Your organization prevents sending diagnostic data to Microsoft”. Look for an
AllowTelemetryvalue in theDataCollectionkey underHKLM\SOFTWARE\Policies\Microsoft\Windows.

- A work or school account. Go to Settings > Accounts > Access work or school. If an account there says it’s connected to an organization’s MDM, its policies come from that organization, not from Group Policy. On your own PC, select it and click Disconnect. On a PC your employer or school owns, ask them first.
- Edge or Chrome. Browsers have their own policy keys (
HKLM\SOFTWARE\Policies\Microsoft\Edge,...\Google\Chrome). Openedge://policyorchrome://policyto see what’s set and where it comes from. A single policy is enough to show “Your browser is managed by your organization”. - Apps that set policies. Some VPN, parental-control, antivirus and privacy apps write policies while they’re installed and put them back if you delete them. Change the setting in the app, or uninstall it.
Domain and work PCs
On a PC joined to a domain, the folder reset only clears local policy. Domain policies come from your organization’s servers and return at the next refresh, about every 90 minutes, or at the next restart. To change them, the administrator edits the domain policy in the Group Policy Management Console.
If a PC has left a domain or school and old policies are still in force, run the folder reset above, then check the registry values and the Access work or school page from the previous section. Policies from Intune or another MDM service are stored separately and aren’t touched by the reset.
If the reset didn’t work
- “Access is denied”: Command Prompt or PowerShell isn’t running as administrator.
- gpupdate shows errors or says it couldn’t apply policy: see how to fix gpupdate /force errors. A damaged
Registry.polfile stops all registry policy from applying and logs Event ID 1096 in the System log (Microsoft). Deleting the folders removes that file too. - “The command prompt has been disabled by your administrator”: the “Prevent access to the command prompt” policy is on. In my test it blocked cmd but not PowerShell, so use the PowerShell commands instead.

- Task Manager or the Run box is disabled too: start the PC in Safe Mode, or sign in with another administrator account, and run the commands there.
- The setting still looks the same: check the registry values and the checklist in Settings still says managed by your organization?, then restart.
How I tested this
I used two Hyper-V virtual machines: Windows 11 Pro 26H2 (build 26300.9974, with the November 2026 update) and Windows 11 Home 26H2 (build 26300.9457), both from Microsoft’s ISOs, on 29 November 2026.
- Policies: a script saved 10 Administrative Templates policies through IGroupPolicyObject, the interface gpedit.msc uses, so they were written to the same Registry.pol and gpt.ini files gpedit writes. I checked each registry value, the policy files and
net accountsbefore and after every step. - Group layer: one policy in the Administrators layer (
GroupPolicyUsers\S-1-5-32-544), checked with gpresult, then with each folder deleted separately. - Backup and undo: the backup block and the undo lines exactly as printed above, after a full reset and a security reset.
- Commands: the reset in Command Prompt and in PowerShell, plus the Command Prompt lines run inside PowerShell to capture the error.
- Direct values: two values written straight into
HKLM\SOFTWARE\Policieswithout Group Policy, checked through two graceful restarts. (One value disappeared once after a forced power-off a minute after it was written, before Windows had saved it to disk. Repeating with normal restarts, it always stayed.) - Security: minimum password length and lockout threshold set with
net accounts, then the folder reset, thenseceditwith defltbase.inf. - Home: checked which tools exist (gpresult and secedit do; gpedit, rsop and secpol don’t) and ran the secedit reset.
- Limits: no domain and no Intune in these tests; the domain and MDM sections rely on Microsoft’s documentation. I tested Windows 11 only; Windows 10 uses the same folders and commands.
FAQ
Does resetting Group Policy delete my files or apps? No. It removes policy files and the registry values they set. Your files, apps and normal Windows settings stay.
Do I need to restart after resetting Group Policy? In my test every policy was gone right after gpupdate /force. Restart once anyway, because some apps only read their policies when they start.
Does it reset Windows Update settings? It removes update policies set with gpedit, such as “Configure Automatic Updates”. It doesn’t change the normal options in Settings, and it doesn’t remove update policies from MDM or written directly into the registry. Check Configured update policies afterwards.
Is it safe to delete the GroupPolicy folder? Yes. Windows creates it again the next time you change a policy. The only loss is the settings you made on purpose, which is why the backup step is there. The secedit reset for security settings is the riskier one.
Does gpupdate /force reset Group Policy? No. It re-applies the policies that are set. It only acts as a reset after you’ve deleted the policy folders, because then there’s nothing left to apply.
How do I reset Group Policy for one user only? If you created policies for specific users or for Administrators / Non-Administrators, they live in subfolders of C:\Windows\System32\GroupPolicyUsers, one per user or group (named by its SID, for example S-1-5-32-544 for Administrators). Delete that subfolder and run gpupdate /force. Policies under User Configuration in plain gpedit.msc apply to every user, so reset those in gpedit or with the full reset. In my test, gpresult /r named the layer (“Local Group Policy\Administrators”), which tells you which subfolder to delete.
Will a reset undo changes made by privacy or debloat tools? Usually not. Most of them write straight into the registry, and the reset only removes what Group Policy applied. Use the tool’s own undo, or remove the values as shown in the Home section.
If a policy is still in force after these steps, tell me in the comments which setting it is and what gpresult /r shows, and I’ll look into it.






![How To Create a Multiboot USB Drive Using Ventoy [2026] 11 How To Create a Multiboot USB Drive Using Ventoy [2026] 4](https://www.itechtics.com/wp-content/uploads/2020/08/Multiboot-USB-Ventoy.jpg)