It really depends on whether you are using Microsoft Account or Local Account and if you have any other account?
Take a look at:
https://support.microsoft.com/en-us/windows/change-or-reset-your-windows-password-8271d17c-9f9e-443f-835a-8318c8f68b9c
In worse case, you have to reinstall your Windows.
Windows password
I need my current windows password to sign in to my windows but ive forgotten it what can i do?
2 answers
Sort by: Most helpful
-
Reza-Ameri 16,981 Reputation points
2021-10-03T18:45:53.56+00:00 -
Limitless Technology 39,661 Reputation points
2021-10-04T10:44:07.66+00:00 Hi there,
If your user is linked with a Microsoft account, you can reset the password
https://support.microsoft.com/en-us/windows/change-or-reset-your-windows-password-8271d17c-9f9e-443f-835a-8318c8f68b9cIf it is a Local account you must try the clean install method or try out these steps
Press the Shift key while you select the Power button > Restart in the lower-right corner of the screen.On the Choose an option screen, select Troubleshoot > Reset this PC.
Select Remove everything.
If the reply is helpful, please Upvote and Accept it as an answer