%WINDIR%\system32\sysprep\sysprep.exe
That’s what you run on a machine once it’s been prepped, software installed etc, to bring it back to oobe (so the next reboot can ask about account setup etc.
Specifically helpful if you prepped a machine, but had to upgrade from home to pro.