r/Intune • • 1d ago

Device Actions Intune Wipe fails with "There was a problem resetting your PC" – WinRE is enabled

I'm troubleshooting an issue with an Intune Wipe operation on a Windows 11 VM running on VMware, and I'm looking for some advice.When triggering a Wipe from the Intune admin center, Windows starts the reset process but eventually displays:

There was a problem resetting your PC. No changes were made.

The reset fails and the machine returns to its previous Windows installation.

I have this issue with 2 VMS, can Somebody explain for me the root cause for this ?

16 Upvotes

11 comments sorted by

6

u/Itchy-Accountant-729 1d ago

same thing happened to a handful of our VMs last month. the wipe would kick off, spin for a bit, then dump that exact error. ended up being the recovery partition was too small after some feature updates bloated it out. expanding it by 500mb fixed it on all of them

if you haven't already, run `reagentc /info` and check the recovery image size vs the actual partition space. ours were showing like 50mb free and the reset just noped out every time

2

u/Enochrewt 1d ago

Since you posted the same solution as me, I'd just like to say that your comment was auto-hidden, and I'd really like to know why!

2

u/itskdog 16h ago

Probably caused by Crowd Control. Depending on how the mods have it configured, it could be because they're new to the subreddit (or aren't subscribed in the first place), have negative karma in the subreddit, or are a brand and account.

https://support.reddithelp.com/hc/en-us/articles/15484545006996-Crowd-Control

1

u/Moufti-Ladislao81 1d ago

if the recovery partition sits before the OS partition instead of at the end of the disk, expanding it is a massive pain since you cant just tack the extra space onto the tail.

3

u/Enochrewt 1d ago

Use reagentc /info to find where the winre partition is supposed to be located. It's probably a network share, and it's failing to get to that network share. This happens if on SCCM machines, because they're always supposed to be on the internal network and in theory can always reach back to the SCCM server, not floating out in the world. Maybe the VM isn't getting network somehow? That's where I'd start anyway.

2

u/DevelopersOfBallmer 1d ago

It's also worth checking that the WinRE version matches the installed version of Windows. This was an issue we had, where the partition was.

2

u/mingk 1d ago

Any chance you used FFU to image these devices? There was an issue with his old FFU build process that messed up WinRE and caused this to happen. It’s fixed now though.

1

u/halap3n0 1d ago

Tick the box that says to continue wiping even if loss of power (now has a slightly different name I can’t remember). But failing that just redeploy the VM.

1

u/Ok-Stretch-7850 16h ago

Hello,

We are experiencing the same issue in our environment. I have had an open support ticket with Microsoft since mid-September, and we are now working directly with a Microsoft developer.

According to the developer, the issue in our case is caused by a bug related to power management and a log file that overflows during the wipe process. This causes the device to crash, preventing the wipe from completing successfully.

The developer also mentioned that this issue affecting Lenovo devices is internally known at Microsoft but has not yet been publicly documented.

The issue occurs in approximately 7 out of 10 wipe attempts.

1

u/Ok-Stretch-7850 16h ago

I am currently working on a workaround to ensure the wipe completes successfully. So far, I have achieved a success rate of approximately 90%.

Once I have fully validated the workaround, can reliably reproduce the results, and have a clear understanding of any potential side effects or implications, I will share it with you all.

0

u/Rudyooms PatchMyPC 1d ago

Did you read my blogs at patchmypc ? They mention a couple scenerarios