You can start a factory reset for Windows using the Advanced Startup menu to perform a factory reset from boot for example, if you cannot access Windows normally. If Windows is operating normally, go to Settings > Update & Security > Recovery in Windows 10 to open this option.