Hello, thank you for reaching out to Microsoft Q&A.
Have you signed in with a local account or a Microsoft account on your old laptop?
If you have used a local (Admin) account on the device, your Microsoft account password does not work. Maybe you have a different password for the local account.
You can reset your password only if the device is connected to the internet through a network such as Ethernet or Wi‑Fi. Then, select 'I forgot my Password' and follow the prompts to reset your password.
*--
If you are having trouble resetting your password on the Sign in screen, try booting your PC in safe mode.
- Start your device and wait for the Windows logo (or the manufacturer's logo) to appear
- As soon as the Windows logo appears, press and hold the power button until the device shuts down
- Turn your device on again and repeat step 2
- Turn your device on a third time. Windows should display the Automatic Repair screen
Select Troubleshoot > Advanced options > Startup Settings > Restart.
Once the device reboots, in the Startup Settings screen, press F4 to boot your PC in safe mode.
Sign in with your local (Admin) or Microsoft account password.
See if you can sign in to safe mode.
*--
If you are still unable to sign in, it’s best to contact a local technician who can help you safely remove the hard disk from the laptop. You can then use a compatible cable or external enclosure to connect the hard disk to another PC and retrieve the data from it.