1. On the sign-in screen, click "I forgot my PIN" under the PIN box.
2. Microsoft account: enter your account password and the code sent to your email or phone, then set a new PIN.
3. Local account: click Sign-in options and use your password instead, then set a new PIN in Settings, Accounts, Sign-in options, PIN, "I forgot my PIN".
4. Forgot the password too? See our Windows forgot password tip.
The PIN only works on that one PC, so a short PIN is fine. Don't reuse your mobile money or bank PIN.