1. Type 'Systemreset -factoryreset' (without quotes) in a command prompt and press enter.

2. Follow instructions.