Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · ReAgent.admx

ReAgent.admx: 1 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Allow restore of system to default state

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: Windows Server 2008 R2 and Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\SOFTWARE\Policies\Microsoft\Windows\WinRE
Value nameDisableSetup
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Requirements: Windows 7 Description: This policy setting controls whether users can access the options in Recovery (in Control Panel) to restore the computer to the original state or from a user-created system image.

If you enable or do not configure this policy setting, the items "Use a system image you created earlier to recover your computer" and "Reinstall Windows" (or "Return your computer to factory condition") appears on the "Advanced recovery methods" page of Recovery (in Control Panel) and will allow the user to restore the computer to the original state or from a user-created system image. This is the default setting.

If you disable this policy setting, the items "Use a system image you created earlier to recover your computer" and "Reinstall Windows" (or "Return your computer to factory condition") in Recovery (in Control Panel) will be unavailable. However, with this policy setting disabled, users can still restore the computer to the original state or from a user-created system image by restarting the computer and accessing the System Recovery Options menu, if it is available.

Group Policy path: Computer Configuration > Administrative Templates > System > Recovery > Allow restore of system to default state

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WinRE' -Name 'DisableSetup' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: ReAgent.admx · policy name ConfigureWinRESetup