Enter the code you receive from Microsoft. Type the code you received in the box beneath “Enter your security code” and click “Next” to reset your password. If you received the code via text message or email, you’ll be able to enter a new password now. Once you’ve confirmed the new password, you’ll be able to log back into Windows with your Microsoft account. If you didn’t have access to your phone or recovery email account, you’ll be brought to a form that asks you to fill in as much verification information as possible. In addition to basic contact information, you can also confirm billing information and previous passwords. The data will be sent to a Microsoft employee who’ll research your information and contact you at your alternative email address with a password reset link.