factory reset
wiping a device back to its original, as-shipped state
A factory reset erases a device's software and settings and reinstalls the original system. After a break-in it removes changes an attacker may have made, including ones no tool can find. Settings are then restored from a backup, and the device is updated to the latest version.
Think of it as
Repainting and relocking a flat after a burglary, rather than trying to find every scratch the burglar left.
Ideas that use this term