"There was a problem resetting your PC" means Windows accepted your reset request, then failed partway through—usually during the 30–60 minutes when it unpacks a fresh copy of Windows—so your files sit in a half-migrated state while the recovery environment reports an error and rolls back. No error code on screen doesn't mean no cause; it means the setup log holds the detail. The fix depends on where the reset stalled, and the order below moves from the least destructive repair to the most.

What the Reset Failure Message Actually Reports, and What It Hides

The message itself carries almost no diagnostic weight. Windows shows it when the Reset this PC process—whether you chose Keep my files or Remove everything—throws an exception after the recovery partition boots but before the new image finishes staging. That window is where most failures happen.

The detail lives in C:$WINDOWS.~BT\Sources\Panther\setuperr.log, and on machines where the recovery environment is involved, also in C:\Windows\Panther. Open setuperr.log in Notepad and read the last timestamped block, not the first error line—setup logs a cascade, and early warnings usually aren't the cause.

Three failure classes account for most reports: a corrupted Winre.wim recovery image, a system partition with too little free space to stage the image, and a component store that the reset engine cannot rebuild. Each produces a different log signature and needs a different repair.

Microsoft's own Reset this PC documentation confirms the process relies on the recovery image and the component store, which is why a damaged WinSxS folder can block a reset that would otherwise succeed. Check the log before you run any command.

Map the Error Before You Repair Anything

Before running a tool, write down two things: the exact on-screen wording (including any code such as 0x80070002 or 0x80070005) and the percentage the progress bar reached. A stall near 1–10% points at the recovery image or disk access; a stall past 60% usually points at driver or component staging.

Windows logs these failures differently depending on version. Windows 10 2004 through 22H2 and Windows 11 both write to the Panther folders above, but the recovery environment used by newer builds can fail before those files are created, leaving only the on-screen message. In that case, the WinRE log at X:\Windows\System32\Logfiles\Srt\SrtTrail.txt is the next stop.

A disk that failed mid-reset is an edge case worth ruling out early. If the message appears twice in a row with the progress bar stopping at the same percentage, suspect hardware—run chkdsk and check the drive's SMART status with the manufacturer's tool (CrystalDiskInfo or the vendor utility) before spending time on software repairs.

Percentage alone doesn't pin the cause. Use it to choose your first repair, then confirm with the log.

Repair the Windows Recovery Environment First

The recovery image does the heavy lifting during a reset, so a damaged Winre.wim can kill the process before Windows itself is touched. This repair is non-destructive: it re-registers the recovery image without removing your files or apps. Run Command Prompt as administrator.

1: Type reagentc /info and confirm the Windows Recovery Environment status reads Enabled with a hard disk path. 2: Run reagentc /disable to take the current image offline. 3: Run reagentc /enable to rebuild and re-register the recovery image. 4: Type reagentc /info again and check that the status is Enabled. 5: Retry the reset from Settings > System > Recovery > Reset this PC.

If reagentc /enable fails, the recovery image itself is missing or corrupt. Mount a Windows installation USB matching your exact build, open Command Prompt from it, and run reagentc /enable from the installation media context. That rebuilds Winre.wim from the install source rather than the damaged local copy.

On a machine where the recovery partition was deleted during an earlier upgrade, reagentc reports Disabled and the reset will keep failing. Rebuilding the partition requires unallocated space at the end of the disk; Disk Management can shrink the main volume by about 1,000 MB to make room. If the drive is full and cannot shrink, the reset is blocked at the disk level, not the software level.

Clear the 0x80070002 and 0x80070005 Codes That Block a Reset

Two error codes dominate reset failures. 0x80070002 means "file not found"—the reset engine cannot locate a required staging file, usually because the component store or a servicing folder was damaged by an interrupted update. 0x80070005 means "access denied," typically a permissions or antivirus-lock problem.

For 0x80070002, run these commands in order from an elevated Command Prompt and let each finish:

1: DISM /Online /Cleanup-Image /RestoreHealth 2: sfc /scannow 3: Restart, then retry the reset.

DISM rebuilds the component store from Windows Update or a mounted install image; the /RestoreHealth switch is what makes it usable for a reset. SFC then repairs protected system files using the rebuilt store. Order matters—running SFC first on a damaged store often produces unfixable-file reports.

For 0x80070005, check two things before touching permissions. Third-party antivirus with a self-protection module can lock files the reset needs; temporarily uninstall it (not just disable it) and retry. Then confirm the drive isn't BitLocker-protected in a state the recovery environment can't unlock—suspend BitLocker protection before a reset on an encrypted drive (manage-bde -protectors -disable C: -rebootcount 1 suspends for one reboot only).

If both codes persist after DISM and SFC, the installation is likely too damaged for an in-place reset. Move to a clean install, covered below.

Table: Which Reset Path Fits Your Situation

Microsoft offers two reset modes and one recovery option, and they fail for different reasons. Pick by what you can afford to lose and how damaged the install is.

Path What It Keeps Typical Duration Best For Main Failure Risk
Keep my files reset Personal files; removes apps and settings 30–60 minutes App-level corruption, login loops Recovery image corruption, low C: free space
Remove everything reset Nothing; clean Windows install 45–90 minutes Malware, selling the PC Drive errors, locked partitions
Fresh start (Cloud download) Personal files optional 40–120 minutes depending on download size Deep corruption the local image can't fix Slow or metered internet
USB clean install Nothing 30–90 minutes Failed resets, missing recovery partition Needs a 8 GB+ USB and a product key record

Fresh start pulls a clean image from Microsoft's servers, which sidesteps a damaged local Winre.wim entirely—the reason it succeeds where Reset this PC fails. The cost is bandwidth: the download runs several gigabytes, so a metered connection changes the math.

Cloud download isn't available on every edition or region. On domain-joined or managed corporate machines, Group Policy can disable Reset this PC or force a specific recovery image; check with your IT admin before assuming the option exists under Settings > System > Recovery.

Free Up the Space a Reset Silently Demands

Reset this PC needs room to stage a Windows image, and Microsoft's Reset this PC support page describes it as needing free disk space before the process can prepare the drive—the exact figure varies with build and installed components, so confirm against the current support article rather than trusting a fixed number.

The practical check: open Settings > System > Storage and look at the C: drive free space. If it's under roughly 20 GB, the reset can fail during staging with no useful code. Move personal files to an external drive first, then use Disk Cleanup's "Clean up system files" option to clear Windows Update leftovers.

Windows.old from a previous upgrade is a common space hog. Disk Cleanup removes it once the 10-day rollback window has passed; before that, the folder is protected. If Disk Cleanup won't clear it, Settings > System > Recovery > "Go back" is the supported removal path within the window.

Judgment call: if freeing space gets you past staging but the reset still fails, the drive may be failing. Run a SMART check before trying again—a reset on a dying disk can convert a software problem into unrecoverable data loss.

Remove the Third-Party Software and Encryption Locks

Security software and disk encryption are the two most common silent blockers. Antivirus drivers hook the file system at a level the reset engine can't always suspend, and full-disk encryption the recovery environment can't unlock stops the process at the first disk write.

Start with antivirus. Uninstall—don't just disable—any third-party suite before a reset, then reboot. Windows Defender steps in automatically and doesn't block the recovery environment. Reinstall your suite after the reset completes.

For BitLocker, suspend protection rather than turning it off. Turning it off decrypts the entire drive and can take hours on a large disk; suspending lets the recovery environment read the drive while keeping the encryption keys intact for the next boot. Resume protection after the reset finishes.

Corporate-managed devices add a third lock: endpoint management policies can force a recovery image path or block reset entirely. If the Settings option is greyed out, policy is the cause, and no local command overrides it.

If you've uninstalled the antivirus and suspended encryption and the reset still fails, the blocker is more likely the component store or the recovery image than a lock. Go back to the DISM and reagentc sections before escalating.

Use the Media Creation Tool When Windows Can't Fix Itself

When every in-Windows repair fails, a clean install from USB is the reliable exit. It bypasses the recovery environment, the component store, and any policy-enforced reset path because you're booting from external media and writing a fresh image.

1: On a working PC, download the Windows installation media tool from Microsoft's site and create an 8 GB or larger USB drive. Creating the media erases the drive. 2: Back up your files from the failing PC to external storage first. A clean install removes everything on the Windows partition. 3: Insert the USB, restart, and open the boot menu (commonly F12, F11, or Esc at startup—the exact key is printed on the boot screen). 4: Choose Custom install rather than Upgrade, select the Windows partition, and let setup format it. 5: After installation, reconnect to the internet so Windows activates and installs drivers.

The failure case to plan for: the install media itself. A USB created from a corrupted download will fail at the same point every time, so use Microsoft's own media tool rather than a third-party downloader, and verify the USB boots on a second machine if setup throws repeated errors before the disk stage.

If you need to recover files before wiping, boot the USB media and choose Repair your computer instead of Install now, then open Command Prompt and copy files to an external drive. That recovery step works even when the reset doesn't.

What a Reset Cannot Repair, and the Diagnostic Move That Tells You

Some failures aren't software. A drive with bad sectors, failing controller, or a loose SATA or NVMe connection produces reset errors that no command fixes. The tell is repetition at the same percentage across fresh installs, or setup stopping before it reads the disk at all.

Run chkdsk C: /f /r /x from an elevated prompt and read the summary for "bad sectors" or unreadable clusters. If it reports them, stop—back up immediately and plan a drive replacement. Software repairs on failing hardware risk making the drive unreadable entirely.

When the machine won't even reach setup from USB, and the drive is healthy, suspect failing RAM. Windows Memory Diagnostic (mdsched.exe) runs before the OS loads; a failing stick causes random setup errors that look like corruption. Diagnosis is the move—replacing a drive when the RAM is at fault is an expensive mistake.

If the hardware tests clean, the reset message points back at software damage deeper than DISM can repair. At that point a clean install isn't a workaround, it's the correct tool.

FAQ

Does "There was a problem resetting your PC" with no error code always mean hardware failure?

No. The majority of no-code failures trace to a corrupted Winre.wim or a damaged component store, both software-side and both repairable with reagentc /enable or DISM. Hardware only becomes the leading suspect when the same percentage fails across multiple attempts or a fresh USB install. Check setuperr.log first; it logs a specific failing call even when the screen shows nothing.

How long should a reset normally take before I know it's stuck?

A Keep my files reset typically finishes within 30–60 minutes, and Remove everything within 45–90 minutes. A progress bar that hasn't moved in 90 minutes on a working SSD is effectively stuck; on a slower spinning drive, allow up to two hours. The recovery environment has its own timeout, so if the machine reboots itself mid-process, treat that as a failure rather than a slow run.

Can I run one command to force the reset through?

No single command bypasses the underlying failure, but systemreset -factoryreset launched from an elevated Command Prompt restarts the same reset engine outside Settings, which sometimes succeeds where the Settings app fails if the UI layer was the problem. It doesn't repair a corrupt recovery image—if reagentc /info shows Disabled, run the reagentc repair first. The command isn't a shortcut around damage.

What's the difference between Reset this PC and Fresh start, and why does one work when the other fails?

Fresh start downloads a clean Windows image from Microsoft's servers, so it doesn't rely on the local recovery image at all. Reset this PC uses the on-device Winre.wim and component store, which is exactly what's damaged in most failures. That's why fresh start succeeds where a reset fails—the cost is a multi-gigabyte download and slower total time.

Will a reset remove a virus, or should I go straight to a clean install?

Remove everything reset removes user-installed software and files, so it clears most malware, but a rootkit embedded in the recovery environment or firmware can survive it. If malware is the reason for the reset, use a USB clean install with formatting, which overwrites the Windows partition from external media. Keep my files reset can carry the infection forward inside personal files.

Is BitLocker the reason my reset fails on an encrypted drive?

It can be. If BitLocker protection is active and the recovery environment can't unlock the drive, the reset stops at the first disk write. Suspend protection with manage-bde -protectors -disable C: -rebootcount 1 before trying again—this keeps keys intact for one reboot without full decryption, which takes far less time than turning BitLocker off entirely. Resume protection once the reset completes.

Does the reset need an internet connection to succeed?

Not for the standard Reset this PC path—it uses the local image. Cloud download and Fresh start both need a connection and pull several gigabytes. If your connection is metered, the local reset is the cheaper option, but only when the recovery image is intact enough to use. Confirm the image status with reagentc /info before committing to either path.