Hi,
why not using the standard method with a flash drive? A new flash is a factory reset.

ciao