Forum Discussion
Claire_4
Apr 27, 2020Copper Contributor
Factory Reset Windows 10 without user intervention
I've looked for this answer online and have come across the "systemreset -factoryreset" command which works, but it comes up with the prompt asking if I want to keep my files or remove everything, I ...
dretzer
Feb 09, 2021Iron Contributor
The "OEM stuff" is found in C:\Recovery\*. If you remove all contents in this folder before you initiate the device reset, it should restore a clean windows installation without any "OEM stuff". Keep in mind though, that certain driver packages will be migrated to the new installation. Sometimes these can contain additional software packages included in the device driver package (for example audio control panels from the audio driver).
divadiow2
Feb 09, 2021Copper Contributor
yes. thanks. I get less HP stuff restored after a reset if I delete C:\Recevery before, but still some bits I do not want. where is it getting these last bits from that performing a fresh start from intune seems to ignore? I want omit these too
- divadiow2Feb 10, 2021Copper Contributor
I think I'm wrong. A fresh start from intune still brings back some HP stuff. Which would make sense if there's some stuff HP have embedded in the image, and some stuff is in the recovery folder.
Might have to look into manual cloud reinstall at shift-f10 on first boot on each machine or a bootable USB with an unattended xml to just blow the hard drive away and start again without user interaction.
sigh
- divadiow2Feb 10, 2021Copper Contributorcloud reinstall still resulted in HP stuff being present, despite nothing set to be kept.
now building an autounattend xml so bootable USB can be used with a fresh 20H2 Jan 2021 install to blow away partitions and install fresh default. simples- May 18, 2021I just came across this question (while I was looking for something else) but I needed to do the same with a lot of domain joined devices some time ago... it did is job.... kinda (except the surfaces)
https://call4cloud.nl/2020/10/remote-wipe-the-next-level/