Take these actions immediately to protect data and accounts.
- Disconnect and secure devices
- Physically disconnect the PC from the internet (unplug Ethernet, turn off Wi‑Fi and Bluetooth).
- Power off any other devices that might be compromised until they can be checked.
- Clean malware from the PC before changing passwords
- On the infected Windows 10 PC, when ready to work on it, keep it offline until starting scans.
- Use or enable Windows Defender (built into Windows 10):
- Select Start.
- Type Windows Defender in Search or open Windows Security.
- Ensure protection is turned on and definitions are updated.
- Run a full scan of the entire system.
- If another reputable antivirus is installed, update it and run a full scan.
- Do not sign in to any accounts or enter passwords until scans complete and threats are removed.
- Recover and secure the Microsoft account
- From a clean device (not the compromised PC), go to the Microsoft account recovery/sign‑in helper: Start.
- Follow the steps to recover a hacked or compromised account as described in How to recover a hacked or compromised Microsoft account:
- After malware removal, sign in and change the password to a strong, unique one.
- If sign‑in fails, use the reset your password flow and follow the prompts.
- Once access is restored, review and fix security settings:
- Check connected accounts, forwarding, and automatic replies for anything added by the attacker and remove it.
- Add or update security info (alternate email and phone) and another way to sign in on the Advanced security options page so the account can be recovered more easily in the future.
- Turn on and keep multi‑factor authentication (MFA) enabled.
- Check for unusual sign‑ins and secure the account further
- On a clean device, sign in to Security basics and open Recent activity:
- Review sign‑ins and locations.
- For any activity that is not recognized, select This wasn’t me or Secure your account so Microsoft can help lock out the attacker.
- Use Sign out everywhere (from Microsoft account security) to invalidate existing sessions on all devices.
- Protect Outlook/Hotmail and email rules
- If Outlook.com/Hotmail is used:
- Check Rules and Forwarding in Outlook on the web and delete any suspicious rules or forwarding addresses.
- Verify no unknown apps or services are connected to the account.
- Follow the guidance in Help protect your Outlook.com email account to:
- Review recent account activity.
- Add alternate email and mobile phone as security info.
- Handle the ransom situation safely
- Do not pay any ransom or interact with the attacker; payment does not guarantee restoration and encourages further abuse.
- Use another trusted email or phone to warn important contacts that the account and PC were compromised so they can ignore suspicious messages.
- If the Microsoft account is locked or blocked
- If the account is temporarily locked due to unusual activity, use the Sign‑in Helper from Unblock my Outlook.com account to unblock it.
- If sign‑in is suspended or blocked and normal recovery fails, follow the guidance in When you can't sign in to your Microsoft account from the context articles.
- After recovery
- Keep Windows and all software updated automatically.
- Ensure antivirus is always on and set to update and scan regularly.
- Avoid staying signed in on shared/public computers and always sign out and close the browser when finished.
If recovery attempts repeatedly fail or the attacker still appears to have access after these steps, contact local IT/security professionals for in‑person help with the PC and consider reporting the incident to local authorities, especially if money or sensitive data is involved.
References:
- How to recover a hacked or compromised Microsoft account
- Hello , welcome to Account help & learning
- What happens if there's an unusual sign-in to your account
- How to help keep your Microsoft account secure
- Help protect your Outlook.com email account
- Unblock my Outlook.com account
- My personal hotmail account hacked by hacker with authentication app enabled. - Microsoft Q&A
- Hacker set up continuous draft ransomware email - Microsoft Q&A
- I have seen great advice for deleting the idtienphuoc1 Rule but none for stopping it from re-adding itself - Microsoft Q&A