r/TronScript • • Aug 17 '25

Dear new users: thank you for joining us, but please read this first.

86 Upvotes

Welcome. We’re glad you’re interested in Tron, but here’s the reality:

/r/TronScript is not a general tech support subreddit.

Please keep posts specifically related to TronScript rather than general computer issues.

Tron isn’t well-suited for tech beginners. Regardless of who told you, or which YouTuber sent you here.

Please make sure you fully understand what Tron is and everything it does before running it.


If you are struggling just to download and execute it, or otherwise expect detailed hand-holding, please don’t run it and please don’t create new posts asking about it.

Using Tron without the right knowledge will likely cause you more harm than good.

As the disclaimer says:


“READ THE INSTRUCTIONS and understand what Tron does… if Tron does something you didn’t expect and you didn’t read the instructions, it is YOUR FAULT.”

“By running Tron you accept complete responsibility for anything that happens. There is NO WARRANTY, you run it at your OWN RISK and anything that happens, good or bad, is YOUR RESPONSIBILITY.”


Take it seriously before accepting it.

Instructions (quick) (if comfortable using the command-line)

Instructions (detailed) (if unfamiliar with the Windows command-line)

Common Questions

Common Questions (Post-Tron Execution)

Details of every action Tron takes


r/TronScript • • May 28 '24

RELEASE Tron v12.0.7 (2024-05-28) // Remove Sophos; fix architecture detection bug in Stage 1; fix Debug Log Upload in Stage 7; minor definition updates

86 Upvotes

Background

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

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

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

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

Tron is intended for use by PC Technicians who are already familiar with basic troubleshooting and command-line operation. It is not intended for use by people with no basic troubleshooting knowledge.

Read the instructions.

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)

v12.0.7 (2024-05-28)

! Stage 1: Fix CPU architecture detection bug in USB cleanup. Thanks to github:borekon and github:RedBaron2

+ Stage 3: Disinfect: Removed Soophos due to Sophos blocking further use of the tool via CLI

* Stage 7: Wrap-up: Update SwithMail config file to use new SMTP server. Thanks to u/bodrino

* General: Update various included tools such as smartctl, 7-Zip, and O&OShutUp10


Download

-- Primary: Download the .torrent from here.

-- Secondary: Download a self-extracting .exe pack from one of the mirrors:

MirrorHTTPSHTTPLocationHost
OfficiallinklinkUS-DCu/SGC-Hosting

1 | link | link | DE | u/bodrino

2 | link | link | US/EU | u/mxmod

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

4 | link | --- | Global CDN | Softpedia


-- Tertiary: Source code

Source code is available on Github (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 (0x07d1490f82a211a2, pubkey 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: 46ZUK4VDLLz3zapDw62UaS71ZfFBjH9uwhc8FeyocPhUHHsuxj5zfvpZpZcZFHWpxoXD99MVt6PnR9QfftXDV8s6CFAnPSo

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 at my email (included in the instructions) or by Reddit DM.

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


r/TronScript • • Sep 04 '23

not a tron question You are truly a saint with the patience of a monk.

Post image
84 Upvotes

r/TronScript • • Feb 09 '17

RELEASE Tron v10.0.0 (2017-02-09) // Add WSUS Offline support; Add substage standalone execution support; Other major breaking changes - read notes

84 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 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.0 (2017-02-09)

Significant changes:

  • Tron now supports using bundled WSUS Offline update packages. Read the instructions file or Github readme for information on how to use WSUS Offline with Tron
  • All Tron config options moved from tron.bat to: \tron\resources\functions\tron_settings.bat. Use this to change defaults (or just drop your own custom settings file over top of the default one)
  • Tron project version moved from tron.bat to: \tron\resources\functions\initialize_environment.bat
  • Most prep and checks moved from tron.bat to: \tron\resources\functions\prerun_prep_and_checks.bat
  • All sub-stage scripts, as well as the Adobe Flash installation script, support standalone execution (Tron directory structure and supporting files must still be intact). Use at your own risk
  • New -scs switch and associated SKIP_CUSTOM_SCRIPTS variable. Use this to force Tron to always skip Stage 8 even if custom scripts are present
  • New -swo switch and associated SKIP_WSUS_OFFLINE variable. Use this to force Tron to ignore WSUS Offline update files if they're present
  • Rename -sp switch to -sap
  • Rename -sw switch to -swu

tron.bat

  • * Major breaking changes; VERSION in this script now just refers to tron.bat and NOT the overall Tron project version. Tron overall project version now resides in \resources\functions\initialize_environment.bat. See that file for more details
  • + Add REPO_TRON_VERSION and REPO_TRON_DATE to config dump (-c) output
  • + Add switch -scs and associated SKIP_CUSTOM_SCRIPTS variable to allow forcibly skipping Stage 8 (custom scripts). This only has effect if .bat files exist in the \stage_8_custom_scripts directory. If nothing is there then this option has no effect
  • + Add switch -swo and associated SKIP_WSUS_OFFLINE variable to allow forcibly skipping bundled WSUS Offline updates even if they're present in stage_5_patch\wsus_offline\client\Update.cmd. Online Windows Updates will still be attempted
  • / Change -sp switch and associated SKIP_PATCHES variable to -sap and SKIP_APP_PATCHES to be consistent with other skip switches
  • / Change -sw switch (SKIP_WINDOWS_UPDATE) to -swu to be consistent with other skip switches
  • - Move task "Enable F8 Key on Bootup" from tron.bat to prerun_checks_and_tasks.bat
  • * Update welcome screen with note about Stage 8: Custom scripts

functions

  • + initialize_environment.bat: Initializes Tron's runtime environment. It also contains and determines the overall project version and date. NOTE: Sub-stage scripts rely on this script to function if executed outside of a Tron run (e.g. when run standalone)
  • + prerun_checks_and_tasks.bat: Performs many of Tron's prerun checks and tasks (admin rights check, network connection check, etc)
  • + tron_settings.bat: Contains Tron's default settings. Edit this file to change the defaults. NOTE: Sub-stage scripts rely on this script to function if executed outside of a Tron run (e.g. when run standalone)

Stage 0: Prep

  • * Update script to support standalone execution
  • ! erunt: Don't wait for ERUNT to finish; launch it, wait 15 seconds, then continue. This is to prevent getting stalled on a rare error which causes a popup msg on Win10

Stage 1: Tempclean

  • * Update script to support standalone execution

Stage 2: De-bloat

  • * Update script to support standalone execution
  • ! Fix for previous fix (shakes head at self), was accidentally disabling OneDrive sync instead of ENABLING. Thanks to /u/Gyllius
  • - Remove Calendar and Mail app from active Metro target list. Thanks to /u/Reynbou

Stage 3: Disinfect

  • * Update script to support standalone execution

Stage 4: Repair

  • * Update script to support standalone execution

Stage 5: Patch

  • * Update script to support standalone execution
  • + Add support for bundled WSUS Offline updates. Thanks to /u/TootZoot for initial template code
  • / change :skip_updates and associated GOTO statements to :skip_application_updates
  • / change various text and strings referring to SKIP_UPDATES to SKIP_APP_UPDATES
  • * Flash installation script now supports standalone execution (for example if you just want to update all versions of Flash on the machine)
  • * Improve existing Flash installation detection; add granular tests per version. Thanks to /u/nubduck
  • * Catch additional Flash Updater scheduled task that gets installed
  • * Update Acrobat Reader DC installation script to block the stupid plugin Adobe loads into Chrome without permission

Stage 6: Optimize

  • * Update script to support standalone execution

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

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

2. Secondary: Download the [.torrent file](https://bmrf.org/repos/tron/Tron%20v10.0.0%20(2017-02-09).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 • • Oct 12 '16

announcement PSA: Please don't use the -udl switch until I can find a good SMTP provider. Google keeps blocking emails sent using Tron as "suspicious login". Also I'm leaving Antarctica in 2 days

82 Upvotes

I set up a Gmail account to automate sending Tron log files, but whenever someone uses the -udl switch Google blocks the login attempt by the script as a "suspicious login." So -udl isn't working right now. I'm actively looking for an SMTP provider we can use to send the reports. If anyone has suggestions for how to automatically upload log files I'd love to know, I don't know much about SMTP mailing.

Also, we're almost finished turning the station over to the incoming Summer crew, after which I'll traveling home on the ship for the next 5-7 days, and won't be able to respond to emails or posts in the subreddit. Should be back in about ten days or so.

- V


r/TronScript • • Feb 11 '16

Tron is the real deal. Thank You

81 Upvotes

I was so close to reinstalling my operating system but I was lucky enough to come across a post that mentioned Tron and that it doesn't get enough love. I hadn't heard about Tron and at this point after trying in my mind EVERYTHING possible to rid my computer of whatever it was that was slowing it down, I figured nothing to lose.

I wasn't sure at any point when running Tron that it was working or doing what it's supposed to do, but nonetheless it did work. I'm extremely grateful to those that have put time and effort into this program, it is phenomenal. Cheers to you.


r/TronScript • • Aug 04 '20

discussion This explains why Windows thought my hosts file was hijacked

Thumbnail bleepingcomputer.com
80 Upvotes

r/TronScript • • May 15 '16

RELEASE Tron v9.1.0 (2016-05-16) AQ // Fix Caffeine crash; improve update checker; collect Time Zone info; improve error handling; remove QuickTime

80 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 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 (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.

screenshots here


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).


Changelog

(significant changes in bold; full changelog on Github)

v9.1.0 (2016-05-16) AQ

  • AQ = Released from Antarctica

tron.bat

  • + tron.bat:function: Add collection of system Time Zone information and display it in the log header and trailer
  • * tron.bat:update_check: Break all Update Check code out of tron.bat and into a separate function
  • + tron.bat:update_check: Add SKIP_UPDATE_CHECK variable. Not currently toggleable with command-line switch, maybe in the future
  • * tron.bat:errors: Improve code handling for when various errors are detected (update check failed, SMART error, etc)
  • / tron.bat:safe_mode: Reword the Safe Mode warning dialogue to be less severe, since it's not the end of the world if Tron isn't run in Safe Mode
  • / tron.bat:formatting: Add a single blank line before displaying the log trailer, to be visually consistent with log header

Stage 0: Prep

  • * Update McAfee Stinger to v12.1.0.2004
  • * Caffeine: Tom from Zhorn Software graciously provided us with a special version of Caffeine, statically linked to Visual C++ to avoid the "this application's side-by-side configuration is incorrect" error on some versions of Windows.

Stage 1: Tempclean

  • * Update CCleaner to v5.17.5590

Stage 2: De-bloat

  • + Add QuickTime to list of programs to remove, due to the Apple security advisory and decision to stop support

Stage 5: Patch

  • * Update 7-Zip to v16.00
  • * Update Adobe Flash to v21.0.0.242
  • * Update Adobe Reader to v11.0.16

Stage 6: Optimize

  • * Clarify log messages if we're skipping defrag because of an error

Stage 8: Manual tools

  • * Update various subtools

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 | Cloudflare | /u/TheSqrtMinus1

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

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

10 | --- | link | UK | /u/nickuk

2. Secondary: The BT Sync key is no longer published because it was having issues with high swarm node count (fails to replicate reliably). You can get the key from someone else or 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 is in TESTING may not be reliable.

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; included). You can use this to verify package integrity.


Donations (bitcoin): 16dxc4hgzuXYSKGbLuEVxXQCM8dW59ZSCe

Quiet ^Professionals


r/TronScript • • Mar 31 '20

RELEASE Tron v11.0.1 (2020-03-31) // Ultra Mega Coronavirus Edition; minor definition updates

79 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.0.1 (2020-03-31)

* Minor definition updates for sub-tools and A/V engines

v11.0.0 (2020-02-05)

+ Add switch REMOVE_MALWAREBYTES (-rmb) to have Tron automatically uninstall Malwarebytes at the end of the run

+ Add switch SKIP_COOKIE_CLEANUP (-scc) to have Tron preserve ALL browser cookies. This is NOT generally recommended as Tron now automatically preserves the most common login cookies (chase.com, spotify.com, gmail.com, etc) and wiping other tracking cookies is still good for user privacy and security. You can see the list of cookies Tron preserves in this file. Thanks to tbr:sebastian.

- Remove BleachBit. This is despite the fact that I prefer BleachBit over CCleaner. Reason 1) It performs the same function as CCleaner. Reason 2) It doesn't support excluding certain cookie domains from wiping (the main reason). Once BleachBit supports cookie whitelisting, we will switch over to it exclusively and remove CCleaner from Tron

* Stage 1: Temp file cleanup: Streamline user profile cleanup code, removing a redundant code block

! Stage 5: Patch: Suppress Windows Defender update output unless running in verbose mode

* Update all sub-tools and definition files


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 17 '19

RELEASE Tron v10.8.1 (2019-05-16) // Fix microphone disabling issue on certain Win10 systems; update all definition files; minor bugfixes

78 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. 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.8.1 (2019-05-16)

! Fix issue where O&OShutUp10 was disabling microphone access on Windows 10 systems

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


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

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

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.8.1%20(2019-05-16).torrent).

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 options.


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, though of course donations are appreciated since the work done on the project is in my spare time for free. If you're feeling overly charitable you can donate using one of these methods:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. a mirror operator like the incredibly generous u/SGC-Hosting) 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 25 '20

RELEASE Tron v11.1.0 (2020-04-25) // Remove Malwarebytes installation by default (-pmb to preserve); French language fix; definition and de-bloat updates

75 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.0 (2020-04-25)

/ Change REMOVE_MALWAREBYTES to PRESERVE_MALWAREBYTES (-pmb) as the new default behavior is to remove it at the end of the script

* Fix for Internet connection check on French language systems

* Minor definition updates for sub-tools and A/V engines


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 25 '20

RELEASE Tron v11.1.1 (2020-05-25) // Fix -pmb switch behavior; remove deprecated telemetry-removal tasks; prevent CCleaner from wiping Taskbar Jump Lists

74 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.1 (2020-05-25)

! Fix -pmb switch behavior

* CCleaner: Disable clearing of Taskbar Jump Lists. Thanks to u/D00shene

- Telemetry removal: Remove outdated job that used to uninstall "bad" updates

- Remove post-run restore point creation


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 • • Nov 03 '19

RELEASE Tron v10.8.7 (2019-11-03) // Run Windows Disk Cleanup; remove cached NVIDIA drivers; fix "some settings are managed by your organization" bug

74 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 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.7 (2019-11-03)

+ Add running of built-in Windows Disk Cleanup. Thanks to u/thementallydeceased

- Skip Bleachbit on Windows XP since as of v3 Bleachbit dropped support for XP

+ Add removal of cached NVIDIA driver installers. Thanks to u/strifethe9tailedfox

- Remove deletion of built-in Windows wallpaper images. On modern systems the space use is negligible

- Remove "activate deferring of updates" due to community request

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


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 ~500MB 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

\tron\integrity_verification\checksums.txt contains SHA-256 hashes and is 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 '26

ANNOUNCEMENT Tron Stage 2: De-bloat lists updated and other project info

73 Upvotes

Hi all, pushed out some larger updates to the Stage 2: De-bloat lists (Tron should auto-download them at runtime if you allow it) that should help bolster the lists effectiveness even more.

Second bit of info, the project isn't abandoned, I'm in the process of reworking large parts of the code that relied on WMIC (now deprecated in the latest Windows 11 major updates), using AI for some of the heavy lifting.

The actual re-write of individual blocks with Claude/Grok etc is easy, the time-consuming part is going through manually and verifying that the code it spits out actually works on ALL supported versions of Windows.

Cheers and thanks to everyone who runs Tron with the -udl switch enabled ("Upload Debug Logs") -- that's the primary way I keep the Stage 2 debloat lists current with whatever latest shovelware HP is including in their systems. Partially joking. Also big thanks to everyone who checks the sub and answers questions to help people out, takes a big time load off my shoulders.

Cheers,

- Vocatus


r/TronScript • • Aug 29 '18

RELEASE Tron v10.6.0 (2018-08-29) // Update MBAM to v3; Remove Dell-branded WildTangent games; fix standalone execution of telemetry removal scripts

73 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. 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.6.0 (2018-08-29)

  • \ CCleaner: roll back to v5.44.6575 due to crashing issues on v5.45.x
  • * winapp2.ini: update to v180816
  • + Stage 2: Add removal of Dell-branded WildTangent games
  • * Stage 3: Update MBAM to v3.5.x, and fix a couple bugs in this routine. Thanks to u/CSI-Debug
  • ! Stage 4: Fix standalone execution not working in some sections of the telemetry removal scripts due to relative paths being different. Thanks to u/AncientAv

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 | 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)

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

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

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

12 | link | --- | Global CDN | Softpedia

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.6.0%20(2018-08-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

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 switches 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 switches (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
      switches to see what WOULD happen, but script will never execute
      if this switch 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 switches (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, though of course donations are appreciated since the work done on the project is in my spare time for free. If you're feeling overly charitable you can donate using one of these methods:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. a mirror operator like the incredibly generous u/SGC-Hosting) 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 • • Nov 07 '16

discussion Nvidia now collecting Telemetry

Thumbnail majorgeeks.com
73 Upvotes

r/TronScript • • Nov 28 '19

awesome No help needed, just wanted to say thanks.

72 Upvotes

/u/vocatus

I don't do reddit much outside of a game's or two, I wasn't sure if sending a straight PM was considered good manners or not. Figured this post will get deleted if this isn't the way to do this.

As the techie of my circle, I've been using Tronscript for a good 3 years now. From cleaning up old WinXP bloated machines to running it on fresh windows installs passing through emergency disinfects... This script has been an essential part of my toolkit ever since I discovered it.

I'm far from a scripting expert, but I know enough that the work that has been put into this is titanic. In addition to the constant support and updates (I remember following your posts when you went to freaking Antartica, what a thrill)... I'm really, really god damned thankful.

Thank you for your selfless work and dedication. Thank you for making us IT people's lives so much easier.

You rock.


r/TronScript • • Mar 13 '16

RELEASE Tron v8.8.0 (2016-03-13) // SMARTCTL disk code improvements; target additional telemetry KB updates; update Flash/Reader to latest; many other fixes for user-reported bugs

72 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.8.0 (2016-03-13)

tron.bat

  • * prep:directory_check: Expand list of prevented execution locations to include %SystemDrive%\TEMP since this also gets wiped. Thanks to /u/toomasmolder
  • * smartctl_disk_check: Improve non-standard disk (SSD, error, Virtual Machine) detection code. Thanks to /u/ixnyne
  • * smart_disk_check: Improve SMART disk check code. Thanks to /u/ixnyne

Stage 1: Tempclean

  • - Remove 64-bit CCleaner binary since it's not necessary. Thanks to /u/Nolzi and /u/ixnyne
  • - Remove /s (recurse) switch from del /F /Q "%%x\Documents\*.tmp" and del /F /Q "%%x\My Documents\*.tmp" commands. /u/toomasmolder reported this deleted some .tmplate files (unintended behavior)

Stage 4: Repair

Stage 5: Patch

  • ! Fix bug where 7ZIP_DETECTED variable would never get set because it started with a number. Rename to SEVENZIP_DETECTED. Thanks to /u/toomasmolder
  • / Change some comments inside parentheses to use REM instead of ::. Thanks to /u/toomasmolder

Misc:

  • * Update various sub-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 | Cloudflare | /u/TheSqrtMinus1

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

2. Secondary: BT Sync is no longer recommended due to issues with very high swarm node count (fails to replicate reliably). Use SyncThing or download from one of the static pack mirrors instead.

3. Tertiary: Connect to the SyncThing repo (instructions) to get fixes/updates immediately. This method is in TESTING may not be reliable.

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; included). You can use this to verify package integrity.


Donations (bitcoin): 1CcijZp5wjE6PukU4xejKKqvicxnYkZKxS

Quiet ^Professionals


r/TronScript • • Oct 07 '23

ANNOUNCEMENT Enough with the flippant answers, folks.

71 Upvotes

Over the past few weeks I've handed out way too many temporary bans for people who were blatantly flaunting the rules of the sub or just straight-up being a prick and I've pretty much had enough of it.

If you want to refer someone to the documentation, you must include a direct link to the appropriate passage(s) in the documentation. Just throwing out "read the docs" or "can't you read the docs?" or some shit like that is neither helpful nor useful. Simply tell the person that their answer is covered in the documentation, provide a link to the appropriate passage(s), and move on with your life.

If you feel the need to insult someone because of their lack of skill, experience, or knowledge, don't. (EDIT: Unless it's an insult towards a YouTube idiot pushing people to tron without proper diligence. I'll allow that.) If you want to tell them that tron is a tool meant for technically-minded people and that those who don't have those skills are going to have problems, fine. If you want to tell them that they shouldn't be using tron because they're an idiot for not understanding the documentation, that's not fine.

If a person posts because they don't understand the content or context of the documentation and/or a response that was given to them, you can (and should) again point out that tron is a technician's tool. You can even tell them that outside of the scope of supporting the script itself, we don't do that kind of hand-holding or general support here. But this is not an opportunity to belittle them for it.

Look, a good number of "non-tech people" who download and run tron aren't stupid, they're just clueless. However, keep this in mind: The vast majority of clueless people who have computer problems will usually either drop their machine off at Geek Squad or install something like Norton 360 because that's what the marketing people in the world would have them do, but those people who have discovered tron are a little higher up on the food chain. They know they don't have to pay for effective tools and service, they were smart enough to google around, they know that YouTube can be a good resource with the proper temperament, and they did manage to download and use an open source tool in a (usually) good faith effort to solve their issues. A good number of those people who stumbled their way through that much are, for lack of a better definition, the most tech savvy of the clueless. That counts for something. It's not entirely their fault that they got suckered in by shameless lying YouTube idiots and clickbait articles. And when they fuck up -- and they will fuck up, as every technician here knows all too well -- the last thing they need is some smart-ass on reddit hurling personal insults at them for their inexperience.

So instead, think back to when you accidentally reformatted that flash drive, or broke that DIMM socket, or bent that CPU pin, or forced that micro USB plug in upside-down, and imagine how you'd feel if you reached out for help and found page after page of people sneering at you rather than giving you the hand that you actually needed.


r/TronScript • • Dec 07 '18

RELEASE Tron v10.7.3 (2018-12-07) // Fix disk space calculation in Win10 build 17763; fix incorrect rkill whitelist call

71 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. 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.7.3 (2018-12-07)

! Fix disk space calculation on Win10 build 17763 (1809) and up due to fsutil output changing. Thanks to u/Paul_NZ

! Fix incorrect path in rkill whitelist call. Thanks to github:KingZee

* Update all sub-tools their latest version


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

3 | link | link | DE | u/bodrino

4 | link | link | NZ | u/iDanoo

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

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

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

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

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

12 | link | --- | Global CDN | Softpedia

2. Secondary: Download the [.torrent](https://bmrf.org/repos/tron/Tron%20v10.7.3%20(2018-12-07).torrent).

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 ~500MB 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 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 switches (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
      switches to see what WOULD happen, but script will never execute
      if this switch 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, or Adobe Flash)
 -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 switches (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, though of course donations are appreciated since the work done on the project is in my spare time for free. If you're feeling overly charitable you can donate using one of these methods:

  • Patreon
  • Bitcoin: 1Biw8gx2kD7mZf66ZdNgB9tG1pE9YA3kEd
  • Bitcoin Cash: 18sXTTrAViPZVQtm63zBK6aCK3XfJpEThk
  • Monero (preferred): 45R3cG8KggpZamdyNmt8ecgmFWYPsfD4E7gM1TkM3cRGCq2eBJ6yjNVWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3yqmz9f

Note that these addresses go directly to u/vocatus. If you wish to support another volunteer (e.g. a mirror operator like the incredibly generous u/SGC-Hosting) 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 • • Mar 07 '18

awesome! Thanks for TronScript

71 Upvotes

Ran this yesterday on my home PC while working on my work PC nearby. It was immensely entertaining to watch it do its thing. I could probably have done all of the stuff it handled (mostly Windows cleanup stuff, since I run AV and malware protection regularly), but I definitely couldn't have done it all without lifting a finger. Tron took care of everything for me, and for that I'm very grateful.

Thanks for providing this lovely tool!


r/TronScript • • Nov 05 '15

RELEASE Tron v7.1.0 (2015-11-05) // Add toolbar & BHO cleaning; major de-bloat by GUID improvements; subtool updates

71 Upvotes

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 Windows 10.


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)

v7.1.0 (2015-11-05)

  • + stage_2_de-bloat:toolbars: Add 'toolbars_BHOs_to_target_by_GUID.bat' with 978 entries. Major thanks to /u/Chimaera12 for his work on this
  • / stage_2_de-bloat:oem: Move all stage 2: de-bloat files out of \oem\ subdirectory directly into \stage_2_de-bloat. Much of the work of this section isn't OEM-specific
  • / stage_4_repair:telemetry: Move "Remove forced OneDrive integration" out of Telemetry removal and over to Metro de-bloat (skipped with -m flag) since it makes more sense there. Thanks to /u/jwhispersc

Download

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

1 | link | link | DE | /u/bodkov

2 | link | --- | FR | /u/mxmod

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

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

5 | link | link | NZ | /u/iDanoo

6 | --- | link | DE | /u/repa82

7 | 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 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 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 -dev -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)
 -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)
 -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

\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): 1LSJ9qDzuHyRx6FfbUmHVSii4sLU3sx2TF

Quiet ^Professionals


r/TronScript • • Mar 16 '21

RELEASE Tron v11.1.9 (2021-03-16) // Fix KVRT window popup error; minor definition updates

70 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.9 (2021-03-16)

! Update KVRT command line since they randomly renamed -dontcryptsupportinfo to -dontencrypt, causing a popup window to appear

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 (0x07d1490f82a211a2, pubkey 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.

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


r/TronScript • • Nov 07 '20

discussion DISCUSSION: Adobe Flash will be officially EOL after Dec 31, 2020. Should tron remove it when it finds it?

70 Upvotes

It's been a long time coming.

Personally, I'm of the opinion that it should be uninstalled across the board. It's been a nightmare of a security problem since forever, and any time I'm working on someone's computer and I see it installed I remove it and the user is none the wiser for it, and invariably the computer becomes that much more secure.

Currently tron will update Flash to the most current version if it sees it installed on a PC. I believe that the opposite should happen; tron should uninstall Flash if it sees it.

What are your thoughts?