How can I wipe a Windows computer that's locked with a password?

Don from Los Angeles, CA

Episode 1462 (2:17:34)

Windows 10

Don recently got a used PC, but it's locked with a password. Since the password prompt comes up after the PC has loaded Windows, Leo says it's easy to wipe it and reinstall the operating system. All he needs to do is download the Windows 10 installation tool from Microsoft called the "Media Creator's Tool", and put that on a thumb drive. Then he can boot to that drive, format, and reinstall it from there.