How to Clean Up Your PC After Virus or Adware Removal: 10 Safe Windows Steps

Flat illustration of a monitor showing a shield with a check mark, a magnifying glass over tiny bug-like dots being brushed away, and three blank folder icons in a row
Flat illustration of a monitor showing a shield with a check mark, a magnifying glass over tiny bug-like dots being brushed away, and three blank folder icons in a row

Once you clean up your PC after virus removal, the job is not finished. A scan that says "threat removed" deals with the files it found. It does not check whether your browser still has a hijacked search page, whether something is still set to start with Windows, or whether your passwords were already stolen. This guide gives you ten safe steps in a sensible order for Windows 11 and Windows 10: confirm the PC is clean, repair the leftovers the scan does not touch, protect your accounts and decide when a reset is the better choice.

Last reviewed: November 23, 2026. Windows Security steps and the offline scan follow Microsoft's pages listed under Sources. The account and clean-up advice is our general advice and was not re-checked against the FTC page listed under Sources. No step was run on an infected PC for this article.

Quick answer

  • Rescan with Windows Security, then run a Microsoft Defender Offline scan to look for anything hiding while Windows runs.
  • Reset your browsers, check startup, installed apps, proxy settings and scheduled tasks for things you did not add.
  • Change important passwords from a different, clean device, not from the PC that was infected.
  • If the problem returns, or ransomware or a bank or email takeover was involved, a Windows reset is the safer route than more cleaning.

In this guide

What to clean up on a PC after virus removal

This guide starts after removal. If you have not removed anything yet, begin with our guide to removing a virus or malware from a Windows PC. If the first sign was a pop-up that told you to call a number, read what to do about a fake virus warning first.

Possible leftoverHow you might notice itWhere to look
Browser changesOdd home page, new search engine, strange toolbars, pop-upsStep 3
Unwanted appsPrograms you do not remember installingStep 4
Startup entries and tasksSomething runs again after every restartStep 5
Proxy or network changesPages redirect, the internet is slow or sites will not loadStep 6
Damaged system filesCrashes, missing features, update errorsStep 7
Stolen passwords or sessionsUnexpected sign-in alerts or messages from your accountsStep 2

Step 1: Rescan and run an offline scan

Open Windows Security, choose Virus & threat protection and select Scan options. Start a Full scan. When it finishes, return to Scan options and choose Microsoft Defender Offline scan, then Scan now. Microsoft's offline scan page shows Windows asking you to save your work before the scan starts, so save your work first. The offline scan runs outside normal Windows, which makes it harder for persistent malware to hide (our general advice).

You should see: the PC restarts, scans and returns to Windows. Afterwards open Protection history in Windows Security to see what was found and what action was taken.

If this fails: if another antivirus is installed and listed as your protection, the offline scan option may not be available (our general advice). Follow our guide to fixing Windows Security when it is turned off. A cleaner is not a malware scanner; see PC cleaner vs. antivirus.

Step 2: Change passwords from a clean device

Our general advice is that if you suspect malware, you stop doing things that need passwords or personal information, such as banking, on that PC, and use a different computer to change your passwords. Do this on a phone or another PC that you trust. Start with your email, because email can reset every other account, then your bank and shopping accounts. Turn on two-step verification where it is offered, and check each account's recent sign-in activity for places or devices you do not recognise. If you saw a message about money or you gave remote access to a caller, contact your bank right away.

You should see: each account lets you sign in with the new password, and old sessions are signed out when you choose that option.

If this fails: if a site will not accept the new password, use the account's own recovery page or contact its support (our general advice).

Step 3: Reset your browsers

Adware often changes browser settings rather than Windows files (our general advice). In each browser, check these:

  • Extensions: remove any you do not recognise or no longer use.
  • Home page and search engine: set them back to the one you want.
  • Notification permissions: remove sites that you did not intend to allow. Notification spam is a common adware trick.
  • Reset settings: many browsers, including Microsoft Edge and Google Chrome, have a reset option that restores defaults (our general advice). Menu names change between versions, so look for Reset settings in each browser's settings.

A reset can turn off extensions, clear temporary data and sign you out of sites (our general advice), so know your passwords before you start. Check the browser's own warning, which lists what the reset removes. For what a cleaner would delete, see whether a PC cleaner deletes history, cookies and passwords.

You should see: the home page and search engine are the ones you chose, and no unknown extensions remain.

If this fails: if an unknown extension comes back, remove it again and run a full scan in Windows Security.

Step 4: Check installed apps

Select Start > Settings > Apps > Installed apps. Look at what was added around the time the problem began (our general advice). Uninstall programs you do not recognise, using the More options (...) menu and then Uninstall. If you are unsure about one, search its exact name online before removing it. Our guide to potentially unwanted apps in Windows 11 explains how Windows Security can block this kind of software. Menu names can differ slightly on Windows 10.

Remote access tools deserve extra care. If you were in contact with a fake support caller, look for remote support programs you did not install yourself, and remove them.

You should see: only programs you recognise remain in the list.

If this fails: if an app will not uninstall, see when a Windows 11 app will not uninstall.

Step 5: Check startup and scheduled tasks

Press Ctrl + Shift + Esc to open Task Manager, select Startup apps, then right-click the entries you do not recognise and select Disable. Our guide to disabling startup programs in Windows 11 walks through this, and our list of startup apps you can safely turn off helps you tell normal items from odd ones. Malware can also hide in Task Scheduler and in services (our general advice). Read our guide to leftover services, scheduled tasks and startup entries, which shows how to look first and change only what you are sure about. Leftover registry entries can be checked safely too: see safe checks for malware registry entries.

You should see: only startup entries you recognise remain enabled.

If this fails: if an entry keeps returning after you turn it off, it is probably still installed. Go back to Step 4, then scan again.

Step 6: Check proxy and network settings

Some adware sets a proxy so that web traffic passes through its server (our general advice). Open Settings > Network & internet > Proxy. If Use a proxy server is on and you did not set it up (many work and school networks do), turn it off. Also check your Wi-Fi or Ethernet properties for a DNS server you did not choose; Automatic is the usual setting at home (our general advice). The paths here follow Windows 11; on Windows 10, menu names can differ slightly. If your router login was exposed or the router settings look wrong, see how to secure your home Wi-Fi router.

You should see: websites open normally and no unexpected redirects.

If this fails: if sites still redirect, reset your browsers as in Step 3 and scan again.

Careful: the Windows hosts file can also be altered by malware. Opening it to look is safe, but do not delete lines unless you are certain. It sits at C:\Windows\System32\drivers\etc\hosts. A normal file contains mostly lines that begin with a # sign (our general advice). If you find entries that point well-known sites to odd addresses, treat that as a sign to reset Windows or ask a trusted technician.

Step 7: Repair Windows system files

Malware and its removal can damage system files. Our general advice is to run DISM first and then SFC. Open Command Prompt as administrator and run these in order, waiting for each to finish:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Our guide to repairing system files with SFC and DISM explains the results. If Windows will not start normally, boot into Safe Mode first.

You should see: a message that the operation completed, or that Windows Resource Protection found no integrity violations.

If this fails: if it reports files it could not repair, consider Step 10.

Step 8: Clear junk and update Windows

Only now is a clean-up worthwhile. Temporary files and leftover installers can usually be cleared with Windows' own tools (our general advice). Select Start > Settings > System > Storage, then select Temporary files, check the items you want to remove and select Remove files. Read each item before you remove it. Our guide to manual PC cleanup shows a safe order. Avoid a registry cleaner as a last step, because it cannot undo malware and can break software (our general advice); see PC cleaner vs. registry cleaner. Then open Windows Update and install the updates it offers, including the optional driver updates that Microsoft's performance tips describe. If updates fail, see how to fix a stuck or failing Windows Update.

Step 9: Scan your backups before restoring

If you backed up files before the infection, scan the backup drive with Windows Security before you copy anything back: right-click the drive in File Explorer and choose the scan option, or use Custom scan in Windows Security (our general advice; menu names can differ slightly). Restore documents and photos, not program installers or unknown files. Our backup guide covers how to keep a clean copy from now on.

Step 10: Decide whether to reset Windows

Cleaning is not always the best route. Consider a reset if (our general advice):

  • The same warning, redirect or app returns after you removed it.
  • Windows Security cannot finish a scan or the offline scan finds something again.
  • Ransomware was involved, or an email, bank or work account was taken over.
  • System file repair fails.
  • You cannot be sure what the infection did and the PC holds sensitive data.

Back up your files, scan them, and then follow our guides to resetting Windows 11 or a clean install from a USB drive. A reset that keeps your files is less thorough than one that removes everything, so choose Remove everything if you think the infection may be in your files or settings (our general advice). The steps for a full wipe are in how to clean a PC before selling or giving it away. If the reset fails, see problem resetting your PC.

Signs to watch for afterwards

  • Pop-ups or new tabs you did not open.
  • A browser that redirects searches to an unfamiliar site.
  • Fans running hard or the PC slowing down when you are not doing anything. See why a computer is slow for ways to tell causes apart.
  • Security software turning itself off.
  • New sign-in alerts from your accounts.

If several of these appear, repeat Steps 1 to 5 and consider Step 10. For a routine that keeps the PC healthy, use our cleanup schedule, and see the overview of PC cleaners and what they do.

Frequently asked questions

Questions about the clean-up

How do I know my PC is clean after virus removal?

Our general advice: you cannot be sure from one scan. A full scan plus a Microsoft Defender Offline scan, clean startup and app lists, normal browser behaviour and no new alerts together make a good sign. If doubts remain, a reset is the safest option.

Can I use a PC cleaner to finish the job?

Our general advice: a cleaner can clear junk files, but use Windows Security for threats and our manual steps for the leftovers.

Do I need to reset Windows after a virus?

Not always. In our general advice, it is the safer choice if the problem returns, if ransomware was involved or if you cannot trust what is on the PC.

Is it safe to keep using the PC while I clean it?

Avoid banking and sign-ins on it until the checks are done (see Step 2).

Questions about accounts and data

Which passwords should I change first?

Start with your main email account, then banking and shopping, then everything else (our general advice). Use a different device for this.

What if I called a fake support number?

Remove any remote access tool that was installed, change your passwords from another device and contact your bank if you paid or shared card details (our general advice). Reporting the scam to a consumer fraud agency is also worth doing.

Can I trust the files I backed up before the infection?

Scan the backup first, as in Step 9.

Will resetting my browser delete my bookmarks?

Check the browser's reset warning, which lists what it clears. Sign-in data and extensions are commonly affected (our general advice).

How this guide was checked

The offline scan, Windows Security and SFC and DISM steps follow Microsoft's support pages. The account and scam advice, the FTC source listed below, and the clean-up order, browser and proxy checks and advice on when to reset are general guidance; the FTC page was not re-checked for this update. Menu names differ between versions, and nothing was tested on an infected PC.

More help

For more Windows fixes, browse the PC repair guides or try the Repair Assistant.

Sources