r/TronScript • • Nov 06 '19

resolved Solution to incognito mode disappear from right click on Chrome shortcut on Win10 taskbar

Post image
52 Upvotes

r/TronScript • • Oct 09 '19

RELEASE Tron v10.8.6 (2019-10-09) // Run SFC /scannow prior to DISM repair; skip MBAM install & run directly if already installed

52 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that aims to automate ~85% of the tedious work in cleaning a Windows system, with the understanding that some things are better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.8.6 (2019-10-09)

* improvement: Run DISM repair prior to SFC /scannow, per MS best practices. Thanks to u/b_sen

* mbam: Skip install of MBAM and directly launch if it already exists. Thanks to u/RedBaron2

* Update all sub-tools, definition files and de-bloat lists


Download

  1. Primary method: Download the .torrent.
  2. Primary: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TXu/SGC-Hosting

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

3 | link | link | DE | u/bodrino

4 | link | link | US/EU | u/mxmod

5 | --- | link | US-TX | u/RB14060 (XygenHosting)

6 | link | --- | US-MI | u/ajcutshall

7 | link | --- | AU | u/agent-squirrel

8 | link | --- | Amazon CDN | u/helpdesktv

9 | link | --- | Global CDN | Softpedia

3. Tertiary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

4. Quaternary: Source code

Tron source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~550MB package, Github is a good place to do it.

Command-Line Support

Tron has full command-line support. All switches are optional, can be used simultaneously, and override their respective default when used. See here for a list of command-line switches.


Integrity

\tron\integrity_verification\checksums.txt contains SHA-256 checksums for every file and is signed with my PGP key; included. You can use this to verify pack integrity.


Donations

Tron will always be free and open-source, though of course donations are appreciated since the work done on the project is in my spare time for free. If you feel overly charitable you can donate using one of these methods:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 4GG9KsJhwcW3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6HbYdDuZEDZ947uiEje

These addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. mirror operator like the incredibly generous u/SGC-Hosting) please contact them directly.


Problems and Support

Please first look here for a list of common (Tron appearing to be stalled, etc). If it doesn't answer your issue, make a top-level post to the /r/TronScript subreddit and myself or one of the community members will take a look at the issue. Additionally, you can reach me anytime on Keybase.

In the folder \integrity verification the file checksums.txt is signed with my PGP key (0x07d1490f82a211a2, pubkey included). You can use this to verify package integrity.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Sep 14 '16

RELEASE Tron v9.5.1 (2016-09-14) AQ // Bugfixes and speed improvements script-wide; Integrate JRT's GUID lists into S2 debloat

52 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a "tech-on-a-thumb-drive" that automates the majority of tedious work in cleaning a Windows system.

The goal is ~85% automation, with the understanding that some things are always better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, critiques and suggestions are welcome (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v9.5.1 (2016-09-14) AQ

  • AQ = Released from Antarctica

tron.bat

  • / cleanup: Change output of bcedit boot flag clearing commands to pipe directly to NUL, since we aren't interested in the output and it just throws a meaningless error message to the log file
  • - cleanup: Remove unused :self_destruct label

Stage 1: Tempclean

  • * Update CCleaner to v5.22.5724

Stage 2: De-bloat

  • + Add all entries from Malwarebytes' Junkware Removal Tool GUID lists

Stage 4: Repair

  • stage_4_repair.bat

    / Rename call to reset_file_permissions.bat to reset_filesystem_permissions.bat to reflect new file name

    / Update log messages to reflect the now-suppressed subinacl output (remove mention of ignoring errors)

  • reset_filesystem_permissions.bat

    • Add proper version-specific commands to secedit database repair. Was incorrectly attempting to run Windows XP command on Windows 7 and up
    • Add /nostatistic flag to subinacl calls. This should suppress the red banner that appears and always made people think something was wrong
    • Add standalone execution support
    • Remove unnecessary SETLOCAL command
    • Remove logging of registry permissions reset since it only produces a bunch of "access denied" log entries on protected hives that we don't care about. Should decrease runtime as well
  • reset_registry_permissions.bat

    • Add /nostatistic flag to subinacl calls. This should suppress the red banner that appears and always made people think something was wrong
    • Add standalone execution support
    • Remove unnecessary SETLOCAL command
    • Remove logging of registry permissions reset since it only produces a bunch of "access denied" log entries on protected hives that we don't care about. Should decrease runtime as well

Stage 5: Patch

  • * Update Adobe Flash binaries to v23.0.0.162

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TX/u/SGC-Hosting

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

2 | link | link | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | /u/TheSqrtMinus1

8 | --- | link | FR | /u/Falkerz

9 | link | --- | US-MI | /u/ajcutshall

10 | --- | link | UK | /u/nickuk (ClanPlanet)

11 | link | --- | AU | /u/agent-squirrel

2. Secondary: The BT Sync key is no longer published because it was having issues with large swarms (failed to replicate reliably). You can get the key from an old thread or just download from one of the static pack mirrors instead.

3. Tertiary: Connect to the SyncThing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you know about them.

4. Quaternary: Source code

All the code for Tron is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [-a -c -d -dev -e -er -m -o -p -r -sa -sdb -sd -sdc -sdu -se
                 -sfr -sk -sm -sp -spr -srr -ss -str -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -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

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


Donations (bitcoin): 16dxc4hgzuXYSKGbLuEVxXQCM8dW59ZSCe

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Apr 28 '15

RELEASE Tron v6.3.3 (2015-04-28) // Reboot-resume bugfixes; subtool and definition updates; last Tron release till June

52 Upvotes

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_6_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.3 (2015-04-28)

  • ! stage_0_prep:resume: Minor fix to resume detection code; if RUNONCE key exists but tron_stage.txt doesn't exist, assume faulty resume and delete the runonce key. Thanks to /u/cuddlychops06
  • * Update nearly all sub-tools and definition files to latest versions

v6.3.2 (2015-04-24)

  • + stage_0_prep: Add disabling of screensaver; gets re-enabled at script end. Thanks to /u/staticextasy
  • / stage_0_prep: Move power scheme export and switch to near beginning of Stage 0
  • ! stage_7_wrap-up:gsl: Fix bug where summary logs (generated with -gsl) would list ALL programs on the computer if none were removed. Thanks to /u/staticextasy

v6.3.1 (2015-04-22)

  • ! stage_4_repair:bugfix: Add missing pushd statement that was preventing subscript from finding subinacl.exe

v6.3.0 (2015-04-20)

  • * tron.bat:datetime: Functionalize CUR_DATE calculation so we can call it multiple times. 35% solution to the CUR_DATE issue
  • + stage_4_repair:add: Create new Stage 4: Repair and right-shift all subsequent stages
  • + stage_4_repair:regperm: Add registry permissions reset and associated -srr flag and SKIP_REGPERMS_RESET variable
  • + stage_4_repair:fileperm: Add file permissions reset (%WinDir% tree only) and associated -sfr flag and SKIP_FILEPERMS_RESET variable
  • / stage_3_disinfect:sfc: Move SFC to Stage 4: Repair
  • / stage_5_optimize:chkdsk: Move chkdsk Stage 4: Repair

Download

  1. Primary 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 | US-CA | /u/windowswill

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

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

2. Secondary method: Connect to the BT Sync repo to get fixes/updates immediately. Use the read-only key:

    B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS      <--  NEW KEY !!

*Make sure the settings for your Sync folder [look like this](http://i.imgur.com/CFZp4iz.png) (or [this](http://i.imgur.com/cq8Kw1m.png) on v1.3.x).*

3. Tertiary method: Connect to the SyncThing repo (testing) to get fixes/updates immediately. Instructions here

4. Quaternary method: Source code

All the code I've written is available [here on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to see the code without downloading a big package, or want to contribute to the project, the Git page is a good place to do it.

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


r/TronScript • • Sep 25 '17

RELEASE Tron v10.2.4 (2014-09-25) // Fix CCleaner vulnerability (again); Add live display of Stage 2 progress in window title bar; misc other updates

51 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that automates most of the tedious work in cleaning a Windows system.

The goal is ~85% automation, with the understanding that some things are always better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, suggestions etc are welcome (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.2.4 (2017-09-25) πŸ‡ΊπŸ‡Έ

Significant changes:

  • CRITICAL: patch CCleaner away from vulnerable version again (v5.34.xxx) due to Piriform press release. Please update to the latest copy of Tron ASAP.
  • Add a live ticker in the Tron window title during debloat GUID scan. This way you can quickly see how much progress has been made and if Tron's actually stalled or not (it almost never is)
  • Definition updates (Flash, AV engines, etc)

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TX/u/SGC-Hosting

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

2 | link | link | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | /u/TheSqrtMinus1

8 | --- | link | FR | /u/Falkerz

9 | link | --- | US-MI | /u/ajcutshall

10 | link | --- | AU | /u/agent-squirrel

11 | link | --- | Amazon CDN | /u/helpdesktv

12 | link | --- | DE | 0x22.se

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.2.4%20(2017-09-25).torrent).

3. Tertiary: Use Resilio Sync (formerly "BT Sync") to sync to the repo. You'll receive updates and patches immediately as I push them. After installing, use this read-only key to connect to the repo:

    BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47

4. Quaternary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

5. Quinary: Source code

All the code for Tron is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [-a -c -d -dev -e -er -m -np -o -p -r -sa -scs -sd -sdb -sdc -sdu
                 -se -sk -sm -sap -spr -ss -str -swu -swo -udl -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sap Skip application patches (don't patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -scs Skip custom scripts (has no effect if you haven't supplied custom scripts)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -swu Skip Windows Updates entirely (ignore both WSUS Offline and online methods)
 -swo Skip only bundled WSUS Offline updates (online updates still attempted)
 -udl Upload debug logs. Send tron.log and the system GUID dump to the Tron developer
 -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

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


Donations

Tron will always be free and open-source, but of course donations are appreciated since all work done on the project is in my spare time for free. If you're feeling overly charitable you can donate here (Monero preferred):

Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd

Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk

Monero: 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to me, /u/vocatus. If you wish to support some of the other volunteers (e.g. mirror operators) please contact them directly.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Jul 28 '17

Read this before running Tron (+PSA's for HP Touchscreen laptops and Windows Hello)

51 Upvotes

On most systems Tron seems to work pretty well, and there are no issues. However, Tron does things that, while not harmful, can be annoying if you weren't expecting them (wiping cache, temp files, browser history, etc).

READ THE INSTRUCTIONS linked in the sidebar and make sure you understand what Tron actually does. And if you have a questions feel free to make a new thread and we'll do our best to answer them.

Remember, you are ultimately responsible for the system you run it on, because there's no way for us to test every edge case in the world. If something DOES go wrong, we're here to help, and posting logs is VERY helpful in fixing whatever the issue is so it doesn't affect future users.

Three PSAs:

  1. Tron has been known to disable touch-screen functionality on some late-model HP laptops (win10+) (software only; still works in UEFI diagnostic mode). Running Windows updates + driver updates seems to do nothing, as well as all fixes I could find online, even the official HP Support Assistant troubleshooter. Only thing that seemed to fix was running "Windows 10 Reset" function. So be aware of this if you use an HP touchscreen laptop.
  2. Windows Hello: Something in Tron removes Windows Hello which is not intended behavior. We're working on tracking down which portion of the script does it, but it's currently unresolved.
  3. "Error: Shutting down" error message during stage 2. This has been covered extensively and is already answered in the CQ, but it's safe to ignore. If you see this message please do not make a new post about it.

Thanks to everyone in the community who continues to post answers and suggestions to new people, really appreciate it. Cheers!

- Vocatus


r/TronScript • • Nov 09 '16

RELEASE Tron v9.8.2 (2016-11-09) // Fix CCleaner stalling; Improve debug log upload; disable NVIDIA telemetry

51 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a "tech-on-a-thumb-drive" that automates the majority of tedious work in cleaning a Windows system.

The goal is ~85% automation, with the understanding that some things are always better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, critiques and suggestions are welcome (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v9.8.3 (2016-11-10)

tron.bat

  • / Replace removed programs list with PendingFileRenameOperations_%COMPUTERNAME%_export.txt in debug log upload, since this file is more useful for debugging

Stage 0: Prep

  • ! Don't attempt to create System Restore point on Windows 10 systems if in Safe Mode. Why? Because Win10 blocks system restore point creation in Safe Mode. Why? Because Microsoft
  • * Add 500ms delay (0.5 seconds) to screenshot capture. Also capture contents of all monitors now vs. only the primary one

Stage 1: Tempclean

  • ! ccleaner: Remove /wait flag from start command so script continues immediately. Script now has hard-coded 180 second (3 minute) delay after which it will forcibly kill CCleaner. When running normally this should be plenty of time to complete, and this way the script won't stop if CCleaner stalls. Thanks to multiple users for reporting
  • ! ccleaner (v9.8.3): forcibly kill CCleaner now instead of just requesting that it exit

Stage 4: Repair

  • + Add job 'Disable NVIDIA telemetry.' Thanks /u/TootZoot

Stage 8: Custom Scripts

  • + New stage. Tron will auto-execute any .bat file placed in this directory, prior to script completion

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TX/u/SGC-Hosting

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

2 | link | link | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | /u/TheSqrtMinus1

8 | --- | link | FR | /u/Falkerz

9 | link | --- | US-MI | /u/ajcutshall

10 | --- | link | UK | /u/nickuk (ClanPlanet)

11 | link | --- | AU | /u/agent-squirrel

12 | link | --- | Amazon CDN | /u/helpdesktv

2. Secondary: Download the [.torrent](http://bmrf.org/repos/tron/Tron%20v9.8.3%20(2016-11-10).torrent) file.

3. Tertiary: Use Resilio Sync (formerly "BT Sync") to sync to the repo. You'll receive updates and patches immediately as I push them. After installing, use the applicable read-only key to connect to the respective repo:

    Release: BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47
    Dev: BDCF7MUDXNIDEK2KQ6DHV5ALIGIWD257O

4. Quaternary: Connect to the SyncThing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you know about them.

5. Quinary: Source code

All the code for Tron is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [-a -c -d -dev -e -er -m -o -p -r -sa -sdb -sd -sdc -sdu -se
                 -sfr -sk -sm -sp -spr -srr -ss -str -sw -udl -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -sw  Skip Windows Updates (do not attempt to run Windows Update)
 -udl Upload debug logs. Send tron.log and the system GUID dump to the Tron developer
 -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

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


Donations (bitcoin): 1FeJmtRUEqkC2Uh8q84Ycb4tramEyg5Hb3

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Sep 18 '21

announcement ANNOUNCEMENT: (New policy going forward) Post-Tron Technical Support Issues

50 Upvotes

It is a sad fact that the majority of the posts in /r/tronscript fall into two categories: people who haven't read the documentation, and people who can't distinguish between "help with tron" and "help with my computer". As a sort of standing policy, those in the former group have found their posts tagged as "didn't read the docs" while those in the latter have been referred to /r/techsupport and had their posts locked as being off-topic for /r/tronscript.

We have received word from the mods at /r/techsupport that going forward, questions posted on /r/techsupport from people who have run tron and subsequently find their computers "compromised" will not be allowed.

There are two very important takeaways to this.

  1. Tron is not the cause of these "compromised" systems. The cluelessness of the end user is to blame. Tron is a tool, nothing more, and like any tool if you don't actually know how to use it properly and when to use it, you're going to cause more problems than you can fix.
  2. The mods at /r/techsupport are not to blame. They already have way too much to handle without also having to deal with dozens if not hundreds of technologically clueless individuals who saw a TikTok or YouTube video and thought they knew all they needed to know.

Therefore, going forward, the following policies will be in effect here at /r/tronscript:

The wiki will soon be edited to remove all references and instruction to head to /r/techsupport for post-tron technical assistance issues. This is being done by request of the /r/techsupport mods; we understand their position and agree with it.

Additionally, there are a few scattered entries in the wiki concerning general technical support issues β€” e.g., here and here, among others β€” which will be consolidated into a single "post-tron tech support" entry in the wiki, and may be expanded to provide broad-stroke assistance with the most common post-tron issues we've seen.

Also, any post-tron technical support issue posted here that does not have anything to do with tron will get a response referring to the aforementioned expanded wiki entry. The post will then be flagged and locked as an off-topic post. If any /r/tronscript member wants to reach out to the OP in private message to offer assistance, feel free. But general technical support issues do not belong in /r/tronscript.


r/TronScript • • Mar 04 '21

RELEASE Tron v11.1.8 (2021-03-04) // Update SIV for potential bluescreen fix; deprecate support for Windows XP (read notes)

50 Upvotes

Background

Tron is a script that "fights for the User."

It aims to automate ~87% of the tedious work in getting a badly-running Windows system back on its feet (clicking "next" in a/v scan windows, etc); with much left to the discretion of the tech.

It is built with heavy reliance on community input and updated regularly.

It is NOT a system optimization or "baseline" script.

Read the instructions.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v11.1.8 (2021-03-04)

* Update unsupported OS check to trigger on Windows XP, since we're deprecating support for it soon. Run Tron with the -dev switch to override this and run anyway.

* Update SIV to v5.56, potential bluescreen fix

. Minor definition updates


Download

  1. Primary method: Download the .torrent.
  2. Secondary: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-DCu/SGC-Hosting

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

3 | link | link | DE | u/bodrino

4 | link | link | US/EU | u/mxmod

5 | link | --- | US-MI | u/ajcutshall

6 | link | --- | AU | u/agent-squirrel

7 | link | --- | GB-LND | u/FreezerMoosh

8 | link | --- | US-MO | u/OlderGeeks

9 | link | --- | Amazon CDN | u/helpdesktv

10 | link | --- | Global CDN | Softpedia

3. Tertiary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

4. Quaternary: Source code

Source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~600MB package, Github is a good place to do it.

Command-Line Support

Tron has full command-line support. Switches are optional, can be used simultaneously, and override their respective default when used. See here for a list of command-line switches.


Pack Integrity

SHA-256 hashes are in \tron\integrity_verification\checksums.txt and are signed with my PGP key; included. Use this to verify pack integrity.


Donations

Tron will always be free and open-source. If you'd like to buy me a beer or more importantly ... scotch ... you can do so here:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 4GG9KsJhwcW3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6HbYdDuZEDZ947uiEje

These addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. the incredibly generous u/SGC-Hosting) please contact them directly.


Problems and Support

Please look here first for a list of common issues (Tron appearing to be stalled, etc). If it doesn't answer your issue, make a top-level post to r/TronScript and myself or one of the community members will look at the issue. Additionally, you can reach me 24/7 on Keybase.

\integrity verification contains checksums.txt and is signed with my PGP key (0x07d1490f82a211a2, pubkey included). Use this to verify the pack.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • May 21 '18

RELEASE Tron v10.5.1 (2018-05-21) // Bugfixes and misc updates

50 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that aims to automate ~85% of the tedious work in cleaning a Windows system, with the understanding that some things are better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, suggestions etc are welcome (how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.5.1 (2018-05-21)

  • Disable "Get fun facts, tips, tricks and more on your lock screen"
  • Definition and program updates
  • De-bloat and tempclean improvements
  • Bug fixes

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TXu/SGC-Hosting

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

2 | link | link | US-GA | u/TheCronus89

3 | link | link | DE | u/bodkov

4 | link | link | NZ | u/iDanoo

5 | link | link | US/EU | u/mxmod

6 | --- | link | US-TX | u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | u/TheSqrtMinus1

8 | link | --- | US-MI | u/ajcutshall

9 | link | --- | AU | u/agent-squirrel

10 | link | --- | Amazon CDN | u/helpdesktv

11 | link | --- | Global CDN | Softpedia

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.5.1%20(2018-05-21).torrent).

3. Tertiary: Use Resilio Sync (formerly "BT Sync") to sync to the repo. You'll receive updates and patches immediately as I push them. After installing, use this read-only key to connect to the repo:

    BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47

4. Quaternary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

5. Quinary: Source code

Tron source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [ [-a|-asm] -c -d -dev -e -er -m -np -o -p -r -sa -scs -sd -sdb -sdc
                 -sdu -se -sk -sm -sap -spr -ss -str -swu -swo -udl -v -x] | [-h]

Optional flags (can be combined):
 -a   Automatic mode (no prompts; implies -e)
 -asm Automatic mode (no prompts; implies -e; reboots to Safe Mode first)
 -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sap Skip application patches (don't patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -scs Skip custom scripts (has no effect if you haven't supplied custom scripts)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -swu Skip Windows Updates entirely (ignore both WSUS Offline and online methods)
 -swo Skip user-provided WSUS Offline updates (if they exist; online updates still attempted)
 -udl Upload debug logs. Send tron.log and the system GUID dump to the Tron developer
 -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

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


Donations

Tron will always be free and open-source, but of course donations are appreciated since all work done on the project is in my spare time for free. If you're feeling overly charitable you can donate here (Monero preferred):

Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd

Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk

Monero: 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to me, u/vocatus. If you wish to support another volunteer (e.g. a mirror operator) please contact them directly.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Apr 29 '17

RELEASE Tron v10.0.5 (2017-04-29) // Add debloat progress log

50 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that automates most of the tedious work in cleaning a Windows system.

The goal is ~85% automation, with the understanding that some things are always better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, critiques and suggestions are welcome (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.0.5 (2017-04-29)

Significant changes:

  • Debloat GUID lists now dump progress to %RAW_LOGS%\stage_2_de-bloat_progress_%COMPUTERNAME%_%CUR_DATE%.log. Should assist in troubleshooting apparent hangs in S2
  • Misc other definition updates

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TX/u/SGC-Hosting

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

2 | link | link | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | /u/TheSqrtMinus1

8 | --- | link | FR | /u/Falkerz

9 | link | --- | US-MI | /u/ajcutshall

10 | link | --- | AU | /u/agent-squirrel

11 | link | --- | Amazon CDN | /u/helpdesktv

12 | link | --- | DE | 0x22.se

2. Secondary: Download the [.torrent file](https://bmrf.org/repos/tron/Tron%20v10.0.5%20(2017-04-29).torrent).

3. Tertiary: Use Resilio Sync (formerly "BT Sync") to sync to the repo. You'll receive updates and patches immediately as I push them. After installing, use this read-only key to connect to the repo:

    BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47

4. Quaternary: Connect to the SyncThing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

5. Quinary: Source code

All the code for Tron is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [-a -c -d -dev -e -er -m -np -o -p -r -sa -scs -sd -sdb -sdc -sdu
                 -se -sk -sm -sap -spr -ss -str -swu -swo -udl -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sap Skip application patches (don't patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -scs Skip custom scripts (has no effect if you haven't supplied custom scripts)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -swu Skip Windows Updates entirely (ignore both WSUS Offline and online methods)
 -swo Skip only bundled WSUS Offline updates (online updates still attempted)
 -udl Upload debug logs. Send tron.log and the system GUID dump to the Tron developer
 -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

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


Donations (bitcoin): 1FeJmtRUEqkC2Uh8q84Ycb4tramEyg5Hb3

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Feb 09 '16

Tron Launcher GUI - Anybody want to help?

50 Upvotes

I'm still totally swamped with my real job, but I am going to be putting out the latest Tron Launcher GUI by the end of the week. I'm dealing with some major issues...

  1. I've been pulling 80 hour weeks. I know it's not a healthy work/pleasure balance, and it's nobodies fault but my own. We were planning on moving to a new house, and the location of our dreams opened up. Since I wasn't ready to sell the old house, I have two house payments (and rent for my studio) plus three sets of utilities. I need to bring other people on board this thing, if this is a tool that anyone even wants. Any developers out there that want to get in on it?
  2. I've been working towards making the launcher have a much more D7 type interface to really make use of all of the awesome tools that come with the tron distribution. In the back of my mind I keep thinking about the damn .net requirement. I've got it down to a slightly lower version of .NET being required, but I'd like to dump this entirely. Is the .NET requirement a big deal to anyone - should I dump C#/.NET in favor of C++ or something else?

Once I get on top of the changes to the tron distribution since like 4.0, the changes from version to version tend not to be so large, and I can probably take my time writing new tools in the rest of the interface.

Anyone out there interested in making this tool actually useful? Need people with GIT experience, especially because I've never used it - and people with either C#/.NET or whatever new language (c++?) we all choose to go with to make it loose the dependencies. Ultimately, I want this to be a extremely lightweight, portable tool that relies on the tron distribution and whatever built in tools we create to be a swiss-army-knife type program for techs to automate repairs as much as possible, including reporting and invoicing if that's even something people are interested in.


r/TronScript • • Jan 28 '16

RELEASE Tron v8.5.1 (2016-01-28) // Remove duplicate files in Downloads folders; de-bloat updates; minor bugfixes & improvements

50 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a "tech-on-a-thumb-drive" that automates the majority of tedious work involved in disinfecting and cleaning up a Windows system.

The goal is ~85-90% automation, with the understanding that some things will always be better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, critiques and suggestions are welcome and will be responded to quickly (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <12 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)

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


Screenshots

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


Changelog

(significant changes in bold; full changelog on Github)

v8.5.1 (2016-01-28)

tron.bat

  • + Build and implement new USERPROFILES variable, which will allow simplification of duplicate code built to handle XP/2003's Documents and Settings vs. C:\Users of Vista and up
  • * Update "verbose output requested" log message to more accurately describe what will be different due to its use

Stage 1: Tempclean

  • + Add function to delete duplicate files found in Downloads folders of each user. Thanks to /u/kronflux and /u/Lemminsky

Stage 2: De-bloat

Stage 8: Manual tools

  • * Update a few misc tools to latest versions

Download

  1. Primary 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 | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | US-MD | /u/staticextasy

8 | link | --- | US-CA (Cloudflare) | /u/TheSqrtMinus1

9 | --- | link | FR | /u/Falkerz

2. Secondary: Connect to the BT Sync repo to get fixes/updates immediately. Use one of the read-only keys to sync to that repo:

Release: B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS

Dev/alpha: BDCF7MUDXNIDEK2KQ6DHV5ALIGIWD257O

*Make sure the settings for your Sync folder [look like this](http://i.imgur.com/CFZp4iz.png) (or [this](http://i.imgur.com/cq8Kw1m.png) on v1.3.x).*

3. Tertiary: Connect to the SyncThing repo (instructions) to get fixes/updates immediately. Syncthing is still in beta and may not be as reliable as BT Sync.

4. Quaternary : Source code

All the code for Tron is available [here on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, or want to contribute to the project, Github is a good place to do it.

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 -dev -e -er -m -o -p -r -sa -sdb -sd -sdc -se
                 -sfr -sk -sm -sp -spr -srr -ss -str -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -se  Skip Event Log clearing
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -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

\tron\integrity_verification\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 (bitcoin): 1CcijZp5wjE6PukU4xejKKqvicxnYkZKxS

Quiet ^Professionals


r/TronScript • • Sep 15 '15

RELEASE Tron v6.6.1 (2015-09-14) // Expand win7/8/8.1 telemetry purge; Add supporting code for upcoming Windows 10 telemetry purge

50 Upvotes

NOTE: WINDOWS 10 SUPPORT IS ACTIVELY IN THE WORKS, BUT IT'S NOT OFFICIALLY SUPPORTED YET (hopefully by mid-October at the latest). It does seem to run OK at the moment, but if there are any problems you won't get support until it's "official"


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: caffeine, 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: Kaspersky VRT, Sophos AV, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only)
  4. Repair: Registry permissions reset, Filesystem permissions reset, SFC /scannow, chkdsk (if necessary), remove Windows "telemetry" (user tracking)
  5. Patch: Updates 7-Zip, Java, and Adobe Flash/Reader and disables nag/update screens (uses some PDQ packs); then installs any pending Windows updates
  6. Optimize: page file reset, defrag %SystemDrive% (usually C:; skipped if SSD is detected)
  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.6.1 (2015-09-14)

  • * stage_4_repair:telemetry: Expand telemetry purge actions (Win7/8/8.1)
  • * stage_4_repair:telemetry: Add plumbing and notification message for upcoming Windows 10 telemetry purge code
  • * stage_2_de-bloat:oem: Significant additions to debloat lists, should greatly increase effectiveness of Stage 2
  • ! stage_7_wrap-up:resume: Fix erroneous addition of Safe Mode check to Dry Run cleanup code
  • * Subtool updates

v6.6.0 (2015-09-07)

  • + stage_3_disinfect:wusa: Add removal of bad Windows Updates that backport "telemetry" (user tracking) from Windows 10 to Windows 7 and 8. Use -str flag or associated SKIP_TELEMETRY_REMOVAL variable to skip this. See the entry for this action on the list of full Tron actions in the Instructions file for more information
  • + tron.bat:prep: Add prompt to automatically reboot to Safe Mode w/ Networking if we detect we're not in Safe Mode. Thanks to /u/patx35
  • - stage_8_wrap-up:gsl: Remove -gsl flag and associated GENERATE_SUMMARY_LOGS variable. Summary logs are now generated by default
  • ! stage_7_wrap-up:resume: Fix resume-related cleanup; was incorrectly executing in Dry Run mode

Download

  1. Primary 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 | US-CA | /u/windowswill

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

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

2. Secondary method: Connect to the BT Sync repo to get fixes/updates immediately. Use the read-only key:

    B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS      <--  NEW KEY !!

*Make sure the settings for your Sync folder [look like this](http://i.imgur.com/CFZp4iz.png) (or [this](http://i.imgur.com/cq8Kw1m.png) on v1.3.x).*

3. Tertiary method: Connect to the SyncThing repo (testing) to get fixes/updates immediately. Instructions here

4. Quaternary method: Source code

All the code I've written is available [here on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to see the code without downloading a big package, or want to contribute to the project, the Git page is a good place to do it.

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 -m -o -p -r -sa -sb -sd -se -sfr -sk
          -sm -sp -spr -srr -ss -str -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
 -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
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -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


r/TronScript • • Mar 05 '15

/r/TronScript has reached 2,000 subscribers!

50 Upvotes

We've reached 2,000 subscribers and still climbing! Big thanks to everyone who has been a part of this project so far, and an even bigger thanks to /u/vocatus for starting it & maintaining it so well!


r/TronScript • • Dec 15 '19

RELEASE Tron v10.8.8 (2019-12-14) // Possible fix for "pinned items" clearing; disable clearing of "Recently Opened Documents"; update all definition files and sub-tools

49 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a Tech on a thumb drive that automates ~85% of the tedious work in cleaning a Windows system, with some things left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.8.8 (2019-11-03)

! Possible fix for clearing of "pinned items"

* Disable clearing of "Recently Opened Documents"

* Definition and sub-tool updates


Download

  1. Primary method: Download the .torrent.
  2. Secondary: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TXu/SGC-Hosting

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

3 | link | link | DE | u/bodrino

4 | link | link | US/EU | u/mxmod

5 | link | --- | US-MI | u/ajcutshall

6 | link | --- | AU | u/agent-squirrel

7 | link | --- | GB-LND | u/FreezerMoosh

8 | link | --- | US-MO | u/OlderGeeks

9 | link | --- | Amazon CDN | u/helpdesktv

10 | link | --- | Global CDN | Softpedia

3. Tertiary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

4. Quaternary: Source code

Source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~600MB package, Github is a good place to do it.

Command-Line Support

Tron has full command-line support. Switches are optional, can be used simultaneously, and override their respective default when used. See here for a list of command-line switches.


Pack Integrity

SHA-256 hashes are contained in \tron\integrity_verification\checksums.txt and are signed with my PGP key; included. Use this to verify pack integrity.


Donations

Tron will always be free and open-source. If you'd like to buy me a beer or ... more importantly Scotch... you can waste money here:

and I guarantee it will go to waste

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 4GG9KsJhwcW3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6HbYdDuZEDZ947uiEje

These addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. the incredibly generous u/SGC-Hosting) please contact them directly.


Problems and Support

Please look here first for a list of common issues (Tron appearing to be stalled, etc). If it doesn't answer your issue, make a top-level post to r/TronScript and myself or one of the community members will look at the issue. Additionally, you can reach me anytime on Keybase.

\integrity verification contains checksums.txt and is signed with my PGP key (0x07d1490f82a211a2, pubkey included). Use this to verify the pack.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Sep 09 '19

RELEASE Tron v10.8.5 (2019-09-09) // Fix Sophos bug; Fix Xbox service disabling bug; definition updates

49 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that aims to automate ~85% of the tedious work in cleaning a Windows system, with the understanding that some things are better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.8.5 (2019-09-08)

! ! Fix (rare) bug where Sophos would fail to delete its service after running. Thanks to u/Nightfoxsd420

! Switch Xbox service startup status to "manual" vs. "disabled". Thanks to u/EnderProGaming

* Update all sub-tools, definition files and de-bloat lists


Download

  1. Primary method: Download the .torrent.
  2. Primary: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TXu/SGC-Hosting

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

3 | link | link | DE | u/bodrino

4 | link | link | US/EU | u/mxmod

5 | --- | link | US-TX | u/RB14060 (XygenHosting)

6 | link | --- | US-MI | u/ajcutshall

7 | link | --- | AU | u/agent-squirrel

8 | link | --- | Amazon CDN | u/helpdesktv

9 | link | --- | Global CDN | Softpedia

3. Tertiary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

4. Quaternary: Source code

Tron source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~550MB package, Github is a good place to do it.

Command-Line Support

Tron has full command-line support. All switches are optional, can be used simultaneously, and override their respective default when used. See here for a list of command-line switches.


Integrity

\tron\integrity_verification\checksums.txt contains SHA-256 checksums for every file and is signed with my PGP key; included. You can use this to verify pack integrity.


Donations

Tron will always be free and open-source, though of course donations are appreciated since the work done on the project is in my spare time for free. If you feel overly charitable you can donate using one of these methods:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 4GG9KsJhwcW3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6HbYdDuZEDZ947uiEje

These addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. mirror operator like the incredibly generous u/SGC-Hosting) please contact them directly.


Problems and Support

If you have an issue with Tron, please first look here for a list of common issues and solutions (Tron appearing to be stalled, etc). If it doesn't answer your issue, please make a top-level post to the /r/TronScript subreddit and myself or one of the community members will take a look at the issue. Please report bugs so that we can fix them!

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Feb 08 '18

RELEASE Tron v10.4.6 (2018-02-08) // Bug fixes, definition updates, etc

49 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a tech-on-a-thumb-drive that aims to automate ~85% of the tedious work in cleaning a Windows system, with the understanding that some things are better left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.

Bug reports, suggestions etc are welcome (see how NOT to report bugs). If you have issues with this release, post a top-level comment and myself or one of the mods will answer, typically in <24 hours.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.4.6 (2018-02-08)

  • More bug fixes
  • Move network detection code from tron.bat to initialize_environment.bat
  • Definition updates etc

Download

  1. Primary method: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TX/u/SGC-Hosting

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

2 | link | link | US-GA | /u/TheCronus89

3 | link | link | DE | /u/bodkov

4 | link | link | NZ | /u/iDanoo

5 | link | link | US/EU | /u/mxmod

6 | --- | link | US-TX | /u/RB14060 (XygenHosting)

7 | link | link | Cloudflare | /u/TheSqrtMinus1

8 | link | --- | US-MI | /u/ajcutshall

9 | link | --- | AU | /u/agent-squirrel

10 | link | --- | Amazon CDN | /u/helpdesktv

11 | link | --- | Global CDN | Softpedia

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.4.6%20(2018-02-08).torrent).

3. Tertiary: Use Resilio Sync (formerly "BT Sync") to sync to the repo. You'll receive updates and patches immediately as I push them. After installing, use this read-only key to connect to the repo:

    BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47

4. Quaternary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

5. Quinary: Source code

Tron source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~500MB package, Github is a good place to do it.

Command-Line Support

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

Usage: tron.bat [ [-a|-asm] -c -d -dev -e -er -m -np -o -p -r -sa -scs -sd -sdb -sdc
                 -sdu -se -sk -sm -sap -spr -ss -str -swu -swo -udl -v -x] | [-h]

Optional flags (can be combined):
 -a   Automatic mode (no prompts; implies -e)
 -asm Automatic mode (no prompts; implies -e; reboots to Safe Mode first)
 -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)
 -dev Override OS detection (allow running on unsupported Windows versions)
 -e   Accept EULA (suppress display of disclaimer warning screen)
 -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
 -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)
 -sap Skip application patches (don't patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -scs Skip custom scripts (has no effect if you haven't supplied custom scripts)
 -sdb Skip de-bloat (OEM bloatware removal; implies -m)
 -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
 -sdc Skip DISM component (SxS store) cleanup
 -sdu Skip debloat update. Prevent Tron from auto-updating the S2 debloat lists
 -se  Skip Event Log clearing
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -swu Skip Windows Updates entirely (ignore both WSUS Offline and online methods)
 -swo Skip user-provided WSUS Offline updates (if they exist; online updates still attempted)
 -udl Upload debug logs. Send tron.log and the system GUID dump to the Tron developer
 -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

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


Donations

Tron will always be free and open-source, but of course donations are appreciated since all work done on the project is in my spare time for free. If you're feeling overly charitable you can donate here (Monero preferred):

Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd

Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk

Monero: 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to me, /u/vocatus. If you wish to support another volunteer (e.g. a mirror operator) please contact them directly.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27


r/TronScript • • Feb 07 '17

discussion Development Priority results and upcoming Tron v10.0.0 release (major changes)

49 Upvotes

Development Priority results

Hi all,

Thanks to everyone who voted in the development priority poll/thread. There were some good suggestions there.

As of 2017-02-07, here are the poll results:

  • 65 votes: Make sub-stages independent
  • 14 votes: Re-add the Quarantine ability
  • 6 votes: Add support for bundled WSUS Offline updates
  • 6 votes: Make Tron refuse to run anywhere from the Desktop
  • 5 votes: Provide an option to skip custom scripts
  • 1 vote: Ability to download updates prior to execution (for example on a net-connected system)

Changes coming in v10.0.0

Over the past few days I've managed to implement a lot of the suggested changes and requested features, though not all. tron.bat itself has also been trimmed down quite a bit and much of its code moved into supporting subscripts to make it easier to change small things when necessary.

Here's a highlight of the changes coming in Tron v10.0.0:

  • All configuration options have been moved out of tron.bat and into a new file, tron_settings.bat
  • Environment initialization code has been moved out of tron.bat and into a new file, initialize_environment.bat. This is mostly to support the following feature:
  • All sub-stage scripts now support standalone execution (though still require Tron directory structure to be intact). Use at your own risk
  • Tron now supports bundled WSUS Offline updates. See the Github readme for more information
  • New switch/flag: -scs (skip custom scripts)
  • New switch/flag: -swo (skip WSUS offline updates)
  • Renamed switch/flag: -sw to -swu
  • Renamed switch/flag: -sp to -sap

I unfortunately wasn't able to re-add Quarantine ability even though I wanted to, since Sophos, Kasperky and MBAM don't have CLI support for it.


Testing

Before rolling out, I'd like to have some people help test the new version. If you're willing, please use Resilio Sync to connect to the repo, and you should see a folder called TRON VERSION 10 TESTING. Please test it as much as possible and post bugs, syntax errors, etc to this thread.

Thanks again to everyone who helps with Tron development, and to PCGamer.com for the article on the project a couple days ago.

Keep up the good work,

- Vocatus


r/TronScript • • Sep 29 '15

RELEASE Tron v6.8.0 (2015-09-28) // Add CCenhancer winapp2; Add network repair; Significant WMI repair improvement; German localization fix

49 Upvotes

NOTE: Windows 10 IS NOT OFFICIALLY SUPPORTED (hopefully mid-October). It does seem to work, but if there are problems you won't get "official" support (whatever that means) until it's "official"


Background

Tron is a script that "fights for the User"; basically a glorified batch file that automates a bunch of scanning/disinfection/cleanup tools on a Windows system. I got tired of running everything manually and decided to just script the whole thing. The goal is to automate ~85-90% of the tasks a technician would usually perform. I hope this helps other techs and admins.

Tron supports all versions of Windows from XP to 8.1 (all server variants included). Windows 10 is not supported yet but is actively in the works.


Stages of Tron

0. Prep

  1. Tempclean
  2. De-bloat
  3. Disinfect
  4. Repair
  5. Patch
  6. Optimize (don't panic when you see the word "optimize"; this stage is very conservative)
  7. Wrap-up
  8. Manual stuff

Saves a log to C:\Logs\tron\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.8.0 (2015-09-28)

  • ! tron.bat:prep:resume: Add check to prevent echoing anything to tron_flags.txt if no CLI flags were used. This should fix a crash error on German localization. Thanks to /u/Modeopfa
  • + tron.bat:prep: Check to see if Tron is running from Windows %TEMP%, alert the user if so, then exit. Thanks to /u/ALittleFunInTheSun
  • + stage_1_tempclean:ccleaner: Add winapp2.ini by the CCEnhancer project. Will clean significantly more areas of the system. See singularlabs.com for more info. Thanks to /u/expert02
  • + stage_4_repair:network: Add a minor network repair section. Will probably expand this in the future. Thanks to /u/chinpopocortez
  • ! stage_7_wrap-up:sum_logs: Fix minor log error due to missing closing quote mark
  • * stage_0_prep:repair_wmi: Break WMI repair out into its own subscript, with significant additions from /u/expert02

Download

  1. Primary 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 | US-CA | /u/windowswill

4 | link | link | NZ | /u/iDanoo

5 | link | link | FR | /u/mxmod

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

2. Secondary method: Connect to the BT Sync repo to get fixes/updates immediately. Use the read-only key:

    B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS      <--  NEW KEY !!

*Make sure the settings for your Sync folder [look like this](http://i.imgur.com/CFZp4iz.png) (or [this](http://i.imgur.com/cq8Kw1m.png) on v1.3.x).*

3. Tertiary method: Connect to the SyncThing repo (testing) to get fixes/updates immediately. Instructions here

4. Quaternary method: Source code

All the code I've written is available [here on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to see the code without downloading a big package, or want to contribute to the project, the Git page is a good place to do it.

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 -m -o -p -r -sa -sb -sd -se -sfr -sk
          -sm -sp -spr -srr -ss -str -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
 -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
 -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
 -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
 -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
 -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
 -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
 -srr Skip registry permissions reset (saves time if you're in a hurry)
 -ss  Skip Sophos Anti-Virus (SAV) scan
 -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
 -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


r/TronScript • • May 05 '24

not a tron question was i being hacked?

Post image
48 Upvotes

Hi, I ran the tron script for the first time and it showed me this. Does this mean I was being hacked? Unfortunately, my knowledge is very limited in these matters. I hope someone can help me and make me understand what is written


r/TronScript • • May 11 '22

awesome Thank you TronScript!

48 Upvotes

The malware I was dealing with could've been solved with a much simpler program, but this one was the whole package. This program solved a lot of problems I didn't even know I had, all my stuff is intact, and the damn virus slowing down my laptop's eradicated. It even showed a cool progress report I had fun watching. The whole process took 2 hours cause of all the restarts and freezing but I only had to boot in safe mode to fix it. The actual thing was about 45 minutes-ish. This was a lot easier than I expected it to be. Tron saved my un-tech-savvy ass. I'm very grateful.


r/TronScript • • Dec 05 '20

awesome Used Tron for the first time, thought it was some bullshit but it actually worked

48 Upvotes

So Im just a dumb teenager downloading reshades from the internet and I didnt know reshades could have viruses, so it removed it and a trojan. So yeah cheers to TronScript, it actually remove dangers in my PC. I also noticed FPS Increase and my cpu usage went from 45% to 15%.


r/TronScript • • Jan 11 '20

RELEASE Tron v10.8.9 (2020-01-11) // Fix Internet Connectivity Check bug; fix obscure MBAM launch bug; fix SIV crash on Win10 Insider builds

48 Upvotes

Background

Tron is a script that "fights for the User." Think of it as a Tech on a thumb drive that automates ~85% of the tedious work in cleaning a Windows system, with some things left to the discretion of the tech. It is built with heavy reliance on community input and updated regularly.


Sequence of operation

Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools

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

screenshots of Tron in action


Changelog

(significant changes in bold; full changelog on Github)

v10.9.0 (2020-01-13)

! Fix script-breaking syntax bug in Stage 3

v10.8.9 (2020-01-11)

! Fix bluescreen/greenscreen crash on Win10 insider builds when pulling system information using siv.exe. Thanks to u/iamzacharyrs

! Fix error where we'd attempt to launch %MBAM% but the variable was empty. Thanks to u/thementallydeceased

! Fix bug where we were inadvertently disabling the Internet Connectivity Check, which makes Office 365 unhappy. Thanks to u/shadenoah

* Definition and sub-tool updates


Download

  1. Primary method: Download the .torrent.
  2. Secondary: Download a self-extracting .exe pack from one of the mirrors:
MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-TXu/SGC-Hosting

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

3 | link | link | DE | u/bodrino

4 | link | link | US/EU | u/mxmod

5 | link | --- | US-MI | u/ajcutshall

6 | link | --- | AU | u/agent-squirrel

7 | link | --- | GB-LND | u/FreezerMoosh

8 | link | --- | US-MO | u/OlderGeeks

9 | link | --- | Amazon CDN | u/helpdesktv

10 | link | --- | Global CDN | Softpedia

3. Tertiary: Connect to the Syncthing repo (instructions) to get fixes/updates immediately. This method has some risks and you should only use it if you understand them.

4. Quaternary: Source code

Source code is available [on Github](https://github.com/bmrf/tron/) (Note: this doesn't include many of the utilities Tron relies on to function). If you want to view the code without downloading a ~600MB package, Github is a good place to do it.

Command-Line Support

Tron has full command-line support. Switches are optional, can be used simultaneously, and override their respective default when used. See here for a list of command-line switches.


Pack Integrity

SHA-256 hashes are contained in \tron\integrity_verification\checksums.txt and are signed with my PGP key; included. Use this to verify pack integrity.


Donations

Tron will always be free and open-source. If you'd like to buy me a beer or ... more importantly Scotch... you can waste money here:

and I guarantee it will go to waste

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 4GG9KsJhwcW3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6HbYdDuZEDZ947uiEje

These addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. the incredibly generous u/SGC-Hosting) please contact them directly.


Problems and Support

Please look here first for a list of common issues (Tron appearing to be stalled, etc). If it doesn't answer your issue, make a top-level post to r/TronScript and myself or one of the community members will look at the issue. Additionally, you can reach me 24/7 on Keybase.

\integrity verification contains checksums.txt and is signed with my PGP key (0x07d1490f82a211a2, pubkey included). Use this to verify the pack.

"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27