If your password isn’t working after replacing PC parts and reinstalling Windows, it’s likely a security issue.
Safe Mode Login: Restart while holding Shift, enter Safe Mode with Networking, and try logging in with your password.
Check BIOS/TPM: Make sure TPM is enabled in BIOS. This can affect login and activation.
- Activation Troubleshooter: Go to Settings > Activation > Troubleshoot, then choose “I changed hardware recently” and sign in.
Let me know how it goes.