cleaning up Windows (7-10)
post by dodger

Table of Contents

kebles

Quick Links

index - posts - github - bookmarks - spotify 🎵


going through my old archives I found this article i wrote up in conversational english walking one through cleaning up a Windows installation that may have viruses, adware, etc. i am reposting this for archival sake. the advice is pretty current.

Legit windows cleanup and repair.

Creado lunes 16 agosto 2021

My personal mirror of cleanup tools - USE AT YOUR OWN RISK. https://kebles.com/cleanup

as someone who's spent over a decade daily repairing consumer machines, i know that every computer is different. but more so, they're exactly the same. the same thing applies to users. this is how you fix most users' issues, in my experience.

this is an evolving document. this is meant purely for technician reference and doesnt cover customer service, which is a major part of diagnostic work.

1. Diagnostics

a fancy term for checking the HDD stats with gsmartcontrol, crystaldiskinfo, or manufacturer specific tools like seatools or wd lifeguard. also entails running memtest86 if whoever you happen to work for at the time believes in testing shit you don't explicitly have an issue with. but always test drives. please.

if a hard drive has failing or reallocated sectors, it needs to be replaced ASAP. reallocated sectors that are successfully remapped generally have accessible data. you can run a long drive self test to attempt to force surface to remap, and run chkdsk within windows to attempt to repair file corruption.

if every bad sector is reallocated you can try to clone the drive sector by sector using dd, clonezilla, or higher level tools such as acronis or macrium reflect . tip, always run chkdsk after a drive clone no matter what.

only SATA and IDE hard drives have built-in SMART data. NVME discs must be checked with drive-specific tests. Some motherboards (MSIs i've seen) come with a nvme test utility in the BIOS/UEFI.

99% of systems, the hard drive is the only testable component that matters. I personally recommend beginning every system with a hard drive and memory check. Skim the smart stats, run quick test, if behaves normally move on.

I recommend the following section first thing after successful diagnostics, as cleaning up these files will allow for faster scans down the line. It is recommended to boot into safe mode for cleaning temp files and startup items. Note, you generally will need a full Windows password and not just PIN to log into safe mode.

2. Temp file and startup cleanup

Generally nothing really "needs" to be running at startup. drivers are drivers and are running if the thing they need is there. the only things i avoid touching are printer applications (i try to turn off any that will not autolaunch when someone actually goes to print, but some printers break if their companion app is not running in the background). any VOIP applications as well (not counting skype fuck skype). If a system uses quickbooks or the like for business and the customer has their sync turned on, leave this at startup. most of these applications will have services running at the System level anyway.

In msconfig, under Services, check "hide all microsoft services" and turn off services that you recognize as unnecessary (as opposed to turning off as many as possible). this is better safe than sorry, but for example very unnecessary services such as wildtangent games and such can be safely disabled.

3. Malware scans

malware is a word that just means "bad software". "software u don't want". there's nothing deeper to it than that. i hear people try to differentiate between a "virus" and "trojan" and "adware" and "spyware", to most end users, it's just "bad go away".

there's enough overlap with malware removal tools to cover many scenarios. the following tools have been successful in cleaning up what the majority of my customers have experienced, but this can vary with user types and location and other variables.

marked with a wave emoji mean run in safe mode 🌊️ (to get to safe mode in windows 10, hard shut down 3 times in a row for auto repair, OR hold shift and hit restart from windows, OR select safe boot in msconfig)

  1. adware
    1. jrt 🌊️
      1. permalink: https://www.bleepingcomputer.com/download/junkware-removal-tool/dl/293/
    2. adwcleaner 🌊️
      1. permalink: https://www.bleepingcomputer.com/download/adwcleaner/dl/382/
        • also use to remove bloatware. preloaded apps are becoming a virus or hack attack vector.
    3. malwarebytes
    4. roguekiller
  2. viruses
    1. malwarebytes
    2. emsisoft emergency kit
    3. hitman pro
    4. kaspersky tdsskiller 🌊️
    5. Windows Defender - verify it scans clean.
  3. make sure customer's AV software scans clean!
  4. manually remove:
    1. malicious browser extensions that are left over
    2. startup entries for malicious, or unnecessary items left behind after cleanup.
    3. add/remove programs, any greyware remaining.

https://www.shouldiremoveit.com/index.aspx

4. Updates

  • verify windows version.
  • install optional driver updates, test devices, then turn off driver delivery via updates.
    • (this will probably re-enable itself sometime anyway)
  • update any MISSING or drivers reporting a warning. do not update drivers unnecessarily if you aren't experiencing issues, or a known issue is found.
  • UCheck by adlice is a thing. it exists. it's not necessary but it exists.
    • Checks third party software for updates, paid version can install.

5. Finishing touches.

  • Disable fast startup (1008 - Disable fast startup in W10)
  • Verify browsing to 3 websites
    • http AND https
      • apple.com
      • lego.com
    • No redirection
    • Speed acceptable for spec
  • Reboot system 3 times.
  • unplug system and clear caps (hold power button down) and plug back in to cold boot system.

verify it boots to the desktop or login screen.

6. Avoid forever:

(or tell your customer to avoid forever:)

  • Anything with the word "Optimize" , and anything with the word "Registry"
  • Anything advertised on TV as a way of adding more resources to a computer to make it perform at an impossible level.
  • Services with guarantees that cannot be verified in-person.
    • there is nothing wrong with remote spyware cleanup work except how they're getting away with so many scams overseas. If you back that up with an in-person meeting, especially if you have a brick and mortar, shows a level of trustworthiness.
  • Mcafee
  • Norton

Author: dodger

Created: 2022-02-02 Wed 18:48

Validate