Recover After a Security Incident • Security & Malware
Rebuild & Restore a Device After Compromise
Plan evidence, credentials, trusted installation and data recovery before erasing a system.
Safety first. Work only on equipment and accounts you own or are authorized to manage. For work or managed systems, contact IT through a separate trusted channel before cleanup. Stop ordinary use during active compromise and follow the incident plan. Protect useful records, wanted data and recovery access. Do not run suspect content, disable protections or expose passwords, codes or keys to investigate.
First — identify the device, account and actual exposure
Record the actual OS/browser, active protection provider, account and message. Note what was viewed, downloaded, run, typed or approved. Windows examples apply to the supported Windows configuration shown; other platforms and managed services differ. Use official provider instructions and IT for organization incidents. Example settings, addresses and messages are illustrations, not content to follow or copy.
What you’ll need
Current official device/provider instructions · Authorized owner access · A private factual record of relevant messages, actions and times · A separate known trusted device for exposed-account recovery · Protected known-good backups and recovery material · IT or verified incident support when the situation requires it
Step 1 — Confirm the recovery scope
Use trusted provider/incident guidance to decide whether a rebuild is appropriate. For managed/work systems, IT controls evidence and re-enrollment. Identify the exact device, OS edition and affected accounts. A restore point or browser reset is not automatically an adequate remedy for a compromised system.
What to look for: An authorized recovery decision and known scope.
What the result means: Reinstalling a device does not revoke stolen online sessions or undo data disclosure.
Step 2 — Preserve required data, evidence and access
Before any erase, preserve what responders require and identify known-good backups, owner credentials, encryption keys, licenses and required apps. Do not attach good backup media to the affected system to make a routine fresh copy. Handle unprotected wanted data through a trusted recovery plan; do not blindly archive suspicious executables or system profiles.
What to look for: The intended data and recovery requirements are accounted for.
What the result means: An erase or partition deletion can permanently remove the only files/evidence.
Step 3 — Prepare authentic supported installation
Use a separate trusted device and the OS/manufacturer’s official installation/recovery source for the exact model and edition. Distinguish repair/reinstall options that keep apps/settings from a clean rebuild. Read what each option removes and the drive selection carefully; disconnect unrelated storage only through safe supported procedures.
What to look for: A known supported source and explicit erase/installation scope.
What the result means: A compromised local image or an unknown installer is not a trusted starting point.
Step 4 — Complete the documented rebuild and protection
After the authorized data/evidence decision, follow the official model/OS clean-install or recovery procedure. Do not guess partition selection, bypass ownership/activation or install unsupported firmware. Complete supported updates, security, encryption/recovery and legitimate organization enrollment before ordinary use. Use official drivers/apps, avoiding old unknown installers.

What to look for: A supported installed system with intended protection.
What the result means: The first desktop/setup screen does not establish that all updates and security are complete.
Step 5 — Restore data cautiously and verify accounts
Use vetted known-good backups and restore selected wanted data through the provider’s method. Do not blindly restore old extensions, startup items, executables or the entire suspect configuration. Check recovered files and essential tasks. Revoke exposed sessions/grants and review recovery/MFA from a trusted context; do not reinstate unverified access to make an app work.

What to look for: Usable wanted data and legitimate accounts on the rebuilt system.
What the result means: A file restore and online account recovery are separate parts of the outcome.
Step 6 — Verify the outcome and remaining concerns
Check supported updates/protection, legitimate sign-in, representative restored data, essential tasks and a new verified backup plan.
What to look for: The intended result is verified, with unresolved issues identified.
What the result means: A clean scan or disappearing popup does not prove that no compromise or data exposure occurred.
What did you find?
Manufacturer & model-specific help
Use the actual OS/browser, protection provider, account type and current official instructions. Open support through a known route rather than a link, number or download in the suspicious message.
For managed devices, work accounts, active compromise or investigation needs, follow the organization’s response plan before scans, restarts, removal or erasure. Use the provider’s legitimate recovery and ownership checks.
Keep private files, full logs, credentials, recovery keys/codes and tokenized links out of public posts or sample-scanning services. Preserve required evidence and known-good data before destructive recovery. No scan or vanished warning can certify that no access or data exposure occurred.
Parts & supplies — only if needed
Most first checks need the genuine built-in/provider tools and authorized access. Choose backup storage or a security key only after checking the exact recovery/compatibility need. Do not buy a cleanup product, remote-support subscription or replacement device from an unsolicited warning.
Technical references
Techub’s troubleshooting guides are written in plain language and informed by manufacturer documentation. Features and procedures can vary by model. Before following model-specific steps, check the manufacturer’s latest instructions for your exact device.
Microsoft — Reinstall Windows with the installation mediaMicrosoft — Recovery options in WindowsMicrosoft — Stay protected with the Windows Security appMicrosoft — Backup and restore with File HistoryMicrosoft — Protect your PC from ransomwareGoogle — Secure a hacked or compromised Google AccountMicrosoft — How to recover a hacked or compromised Microsoft accountTechub — image source and model exampleStill need help?
Need help with a security concern?
Bring the actual device/provider, message, actions taken and useful times. Keep files, passwords, recovery keys/codes and full account details private; use a separate trusted channel for a suspected incident.
Visit Techub Services ↗
Knowledge Center • Illustrated Guides • Troubleshooting