How to deal with Windows 10 forgotten account login password?

Solution:
First, you need to determine whether the login password is a Microsoft account password or a local account password.
1. For the Microsoft account password, you can log in to the official Microsoft website: https://login.live.com, select Forgot Password, and follow the prompts to retrieve the Microsoft account password.
2. If it is a local account password and a password reset disk has been set before, please insert the password reset disk and click Reset Password on the login interface.
3. If you have not set up a password reset disk, it is recommended to reset the Windows operating system (this operation will delete the data in the computer, please operate with caution).