Technical Anshu
Tutorials Blog
🦠 Offline Scan

Offline Antivirus Scan From WinPE for an Infected PC

When Windows itself is infected, scanning from inside it is asking the burglar to help search the house. An offline scan from WinPE reads a sleeping disk instead. Here is how to run it - and what it honestly cannot undo.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 8 minute read
🎥 Full video - the GUI WinPE environment repairing a real PC, tools shown live

Every technician knows the pattern: the antivirus inside Windows reports it cannot remove the threat, or the threat removes the antivirus first. The infection is not stronger than the scanner - it is simply awake while the scanner works. Booting from a repair environment changes who is awake. This guide runs the offline scan properly, in the order that keeps data safe.

Offline scan - why it works when normal scans fail
Normal Windows : malware RUNNING, defending itself, hiding its files from the scanner WinPE offline scan : malware is just FILES on a disk - not started, not watching, not hiding Scanner reads the drive C:\ while Windows never boots. Found: Trojan:Win32/... in C:\Users\Public\ - removed. Not fixable by any scan: files already encrypted by ransomware, and data already stolen. Be honest about both.
The core advantage of scanning from WinPE: the infection is asleep. The scanner walks a quiet disk instead of fighting a live opponent.
1

Why an Offline Scan Catches What a Normal Scan Cannot

Modern malware does not sit still and wait to be deleted. While Windows runs, an active infection can hide its files from scanners, watch for antivirus processes and shut them down, and reinstall itself from a hidden copy the moment you remove the visible one. Scanning from inside that Windows is fighting an opponent who can see every move.

Boot from WinPE and the fight changes completely. The infected Windows never starts. Its malware is reduced to what it physically is - inert files on a disk - and the scanner can read, inspect and delete them without anything fighting back. This is why the offline scan is the standard professional response to a stubborn infection, and why it is built into good repair environments (Microsoft offers the same idea as its own Defender Offline scan).

2

Run the Scan in the Right Order

  1. Data first, as always. If the drive is healthy, copy the important files out before scanning - with one difference: treat the copies as suspect until they have been scanned too.
  2. Update the definitions if the environment can. A scanner is only as current as its virus definitions. If your WinPE can get online (wired Ethernet is the most reliable inside WinPE), update before scanning. If it cannot, know that the definitions are as old as the day the stick was built - one more reason to rebuild the toolkit regularly.
  3. Run a full scan of the Windows drive, not a quick scan. Let it finish; on a large drive this can take a long while, and interrupting it leaves the job half done.
  4. Let the scanner remove or quarantine what it finds, then restart into the real Windows and run a second, normal scan there - the two passes catch different things.
3

What an Offline Scan Honestly Cannot Do

  1. It cannot decrypt ransomware-encrypted files. No scanner can. If documents now carry a strange extension and a ransom note, the scan's job is only to remove the infection so it cannot spread - the files come back from backup, or not at all. Anyone who promises a scan will restore them is lying.
  2. It cannot undo damage already done - passwords the malware may have stolen should be changed from a clean device, and banking sessions treated as compromised.
  3. It cannot guarantee a clean machine. A clean result means "nothing known was found", with today's definitions. For a machine that held serious data and had a serious infection, the only fully certain cure remains: rescue the documents (scanned), then a clean Windows reinstall.
4

After the Scan - Sealing the Door It Came Through

An infection is also information: something on that PC let it in. Before handing the machine back, update Windows fully, update the browser and any PDF/Java-style add-ons, remove the cracked or "free download" software that is the most common delivery vehicle, and make sure a real antivirus is active and current in the normal Windows. A beautifully cleaned PC returned to the same habits is a repeat booking, not a repair.

🔴 Escalation rule: if the offline scan finds ransomware, or the same infection returns after a clean scan and a careful restart, stop scanning in circles. Rescue the clean documents, reinstall Windows from scratch, and restore data onto a known-clean system. Certainty beats optimism with other people’s data.

🎥 Watch the Repair Environment at Work in the Video

The full GUI WinPE session on a real machine - see how each tool is chosen and run.

▶️ Watch Full Video
❓ Frequently Asked Questions

Is an offline scan better than the antivirus already in Windows?

For an established infection, yes - because the malware never starts, so it cannot hide, defend itself or reinstall itself during the scan. For everyday protection the installed antivirus is the right tool, running constantly. Think of it this way: the installed antivirus is the guard on duty; the offline scan is the search team that enters when the guard has been overpowered.

The scan found nothing, but the PC still behaves strangely. Now what?

Update the definitions and run one full scan inside the now-booted Windows - some threats only become visible in a running system. If strange behaviour continues (browser redirects, new accounts, disabled security settings), treat the machine as still compromised: rescue the documents, scan the copies, and reinstall Windows cleanly. Persistent doubt is a valid technical finding.

Can the scan recover my files that ransomware encrypted?

No - and no scan from any company can. Encryption is not damage a scanner can reverse; the files were mathematically locked. Recovery comes only from backups (or, rarely, a published decryptor for that specific ransomware family). The scan still matters: it removes the infection so it cannot encrypt or spread further while you rebuild.

This guide is based on the Technical Anshu video on the custom GUI WinPE with 1-click fixes • Stuck on a step - ask in the video comments and the community will help 🙏