Forum Discussion
why won't my laptop factory reset on windows 11?
Repeated reset errors or rollbacks can indicate that Windows is unable to access the recovery components it needs to complete the process. WinRE-Fix is designed to repair the Windows Recovery Environment and rebuild its Recovery partition when necessary, which is worth checking when asking Why is factory reset not working in Windows 11?
Why is factory reset not working in Windows 11?
Step 1: Back up your important files before making any partition changes.
Step 2: Check that the system uses GPT with UEFI and that Disk 0 has sufficient unallocated space. The script does not support MBR disks.
Step 3: Download Winre-Fix.ps1 from the official GitHub repository and open PowerShell as Administrator in its folder.
Step 4: Run the script in simulation mode first to see the proposed changes without modifying the partitions.
.\Winre-Fix.ps1 -WhatIf -Verbose
Step 5: Review the results. If the disk layout and Recovery partition are detected correctly, run the script normally and follow the confirmation prompts.
Step 6: Restart the computer after WinRE has been restored, then try Reset this PC again.
This approach is intended for reset failures related to WinRE or the Recovery partition. If the script reports an unsupported disk layout or unexpected partition information, do not proceed with the changes.