HomeNewsletterCommunityMVP FeedToolsArchiveBlogToday's NewsAboutServicesQuick Links Subscribe free
← Back to Blog
Windows 11 Windows 11Reset this PCPush-button resetWinRERecoveryComponent StoreIntuneRemoteWipe CSPMicrosoft GraphPowerShell

Reset this PC: cloud download versus local reinstall, and why the local one keeps failing

IA
Imran Awan
21 August 2026

Reset this PC is the button everyone reaches for when a Windows device has gone strange in a way nobody can explain. It looks like one button. It is actually two completely different operations wearing the same label, and the faster of the two is the one most likely to fail on the exact machine you are trying to save.

The short version

Reset this PC rebuilds Windows in one of two ways. Local reinstall reconstructs the operating system from the runtime files already in the component store at C:\Windows\WinSxS, which is fast and needs no network, but fails when that store is damaged - which is the usual reason the device needed resetting. Cloud download fetches a fresh image from Microsoft instead, sidestepping the corrupt source, but it needs a working network stack inside the Windows Recovery Environment, and WinRE only does Ethernet and personal Wi-Fi. Both paths run inside WinRE, so if WinRE is missing or disabled, neither Keep my files nor Remove everything is available at all. This post covers what each option preserves, where the logs are, and how to trigger a reset centrally from Intune, a CSP or Graph.

The problem: two reset sources, and the fast one fails where you need it

Start with what the feature actually is, because the marketing name hides the mechanism.

What is Reset this PC, in plain English? Internally it is called push-button reset, and Microsoft documents it in the OEM manufacturing library rather than the IT admin library, which is why most admins have never read the specification. Microsoft describes it as "a recovery tool that repairs the OS while preserving data and important customizations". It does not restore a backup image. There is no recovery partition full of factory files any more - the docs call this image-less recovery, and state that push-button reset "no longer require or support a separate recovery image on a local partition or on media". Instead it reconstructs a working copy of Windows out of parts that are already on the disk.

When a user opens the reset experience they make two separate choices, and it matters that they are separate. The first choice is what happens to their data. The second choice is where the fresh copy of Windows comes from.

ChoiceWhat it doesWhat it needs
Keep my filesReinstalls the OS while preserving user data, user accounts and important settings. All other preinstalled customisations go back to factory state. User-acquired Store apps and desktop applications are not preserved.Documented free space of 4 GB plus a term for the customisations package. WinRE.
Remove everythingPrepares the PC for recycling or handover: reinstalls the OS, removes all user accounts and content, restores preinstalled customisations to factory state.WinRE. Optionally a data-erasure pass, which takes longer on an encrypted drive.
Local reinstallBuilds the new OS copy from the runtime system files already on the device.An intact component store at C:\Windows\WinSxS. No network needed.
Cloud downloadDownloads a fresh copy of Windows from Microsoft and uses that instead of the local files.Internet access from inside WinRE. Not supported on LTSC editions.

So there are four combinations, not two options. Keep my files plus Cloud download is a perfectly normal choice, and it is usually the right one on a machine that is misbehaving.

Here is the failure that sends people in circles. A device is unstable. An admin runs Reset this PC, picks Local reinstall because the site has bad bandwidth, waits through a reboot into a blue recovery screen, and gets back "There was a problem resetting your PC. No changes were made." There is no error code on screen. Nothing in the obvious event logs. The device is exactly as broken as it was an hour ago, minus an hour.

Gotcha: the reset you launch from Settings quietly depends on Windows Update before it even starts. Microsoft documents this as a reliability improvement: "When you start push-button reset features from the Settings app, Windows scans the system files in the Windows Component Store for corruptions. If it finds corrupt files and can download replacements through Windows Update, it fixes the problem automatically." Read that carefully. The pre-flight repair needs Windows Update to be reachable. On a device that is offline, behind a broken proxy, or blocked from Windows Update by policy, the scan can find damage it cannot repair - and the local rebuild then runs from a source it already knows is bad.

That is the whole thesis of this post. Local reinstall is not a separate, pristine copy of Windows. It is the same Windows you are trying to escape, reassembled.

Why it happens: the engine rebuilds Windows from files that are already broken

Follow the chain from the click to the result. One step at a time.

  1. The user opens Settings > System > Recovery and starts the reset. On current Windows 11 builds the Settings admin flow host SystemSettingsAdminFlows.exe launches the experience. On Windows 10 and earlier Windows 11 builds there was also a standalone launcher, SystemReset.exe.
  2. The reset engine creates a session. It writes a log folder at C:\$SysReset\Logs and records ResetCreateSession: Succeeded. It loads the SOFTWARE hive from the online OS to read the machine's configuration.
  3. The user picks Keep my files or Remove everything, then picks Cloud download or Local reinstall. If Cloud download is chosen, the payload lands in C:\$SysReset\CloudImage.
  4. The device reboots into the Windows Recovery Environment. Everything destructive happens there, because you cannot replace the running operating system from inside the running operating system.
  5. In WinRE, the engine constructs a new copy of Windows. For Local reinstall, Microsoft states it plainly: push-button reset "restores Windows 10 or Windows 11 by constructing a new copy of the OS using runtime system files located in the Windows Component Store (C:\Windows\WinSxS)".
  6. Drivers currently installed on the PC are restored the same way, from the device, not from a factory image. Preinstalled Store apps come back from an automatic backup taken at provisioning time, in their updated state.
  7. The old contents are staged aside, then the device boots into the new OS and finishes up. If the reset is interrupted, current builds support a limited rollback while the PC is still in WinRE - older versions of Windows usually just died.

Step 5 is where local reinstall breaks. The component store is not a backup. It is the live servicing database that Windows Update, DISM and SFC all operate on. If a bad update, a failing disk, or an interrupted servicing operation has damaged it, then the source of the rebuild is damaged too. Cloud download exists precisely to break that dependency, and Microsoft says so most bluntly in the documentation for the newer Cloud rebuild feature, which describes downloading the image and drivers from Windows Update so the device comes back "without depending on the integrity of the installed operating system".

WinRE is not optional, and this is where recovery plans die. The push-button reset FAQ asks the question directly - "Is Windows RE required for a user to run the Push-button reset features?" - and answers: "Yes. To run a Push-button reset feature, you must make the Windows RE boot image (Winre.wim) available on the local hard drive, and register its location by using the Reagentc tool." If WinRE is not enabled on the local disk, users "will have to boot Windows RE from media". And booting from media does not get you back the same options: Microsoft documents that when the PC is booted from recovery media, "the Keep my files and Remove everything features are no longer supported", leaving only bare metal recovery. A fleet with WinRE disabled has no in-place reset at all, cloud or local.

Cloud download has its own dependency, and it is one almost nobody tests until the day they need it: networking inside WinRE. The WinRE technical reference is explicit that this is not a normal Windows network stack. "WinRE doesn't maintain general-purpose network connectivity by default. Networking is on only when a recovery workflow requires connectivity." When it is required, WinRE tries Ethernet first, then a Wi-Fi profile pre-configured for WinRE, then eligible saved Windows profiles, then manual selection.

Gotcha: your corporate Wi-Fi probably does not work in WinRE. The documented list of networks WinRE can join is unauthenticated Ethernet, WPA-Personal networks with an SSID and password, and certain WPA-Enterprise networks using machine certificates. Then comes the line that matters for managed laptops: "Wi-Fi profiles that use certificates with TPM-backed private keys aren't supported at this time." The Cloud rebuild documentation is even tighter, saying that at this time "only WPA-2 Personal Wi-Fi connections are supported in the WinRE environment", and that a device with no connectivity fails with 0x800704C6. If your estate authenticates Wi-Fi with 802.1X and TPM-bound certificates, Cloud download on a laptop with no Ethernet is a coin toss. Plan for a dock, a cable, or a guest SSID.

Two more documented constraints shape the choice. Cloud download "isn't supported on LTSC editions", so a kiosk or medical device on the Long-Term Servicing Channel only ever has the local path. And there is a disk-space floor: the FAQ gives the Keep my files requirement as 4GB + size_of_ppkg*0.2 when installed customisations have been converted to file pointers, and 4GB + size_of_ppkg*2 otherwise, where ppkg is the OEM customisations provisioning package. On a 128 GB tablet with 3 GB free, reset fails late, inside WinRE, where the user cannot read the reason.

What survives, precisely

Keep my files is often described as "keeps your documents". The documented behaviour is more specific than that, and the specifics are what generate helpdesk tickets a week later.

Location or itemKeep my filesRemove everything
\Windows, \Program Files, \Program Files(x86), \ProgramDataRefreshed - contents not preservedRemoved
\Users\<user>\AppData\Local, LocalLow, RoamingRefreshed. The docs note the \AppData folders are available afterwards in C:\Windows.oldRemoved
User files outside those paths, and all files on non-OS partitionsPreservedRemoved. Data volumes are formatted if the user chooses all volumes
User accounts, domain settings, Windows Update settings, wireless profiles, themes, lock screen, international settings, privacy choicesPreservedRemoved
User-acquired Store apps and user-installed desktop applicationsNot preserved - reinstall requiredRemoved
Preinstalled Store apps captured at provisioningRestored, in their updated stateRestored, in their updated state
Installed OS updates and currently installed driversRestored - reset returns to an updated state, not the factory stateRestored

Remove everything is not a secure wipe, and the Windows volume is never formatted. Microsoft documents both facts. On the volume: "The Windows volume is never formatted, as the files needed to rebuild the OS are on it. Instead, user data files are deleted individually." On erasure: the optional data-erasure pass "is targeted at consumers and does not meet government and industry data erasure standards". For a lost or stolen device, or a machine leaving the company, that is not good enough - use the protected wipe path described later, or physical destruction, per your own data-handling policy.

One last piece of the mechanism, and it connects to a sibling article. Because the local path rebuilds from the component store, anything that prunes the component store reduces what a local reset can reconstruct. Microsoft is direct about it: because reset restores an updated state, "it's not required nor recommended to mark updates as permanent by using the DISM /Cleanup-Image command with the /ResetBase option". If your image build pipeline runs /ResetBase to shrink the WinSxS folder, you are trading disk space for recoverability. The component store corruption deep dive on this site covers what that folder is and how to check it properly.

How to verify: WinRE state, component store, and the last reset session

Before you press reset on anything, answer three questions with commands rather than hope: is WinRE there, is the local source trustworthy, and has a reset already been tried here?

Start with WinRE. ReAgentc.exe is the in-box tool that registers and reports the recovery environment, and /info is read-only. Run it from an elevated prompt; without elevation it returns nothing useful, which is worse than an error.

PowerShell - run elevated
reagentc /info # Reads the WinRE registration. Nothing is changed. Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: c4efe6ec-....-....-....-............ Recovery image location: Recovery image index: 0 Windows RE Version: 10.0.26100.9168 # HEALTHY: status Enabled, and a location on a partition of its own. # BROKEN: status Disabled, or an empty location. Reset from Settings will not # run, and the user is pushed to recovery media - where Keep my files # and Remove everything are not offered at all.

Now the local-reinstall dependency. DISM has two different checks and people confuse them constantly. /CheckHealth only reads a corruption flag that a previous scan recorded, so it returns in seconds. /ScanHealth actually walks the store and takes minutes. Use CheckHealth for triage and ScanHealth before you bet a rebuild on it.

PowerShell - run elevated
dism.exe /Online /Cleanup-Image /CheckHealth # Fast: reports the flag left by an earlier scan. Read-only. Image Version: 10.0.26200.9168 No component store corruption detected. The operation completed successfully. dism.exe /Online /Cleanup-Image /ScanHealth # Slow: the real scan. Run this one before choosing Local reinstall. Get-BitLockerVolume -MountPoint $env:SystemDrive | Select-Object MountPoint,ProtectionStatus,VolumeStatus,KeyProtector # WinRE cannot read an encrypted volume without the key, so confirm escrow first. # HEALTHY: "No component store corruption detected." Local reinstall has a source. # BROKEN: "The component store is repairable" - repair with /RestoreHealth first, # or skip straight to Cloud download. "Not repairable" means stop: a local # rebuild from this store is a waste of an outage window.

System files and folders in the flow

Only these binaries and folders matter, and they live in one place. Parent directory, stated once:

C:\Windows\System32\
File or folderWhat it does in the flowNotes
ReAgentc.exeRegisters, enables, disables and reports WinRE. The tool the FAQ names as the way WinRE is made available.Present on all supported builds.
Recovery\winre.wimThe WinRE boot image. Setup stages it here, then copies it to the recovery partition during the specialize pass.Usually absent from this folder on a deployed device - that is expected.
Recovery\ReAgent.xmlThe WinRE configuration file that records registration state.Read it. Never hand-edit it.
ResetEngine.exe, ResetEngine.dllThe reset engine host and implementation - the code that creates the session and drives the rebuild.Named in the reset logs as the source of ResetCreateSession.
SystemResetPlatform\Platform folder used by the reset flow, including localised resources.Folder, not a single binary.
SystemSettingsAdminFlows.exeSettings admin flow host that launches the reset experience on current builds.Also drives other elevated Settings flows.
SystemReset.exeThe standalone reset launcher on Windows 10 and earlier Windows 11 builds.Observed absent on Windows 11 build 26200. See the warning below.
dism.exeNot part of reset, but the tool that tells you whether Local reinstall has a healthy source.Logs to C:\Windows\Logs\DISM\dism.log.

Gotcha: do not build tooling around systemreset.exe. Plenty of runbooks tell you to launch a reset with systemreset.exe or systemreset -cleanpc. On the Windows 11 build used for this article - 10.0.26200.9168 - SystemReset.exe is not present in System32 at all, while ResetEngine.exe, ResetEngine.dll and SystemResetPlatform are. That absence is an observation from a live device, not something Microsoft documents, so treat it as a warning rather than a rule: Microsoft publishes no command-line reference for systemreset.exe and no supported switch list, so -cleanpc and friends are undocumented and can disappear in any update. If you need a reset triggered by automation, use the RemoteWipe CSP or the Graph action described in the next section. Those are documented contracts.

Log files, and the exact strings to search for

The reset engine writes its own logs, in its own folder, which is why nobody finds them. Here is where to look and what to look for.

Log pathSearch forHealthy versus broken
C:\$SysReset\Logs\setupact.logResetCreateSession, OnlineUI:, ResetNotifyCancelHealthy: ResetCreateSession: Succeeded. Broken: an Error line, or ResetNotifyCancel naming the page the flow died on.
C:\$SysReset\Logs\setuperr.loganything at allHealthy: zero bytes. Any content is a real failure worth reading first.
C:\$SysReset\Logs\PushButtonReset.etln/a - trace fileTelemetry trace, flushed at session end and copied to C:\ProgramData\Microsoft\Diagnosis\ETLLogs.
C:\Windows\Logs\PBRpresence of the folderThe FAQ notes end users "will be able to tell that a unit has been reset during factory by looking for the PBR logs" here. Absent on most retail devices.
C:\Windows\Panther\setupact.logWindows.old, error codesWindows Setup's log, shared with upgrades. Useful for the tail end of a reset, noisy otherwise.
C:\Windows\Logs\CBS\CBS.logcorrupt, cannot repairWhere component store repair records what it could and could not fix - the local-reinstall dependency, in writing.

For the newer Cloud rebuild flow, Microsoft documents a different set to collect from within WinRE: X:\$Windows.~BT\Sources\Panther, X:\Windows\Logs\MoSetup and X:\Windows\Logs\Rebuild.

This is what a real reset session looks like when the user backed out at the option screen. The lines below are genuine, from the device used for this article, with the identifiers left as they were because there are none in this excerpt.

C:\$SysReset\Logs\setupact.log - genuine excerpt
Info LogSession: Starting a new log session at [C:\$SysReset\Logs] Info Registry: Loading SOFTWARE hive from online OS Info ResetCreateSession: Succeeded Info OnlineUI: Reset session created successfully Info OnlineUI: User cancelled reset Info ResetNotifyCancel: User cancelled on page [OnlineResetTypeSelection] Info Telemetry: Flushed all pending [PushButtonReset] events Info Cleanup cloud payload folder [C:\$SysReset\CloudImage] # Read it top down. The session was created fine, so WinRE registration and # engine start-up were not the problem. # HEALTHY next step would be a phase transition and a reboot into WinRE. # HERE the user stopped at [OnlineResetTypeSelection] - the Cloud download # versus Local reinstall page. Nothing was changed on disk. # Note the last line: the cloud payload folder is C:\$SysReset\CloudImage.

Event Viewer: an honest answer

Microsoft publishes no Event IDs for Reset this PC. There is no operational channel with a documented catalogue of reset events, which is why the log-file table above is the substitute. There is a channel on the box, and it is worth knowing about, with a caveat.

Event Viewer - Applications and Services Logs
Channel:  Microsoft-Windows-ResetEng-Trace/Diagnostic
Type:     Analytic  |  enabled: false
File:     %SystemRoot%\System32\Winevt\Logs\Microsoft-Windows-ResetEng-Trace%4Diagnostic.evtx
Provider: Microsoft-Windows-ResetEng

Gotcha: that channel is observed, not documented, and it is off by default. The Microsoft-Windows-ResetEng-Trace/Diagnostic channel and the Microsoft-Windows-ResetEng provider are both present on a current Windows 11 build, and wevtutil gl reports the channel as an analytic log with enabled: false. Microsoft does not document either, so do not build detection logic on it - an undocumented channel can change or vanish in any update. Two practical consequences: nothing is being recorded there unless someone enabled it, and because it is an analytic log you must read it with Get-WinEvent -Oldest, or PowerShell refuses with a message about chronological order.

Registry, services and scheduled tasks

Reset state does not live in the registry. WinRE registration lives in ReAgent.xml and in the Boot Configuration Data store, which is why reagentc /info is the tool and not a registry read. There is exactly one documented policy value in this area, and it controls visibility of the Settings page rather than the reset itself. Parent key, stated once:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
ValueType and exampleEffect
SettingsPageVisibilityREG_SZ, e.g. hide:recovery or showonly:about;bluetoothBlocks the named Settings pages. Blocked pages are not visible and cannot be reached by direct ms-settings: navigation. The identifier is the page URI minus the ms-settings: prefix.
Registry Editor
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
Name               Type      Data
(Default)        REG_SZ    (value not set)
SettingsPageVisibility  REG_SZ    hide:recovery

Services and scheduled tasks are the other honest N/A. There is no Windows service dedicated to Reset this PC and no scheduled task under \Microsoft\Windows\ that drives it - the engine is started on demand by the user or by an MDM instruction and does its work in WinRE. What does exist, on an enrolled device, is the delivery path for that MDM instruction: the enrollment client's tasks under \Microsoft\Windows\EnterpriseMgmt\{enrollment-guid}\, including PushLaunch and Schedule to run OMADMClient by server. A remote wipe or Fresh Start arrives on that channel, not through the Intune Management Extension.

The fix: pick the path the device can finish, then trigger it centrally

The decision is short once you know the dependencies.

  1. Check WinRE first. If reagentc /info says Disabled, nothing else on this list works. Fix that before anything else - and if the reason is a recovery partition that is too small for a WinRE servicing update, that is a separate problem with its own article on this site.
  2. If the device is broken in a way you cannot explain, choose Cloud download. It does not depend on the integrity of the installed OS. Cost: bandwidth, and a working network inside WinRE.
  3. If the device is fine and you are just handing it to someone else, Local reinstall is faster and offline. Verify with /ScanHealth first, not /CheckHealth.
  4. If the edition is LTSC, you have only the local path. Budget for USB media as the fallback.
  5. If free space is under about 4 GB plus the customisations package, clear space first. Otherwise the failure happens in WinRE, where nobody can read it.
  6. If BitLocker is on, confirm the recovery key is escrowed before you start. WinRE cannot read an encrypted volume without the key.

Doing it on the device, step by step

SettingsSystemRecoveryReset this PC
  1. Open Settings, then System, then Recovery.
  2. Next to Reset this PC, select Reset PC.
  3. Choose Keep my files or Remove everything. This is the data decision.
  4. Choose Cloud download or Local reinstall. This is the source decision, and the one this article is about.
  5. On Additional settings, review the choices. This is where options such as restoring preinstalled apps and, under Remove everything, cleaning the drive are confirmed.
  6. Select Next, then Reset. The device restarts into WinRE and the rebuild happens there. Keep it on mains power.

To reach WinRE directly - useful when Windows still boots but the reset UI will not start - use Settings > System > Recovery > Advanced startup > Restart now, or hold Shift while selecting Restart from the sign-in screen. Microsoft also documents WinRE starting automatically after two consecutive failed boot attempts, two unexpected shutdowns within two minutes of boot completion, a Secure Boot error, or a BitLocker error on touch-only devices.

Group Policy: what exists, and what does not

There is no Group Policy setting that disables Reset this PC. This was checked against the ADMX files shipped on a current Windows 11 build: nothing under C:\Windows\PolicyDefinitions references Reset this PC, push-button reset or the reset engine. The nearest documented lever is Settings Page Visibility, which hides the Recovery page in the Settings app. That is a visibility control, not a security control. It does not stop a user holding Shift while restarting, booting to WinRE and resetting from there, and it does not remove the reset options in WinRE. If you need to prevent a wipe, that is a physical-access and BitLocker problem, not a policy toggle.

gpedit.mscComputer ConfigurationAdministrative TemplatesControl Panel
  1. Open the Group Policy Management Editor on a GPO linked to the target OU, or gpedit.msc for a single device.
  2. Navigate to Computer Configuration > Administrative Templates > Control Panel. The same setting also exists under User Configuration.
  3. Open Settings Page Visibility.
  4. Select Enabled.
  5. In the text box, enter hide:recovery to hide the Recovery page, or extend the list with semicolons, for example hide:recovery;windowsupdate.
  6. Select OK, then run gpupdate /target:computer /force on a test device and confirm the Recovery page has gone.

Intune: the same setting, plus the three device actions

The page-visibility policy is in the Settings Catalog, and it is also available as a Policy CSP OMA-URI.

intune.microsoft.comDevicesConfigurationCreate policy
  1. In the Microsoft Intune admin center, go to Devices > Configuration and select Create > New policy.
  2. Platform Windows 10 and later, profile type Settings catalog, then Create.
  3. Name the policy, for example WIN - Settings page visibility, and select Next.
  4. In the settings picker, search for Page Visibility List and choose it from the Settings category. There is a device-scoped and a user-scoped variant.
  5. Set the value to hide:recovery.
  6. Assign to a pilot group, review, and create. For the CSP route instead, use OMA-URI ./Device/Vendor/MSFT/Policy/Config/Settings/PageVisibilityList as a String.

Now the actions that actually reset a device. All three are remote device actions, all three ultimately drive push-button reset, and they differ in what they preserve and which CSP node they exec. This site already has a full comparison of Autopilot Reset, Wipe and Fresh Start, so this is the mechanism table rather than the choose-between guide.

Intune actionCSP node it execsWhat it maps to on the device
Wipe, no options selecteddoWipeDocumented as "equivalent to running Reset this PC > Remove everything from the Settings app, with Clean Data set to No and Delete Files set to Yes". If interrupted it tries to roll back; if rollback fails, Windows must be reinstalled.
Wipe, keep enrollment state and user accountdoWipePersistUserDataDocumented as equivalent to Reset this PC > Keep my files. MDM policies are removed but the device stays enrolled.
Wipe, continue even if the device loses powerdoWipeProtectedKeeps retrying until finished and cleans the internal drive. Microsoft's own warning: it "can prevent some devices from starting up again". For lost or stolen only.
Fresh StartCleanPC CSP: CleanPCWithoutRetainingUserData or CleanPCRetainingUserDataRemoves user-installed and preinstalled (OEM) apps. With Retain user data, the device stays Microsoft Entra joined, re-enrolls when an Entra user signs in, and the user's Home folder survives while apps and settings go.
Autopilot ResetRemoteWipe/AutomaticRedeployment/doAutomaticRedeploymentDocumented as working "like PC Reset ... except that it keeps the device enrolled in Microsoft Entra ID and MDM, keeps Wi-Fi profiles, and a few other settings like region, language, keyboard".

Gotcha: Fresh Start is not available on Windows Pro. The CleanPC CSP applicability table lists Enterprise and Education as Yes, and Home, Pro, Windows SE and Business as No. If half your estate is Pro and Fresh Start appears to do nothing, that is why. The RemoteWipe CSP, by contrast, is documented as supported on Pro, Enterprise, Education and IoT Enterprise, and its AutomaticRedeployment node has a Status value you can read back: 0 never run, 1 complete, 10 scheduled, 20 waiting for a reboot, 30 failed during the CSP exec, 40 failed on power requirements, 50 failed inside reset itself.

intune.microsoft.comDevicesAll devicesWipe
  1. In the Intune admin center, select Devices > All devices.
  2. Select the device from the list to open its overview pane.
  3. In the row of action icons at the top, select Wipe.
  4. Choose the behaviour: Wipe device, but keep enrollment state and associated user account for the Keep-my-files equivalent, or Wipe device, and continue to wipe even if device loses power for the protected variant. Leaving both unselected gives the plain doWipe.
  5. Select Wipe to confirm. Note the documented tenant limit: 500 Wipe actions per day, cumulative across single actions, bulk actions and Graph calls.
  6. Afterwards, decide separately whether to deregister the device from Autopilot and remove its record from Microsoft Entra ID. The wipe does neither.
  1. For Fresh Start instead, open the same device pane and select Fresh Start.
  2. Select Retain user data on this device if you want the device to stay Entra joined, re-enroll automatically at next sign-in, and keep the user's Home folder.
  3. Select OK. Without the retain option, the device is restored to the completed out-of-box-experience state keeping the built-in administrator account, and BYOD devices are removed from Entra ID and MDM.

Tip: the cloud-download equivalents exist at the CSP layer. The RemoteWipe CSP documents doWipeCloud, doWipeCloudPersistProvisionedData and doWipeCloudPersistUserData, all from Windows 11 22H2 and later, which perform a cloud-based remote wipe or reset rather than a local one. The Intune admin center's Wipe blade exposes the local nodes; the cloud variants are the documented way for a management platform to ask for the path that does not depend on the local component store. If your MDM can exec a CSP node directly, that is the node to ask about - and it is worth asking Microsoft for the console option, because the whole point of this article is that the local source is the fragile one.

Graph and PowerShell

Both console actions have documented Graph APIs, and they are ordinary POSTs against a managed device. These change devices, so treat them the way you would treat a delete.

PowerShell - Microsoft Graph - DESTRUCTIVE
Connect-MgGraph -Scopes 'DeviceManagementManagedDevices.PrivilegedOperations.All' # Documented scope for both actions below. Delegated or application. $id = '{aaaaaaaa-0b0b-1c1c-2d2d-333333333333}' # Reset keeping user data - the Keep my files equivalent (doWipePersistUserData). Invoke-MgGraphRequest -Method POST ` -Uri "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/$id/wipe" ` -Body @{ keepUserData = $true; keepEnrollmentData = $true } # HEALTHY: HTTP 204 No Content. That means accepted, not finished. # Fresh Start - removes apps, optionally retaining user data (CleanPC CSP). Invoke-MgGraphRequest -Method POST ` -Uri "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/$id/cleanWindowsDevice" ` -Body @{ keepUserData = $true } # BROKEN: 403 means the scope or role is missing; 404 means the managedDeviceId # is wrong - it is the Intune device id, not the Entra device id.

The documented request body for wipe in v1.0 is keepEnrollmentData, keepUserData, macOsUnlockCode, obliterationBehavior and persistEsimDataPlan. The protected-wipe switch, useProtectedWipe, is documented in the beta version of the same action, so if you need doWipeProtected from code today, check the beta contract and accept that beta APIs change more often. One caution on Autopilot Reset: no Graph action named autopilotResetDevice appears in the v1.0 or beta Intune reference, and the Wipe and Fresh Start documentation pages each name their Graph action explicitly while the Autopilot Reset guidance describes the console flow. Treat Autopilot Reset as a console and CSP contract - it lands on the AutomaticRedeployment node of the RemoteWipe CSP - and verify the current reference before you script it.

Tip: before you reset, read the device rather than guessing. The companion script for this article does exactly that. It reports WinRE status, which reset binaries exist on the build, the component store corruption flag, free space against the documented floor, BitLocker state and key protectors, and any evidence of a previous reset session in C:\$SysReset\Logs. It is read-only: it never initiates a reset and never touches WinRE. Run it on the device before you spend an outage window on the wrong path.

Defender and security policy: an honest N/A

Nothing in this feature area is governed by Microsoft Defender, attack surface reduction rules, exploit protection, WDAC or a firewall profile. There is no Endpoint Security profile that permits or blocks a reset. The security-relevant facts are the ones already covered and they are documented properties of reset itself: Remove everything deletes files individually rather than formatting the Windows volume, its optional erasure pass does not meet government or industry standards, and WinRE on Windows 11 lets most tools run without an administrator password while noting that "encrypted files won't be accessible unless the user has the key to decrypt the volume". BitLocker, not Defender, is the control that makes a reset safe on a device you no longer physically control.

Proof it worked: real output from a live device

This is a genuine run of the companion script on a Microsoft Entra joined Windows 11 Enterprise device, build 10.0.26200.9168. Identifiers are replaced; everything else is verbatim, including the trailing warnings.

PowerShell 5.1 - elevated - Get-ResetReadiness.ps1
=== WinRE state (reagentc /info) ====================================== Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE Windows RE version: 10.0.26100.9168 [OK] WinRE is enabled and registered, so Reset this PC has an environment to run in. [INFO] No winre.wim in C:\WINDOWS\System32\Recovery. That is normal once the image has been moved to the recovery partition. === Reset binaries ==================================================== [INFO] SystemReset.exe NOT present on this build. [OK] ResetEngine.exe present. Reset engine host. [OK] ResetEngine.dll present. Reset engine implementation. [OK] SystemResetPlatform present. Platform folder used during the WinRE phase. [OK] SystemSettingsAdminFlows.exe present. === Component store signal (local reinstall dependency) =============== Running: dism.exe /Online /Cleanup-Image /CheckHealth (read-only flag check) No component store corruption detected. [OK] No corruption flag recorded. CheckHealth reads a flag; it is not a full scan. === BitLocker state on the system drive =============================== Protection status: On Volume status: FullyEncrypted Encryption method: XtsAes128 Key protectors: TpmPin, RecoveryPassword [WARN] Protection is on. WinRE cannot read an encrypted volume without the key. === Evidence of a previous reset attempt ============================== [INFO] Present: C:\$SysReset\Logs (push-button reset session logs) setupact.log 1182 bytes 2024-11-01 09:36 setuperr.log 0 bytes 2024-11-01 09:34 [WARN] Failure or cancellation markers found in setupact.log (2 line(s)). line 6: ResetNotifyCancel: User cancelled on page [OnlineResetTypeSelection] === Verdict =========================================================== Local reinstall: READY Cloud download: READY subject to WinRE networking # Read the verdict with the caveats attached, not on its own. # HEALTHY here: WinRE enabled, no corruption flag, 413 GB free. # The two warnings are the real content. BitLocker is on, so the recovery key # must be escrowed before anyone resets this machine. And someone already # opened the reset flow on 1 Nov 2024 and backed out at the source-selection # page - worth asking why before repeating it.

Two things in that output are worth pausing on. First, SystemReset.exe is genuinely absent while the engine binaries are present, which is why any runbook that shells out to systemreset.exe will fail silently on this build. Second, the script found a real cancelled session from 2024 - the kind of forensic breadcrumb that tells you whether a user has already tried and failed to fix this device themselves.

Where this is heading. Microsoft is building a third path. Cloud rebuild, currently in preview and Insider-gated, downloads both the target Windows image and the device's drivers from Windows Update and reformats the system disk, explicitly "without depending on the integrity of the installed operating system". Its documented prerequisites are the same two this article keeps returning to: a healthy WinRE, confirmed with reagentc /info, and a networking driver in WinRE with Ethernet or WPA-Personal Wi-Fi. Remote initiation from Intune is documented as coming in a later release. If you are writing a recovery strategy for the next two years, plan for a network-dependent rebuild becoming the default and the local component store becoming the fallback, not the reverse.

References

Community deep diveWhy it is worth reading
I'll Always Know What You Did Last Wipe - Rudy OomsWalks the reset phases straight out of C:\$SysReset\Logs\setupact.log, follows user data into C:\$SysReset\OldOS and then Windows.old, watches the new OS being built in C:\$windows.~BT\NewOS, and demonstrates that files deleted by a wipe can still be recovered afterwards. Verified as live and on-topic before citing.

Two notes on scope. Microsoft publishes no data-volume figure for Cloud download on the pages checked for this article, so no number is quoted here - plan for a full OS image and size your bandwidth accordingly. And two adjacent topics are deliberately not re-explained: the recovery-partition free-space failure that blocks WinRE servicing updates, and the component store corruption repair flow, both of which have their own articles on this site.

PowerShell — companion script

Download it from Imran76Awan/Windows-11-Scripts — no sign-in required. It is read-only: it reports on reset readiness and never initiates a reset, modifies WinRE, or changes anything in Intune. Validate it in your own environment before relying on the output.

Get-ResetReadiness.ps1 — Read-only readiness report for both Reset this PC paths
View all scripts on GitHub
Was this post helpful?
React below — no account needed
Share this post
LinkedIn X / Twitter Reddit Bluesky

More from EndpointWeekly

Windows 11
The WinRE partition is too small: 0x80070643 and the…
A Windows Recovery Environment servicing update fails with 0x80070643 and admins chase…
Windows 11
Attack Surface Reduction rules broke a line-of-business app:…
An ASR rule in Block mode kills an app and tells you nothing but a GUID. Here is the…
Windows 11
SMB signing became mandatory and your NAS stopped working:…
Windows 11 24H2 and later require SMB signing, refuse insecure guest logons and ship…