This was a tech support scam, not legitimate Microsoft support. Microsoft will never proactively contact someone to provide unsolicited PC or technical support, and genuine Microsoft error or warning messages never include a phone number to call.
Since remote access was allowed, take these steps immediately:
- Disconnect the laptop from the internet.
- Uninstall any applications the scammer asked to install.
- Run a full antivirus scan:
- Open Virus and threat protection
- Select Scan options > Full scan > Scan now
- Apply security updates as soon as they are available.
- Change passwords after the malware scan completes. If sign-in fails, use the Microsoft account password reset flow.
- Check Microsoft account settings for unexpected changes, especially:
- connected accounts
- forwarding
- automatic replies
- Monitor sign-in activity and watch for unusual account activity.
- Contact the bank or financial institution if any payment information was shared.
If the Microsoft account may have been compromised, use the Microsoft account sign-in helper. It can provide self-help steps or offer the chance to talk to an agent.
There is no supported way here to verify that a person named “Peter” legitimately fixed the account, and the behavior described matches documented tech support scam patterns.