r/ComputerDIY • • Jul 09 '15

Tron v6.3.9 (2015-07-09) // Adobe Flash update; Sub-tool updates

Background

Tron is a script that "fights for the User"; basically automates a bunch of scanning/disinfection/cleanup tools on a Windows system. I got tired of running these utilities manually and decided to just script the whole thing. I hope this helps other techs and admins.


Stages of Tron:

0. Prep: rkill, ProcessKiller, TDSSKiller, Stinger, registry backup, WMI repair, sysrestore clean, oldest VSS set purge, create pre-run System Restore point

  1. Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
  2. De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro OEM debloat (Win8/8.1/2012 only)
  3. Disinfect: RogueKiller, Kaspersky Virus Removal Tool, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only)
  4. Repair: Registry permissions reset, Filesystem permissions reset, SFC /scannow, chkdsk (if necessary)
  5. Patch: Updates 7-Zip, Java, and Adobe Flash/Reader and disables nag/update screens (uses some of our PDQ packs); then installs any pending Windows updates
  6. Optimize: page file reset, defrag %SystemDrive% (usually C:; skipped if system drive is an SSD)
  7. Wrap-up: Send job completion email report (if configured; specify SMTP settings in \resources\stage_7_wrap-up\email_report\SwithMailSettings.xml
  8. Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)

Saves a log to C:\Logs\tron.log (configurable).


Screenshots

Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer


Changelog

(full changelog on Github)

v6.3.9 (2015-07-09)

  • * Adobe Flash update
  • * Subtool updates

Download

Three download options:

  1. Primary method: Mirror the BT Sync repo (get fixes/updates immediately) using the read-only key:

    BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47

    Make sure the settings for your Sync folder look like this (or this on v1.3.x).

  2. Secondary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-NY/u/SGC-Hosting

1 | link | link | US-NY | /u/danodemano

2 | link | link | DE | /u/bodkov

3 | link | link | US-NY | /u/hakarb

4 | link | link | US-CA | /u/-JimmyRustles

5 | link | link | US-CA | /u/CainFoool

6 | --- | link | US-CA | /u/windowswill

7 | link | link | NZ | /u/iDanoo

8 | link | --- | BT Sync mirror | /u/Falkerz (HTTP mirror of the BT Sync repo)

3. Third method: Script only

The master script is available **[here on Github](https://github.com/bmrf/tron/blob/master/tron.bat)** (Note: this is *only* the script and doesn't include the utilities Tron relies on to function).

Command-Line Support

Tron has full command-line support. All flags are optional, can be combined, and override their respective script default when used.

Usage: tron.bat [-a -c -d -e -er -gsl -m -o -p -r -sa -sb -sd -se -sp -sfr -spr -srr -sw -v -x] | [-h]

Optional flags (can be combined):
 -a   Automatic mode (no welcome screen or prompts; implies -e)
 -c   Config dump (display current config. Can be used with other
      flags to see what WOULD happen, but script will never execute
      if this flag is used)
 -d   Dry run (run through script without executing any jobs)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -gsl Generate summary logs. These specifically list removed files and programs
 -m   Preserve OEM Metro apps (don't remove them)
 -np  Skip the pause at the end of the script
 -o   Power off after running (overrides -r)
 -p   Preserve power settings (don't reset power settings to default)
 -r   Reboot automatically (auto-reboot 30 seconds after completion)
 -sa  Skip anti-virus scans (MBAM, KVRT, Sophos)
 -sb  Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -se  Skip Event Log clearing
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -spr Skip page file reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -sw  Skip Windows Updates (do not attempt to run Windows Update)
 -v   Verbose. Show as much output as possible. NOTE: Significantly slower!
 -x   Self-destruct. Tron deletes itself after running and leaves logs intact

Misc flags (must be used alone):
 -h   Display this help text

Integrity

checksums.txt contains SHA-256 checksums for every file and is signed with my PGP key (0x07d1490f82a211a2; pubkey included). You can use this to verify package integrity.

Please suggest modifications and fixes; community input is helpful and appreciated.


Donations: 1LSJ9qDzuHyRx6FfbUmHVSii4sLU3sx2TF

Quiet ^Professionals

2 Upvotes

0 comments sorted by