Open the Start Menu, search for , and open it. Click Environment Variables at the bottom.
After running the removal script, validate that the platform has reverted smoothly.
If your phone is frozen or won’t start up properly, you can reset it using the hardware buttons:
The device will now behave like a true factory-fresh unit, but without the looping "new device" demands.