r/TronScript • u/TimeToDoDoPhotoshop • Jan 24 '21
awesome THANK YOU!
Thank you so much this worked amazingly well!
r/TronScript • u/TimeToDoDoPhotoshop • Jan 24 '21
Thank you so much this worked amazingly well!
r/TronScript • u/vocatus • Jul 16 '19
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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | Manual tools
Saves a log to C:\logs\tron\tron.log (configurable).
(significant changes in bold; full changelog on Github)
v10.8.3 (2019-07-03)
* Attempt to install .NET 3.5 (win10 systems only) if it's missing, to enable Stinger scan. Thanks to u/bubonis
! Fix bug where we'd install new 7-Zip alongside an old existing version. Older versions are now removed prior to installation. Thanks to u/strifethe9tailedfox
* Update all sub-tools, definition files and de-bloat lists
Primary method: Download the .torrent.
Primary: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-TX | u/SGC-Hosting |
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.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.
\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.
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:
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.
"Do not withhold good from those to whom it is due, when it is in your power to act." ^-p3:27
r/TronScript • u/JonathanAziz • Oct 12 '17
I Got about 58 Hours on TronScript here is an ending screenshot https://imgur.com/a/ELqvC And here are the logs https://drive.google.com/file/d/0B6XMV8-LMARtbnQ3R01MdEpPMzQ/view?usp=sharing
r/TronScript • u/Gyllius • Apr 01 '17
After the latest Windows 10 march 2017 updates, the collection of compatibility telemetry has been 'repaired', after Tron script had successfully disabled it. Quite annoying as it regularly claims my harddisk on 100% for up to 15 minutes. The O&OShutup10 tool (march 2017 version), which worked perfectly before this Windows update, does not seem to be able to shut up the telemetry collection after this update. Does anyone know what Microsoft changed, so we can disable the new hooks as well?
r/TronScript • u/vocatus • Feb 19 '16
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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(significant changes in bold; full changelog on Github)
v8.6.2 (2016-02-19)
tron.bat
No changes to tron.bat; just a maintenance release
Stage 0: Prep
+ Win7 and up: Expand 24 hour cooldown timer removal on system restore snapshots to include Windows 7/Server 2008 R2
Stage 2: De-bloat
* Updates to the various debloat lists. Thanks to /u/kronflux and /u/staticextasy
Stage 4: Repair
+ Windows 7/8/8.1: Add KB 3123862 to list of updates to remove and block. Thanks to /u/MirageESO
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
2. Secondary: BT Sync is no longer recommended due to issues with reliability (it fails to replicate reliably when the swarm node count gets very high). Download from one of the static pack mirrors above 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.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\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
r/TronScript • u/vocatus • Jan 07 '16
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 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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(significant changes in bold; full changelog on Github)
v8.3.0 (2016-01-07)
tron:
* tron.bat: Implement use of cleaner WIN_VER_NUM when checking OS versions (vs messier WIN_VER checks). Thanks to github:nemchik
* stage_0_prep:ssd_detect: Add failsafe if we can't read the drive info (default to SSD_DETECTED=yes). Thanks to github:RB14060
! stage_7_wrap-up:logs: Fix problem where removed program list would list ALL programs if no programs were removed. Thanks to github:RB14060
stage_1_tempclean.bat
* Update CCleaner and Bleachbit with latest winapp2.ini
stage_4_repair.bat
- \- Move Windows 7/8/8.1 telemetry removal code into separate sub-script (similar to Win10)* Many subtools updated as well
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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\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
r/TronScript • u/vocatus • Sep 08 '15
NOTE: TRON USUALLY WORKS ON WINDOWS 10 BUT IT'S NOT OFFICIALLY SUPPORTED YET (hopefully by January-ish).
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.
0. Prep: caffeine, rkill, ProcessKiller, TDSSKiller, Stinger, registry backup, WMI repair, sysrestore clean, oldest VSS set purge, create pre-run System Restore point
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro OEM debloat (Win8/8.1/2012 only)
Disinfect: Kaspersky VRT, Sophos AV, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only)
Repair: Registry permissions reset, Filesystem permissions reset, SFC /scannow, chkdsk (if necessary), remove Windows "telemetry" updates
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
Optimize: page file reset, defrag %SystemDrive% (usually C:; skipped if SSD is detected)
Wrap-up: Send job completion email report (if configured; specify SMTP settings in \resources\stage_7_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(full changelog on Github)
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
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 textchecksums.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
r/TronScript • u/vocatus • Feb 25 '15
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.
0. Prep: rkill, ProcessKiller, TDSSKiller, registry backup, WMI repair, sysrestore clean, oldest VSS set purge
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Vipre Rescue Scanner, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only), sfc /scannow
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
Optimize: chkdsk (if necessary), Defrag %SystemDrive% (usually C:); skipped if system drive is an SSD
Wrap-up: Email job completion report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Disclaimer
(full changelog on Github)
v4.9.0 (2015-02-25)
+ FEATURE: Add -se flag and associated SKIP_EVENT_LOG_CLEAR variable. Use these to prevent Tron from backing up and clearing the Windows Event Logs. Thanks to /u/auldnic
! stage_0_prep:power: Fix crash condition on Vista Home Premium if the -p (preserve power settings) flag was used. Thanks to /u/XtraSharp for being brave enough to touch Vista Home Premium and finding this obscure crash condition
* stage_0_prep:update: Change update checker to use HTTPS URL. Thanks to /u/SGC-Hosting for providing an SSL certificate!
! stage_3_disinfect:dism: Fix bug where Tron would get out of step with directory structure due to extra popd statement
/ stage_4_patch:dism: Remove tron_dism_base_reset.log and tron_dism.log instead of leaving them around after adding to the main log file
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 -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)
-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 (Sophos, Vipre, MBAM)
-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)
-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 textchecksums.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.
Tips: 1HbjTT1bqXK6xJaz3vcvUXNMbWhUwWknYP
r/TronScript • u/dragonore • Jun 25 '22
r/TronScript • u/11001100000001 • May 12 '17
Until three days ago I could call myself malware and virus free, since I'm always VERY careful when it comes to the internet. But at that faithful day I just got into Minecraft, again after two or three years, so I was looking for mods and texturepacks. I got all my mods and modpacks I used to play, only the texturepacks were missing. So I searched for the Realistico texturepack, found the site again, really fancy that site, but if you don't pay, you get to one of those shitty file sharing sites with the hidden download button.
Normally I'm pretty good at determining what's the real download button, but on this site it seemed there were only those kind of download buttons you could drag like pictures. I really wanted to get this texturepack, so I switched to Firefox, I was in Chrome the whole time, because it had the NoScript add-on. So I activated some stuff and the ad stuff not and then clicked the one that looked the least flashy. It turned out this was also an "ad". The file I got was just named setup.exe and I thought, not having played Minecraft for a rather long time, maybe this is some new thing that they made to make it easier to install stuff in Minecraft. So I made my biggest mistake in my computer career yet and clicked on it. It wasn't your traditional installer, it was some kind of built in torrent downloader, which had just "Realistico texturepack" in it's search bar. So after wondering what the fuck I just downloaded, I closed the programme and deleted it, then I deleted it out of the bin and then I made sure it could never be restored. I didn't notice anything for a day, but then the next day, as I was starting I didn't really notice any slowdowns, yet. I went through my normal start-up habits and everything was ready to go. I started Chrome. I didn't notice it at first, but at second glance, something about google.com was off. I searched google in Google, as you do, and after much more time as the usual 50ms the first results were some shady stocks investment stuff. I figured, not grasping the gravity of the situation, well, I can't use Google anymore. So I closed the Google tab and went on to YouTube. Suddenly, as I was clicking a video, I got a pop-up ad for some expensive deodorant. I lively remember thinking Dafuk and the being like Oh shit, I think I fucked up. I remembered that somewhere I have read the exact procedure I had to go through in this situation.
I went on and closed Chrome and fired up my favourite software: Revo Uninstaller. I uninstalled every single piece of leftover from Chrome and then immediately wanted to download it again via Firefox. As I was opening it, the load for the homepage, also google.com, took forever. I suspected something. Only when I searched in Google, this time it took me to some other search engine, ending with .ru. So Firefox was fucked too, maybe Edge...nope this one's infected as well. So I tried resetting Edge and it worked. After that I un- and reinstalled Firefox. This time it didn't work. Still the search engine problem. But at least no pop-ups anymore.
I tried some more things, but quickly I realised, I couldn't help myself with this anymore. I made a post in r/chrome and got some fast replies. Tired some of them, didn't help. Then someone linked me to the malware removal guide at r/techsupport. Tried that, didn't help. Some time passed and at the very end of the guide I found this TronScript thing. I figured I could give it a try because at this point I was lost completely. AND IT WORKED!! Finally thanks to this script it took only 5h to fix everything. My gratitude belongs to u/vocatus, so thanks.
tl;dr: The script is the best thing ever and did all the work I would have probably done over the course of a month or so.
Edit: u/vocatus
r/TronScript • u/vocatus • Dec 08 '16
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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
(significant changes in bold; full changelog on Github)
v9.8.5 (2016-12-08)
tron.bat
. No changes to tron.bat, increment version number only
Stage 2: De-bloat
+ Add resetting of UpdateExeVolatile during by_guid debloat, another measure to help prevent blocked uninstallations due to pending reboot
Stage 4: Repair
- Turn off "Disable Automatic Windows Updates" option in O&OShutUp10 immunizations. Thanks to /u/borkedpc and /u/Padankadank for reporting
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-TX | /u/SGC-Hosting |
2. Secondary: Download the [.torrent](http://bmrf.org/repos/tron/Tron%20v9.8.4%20(2016-11-16).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 read-only key to connect to the repo:
BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM474. 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.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\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 • u/vocatus • Jan 08 '16
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 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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(significant changes in bold; full changelog on Github)
v8.4.0 (2016-01-08)
tron:
+ tron.bat:prep: Add new -sdc switch and associated SKIP_DISM_CLEANUP variable. Use this to skip DISM component (SxS store) cleanup. Thanks to /u/silentchasm
+ tron.bat:ssd_detection: Add virtual disk detection. If found, skip Stage 5 defrag. Thanks to /u/fezzgig
- tron.bat:variable: Remove SSD_DETECTED variable and re-implement all checks that force a defrag skip to use the SKIP_DEFRAG variable instead
Stage 2: De-bloat
* metro_Microsoft_modern_apps_to_target_by_name.ps1
! Remove incorrect Windows Store entry from the target list. Thanks to /u/regypt and /u/KnifeyGavin
stage_4_repair.bat
Remove redundant Dism image store cleanup (move to Stage 5)
stage_5_patch.bat
+ Import Windows Vista/2008 Dism component cleanup from Stage 4
+ Implement support for -sdc switch (SKIP_DISM_CLEANUP)
stage_6_optimize.bat
+ Implement support for multiple SKIP_DEFRAG variable values
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 -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)
-sb 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\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
r/TronScript • u/cuddlychops06 • Aug 08 '15
r/TronScript • u/vocatus • Apr 20 '15
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.
0. Prep: rkill, ProcessKiller, TDSSKiller, Stinger, registry backup, WMI repair, sysrestore clean, oldest VSS set purge, create pre-run System Restore point
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro OEM debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Kaspersky Virus Removal Tool, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only)
Repair: Registry permissions reset, Filesystem permissions reset, SFC /scannow, chkdsk (if necessary)
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
Optimize: page file reset, defrag %SystemDrive% (usually C:; skipped if system drive is an SSD)
Wrap-up: Send job completion email report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(full changelog on Github)
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
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 textchecksums.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
r/TronScript • u/vocatus • Apr 09 '15
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.
0. Prep: rkill, ProcessKiller, TDSSKiller, Stinger, registry backup, WMI repair, sysrestore clean, oldest VSS set purge, create pre-run System Restore point
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Kaspersky Virus Removal Tool, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only), sfc /scannow
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
Optimize: chkdsk (if necessary), Defrag %SystemDrive% (usually C:); skipped if system drive is an SSD
Wrap-up: Send job completion email report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.Three download options:
Primary method: Mirror the BT Sync repo (get fixes/updates immediately) using the read-only key:
BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47
Make sure the settings for your Sync folder look like this (or this on v1.3.x).
Secondary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-TX | /u/SGC-Hosting |
3. Third method: Script only
The master script is available **[here on Github](https://github.com/bmrf/tron/blob/master/tron.bat)** (Note: this is *only* the script and doesn't include the utilities Tron relies on to function).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 -np -o -p -r -sa -sb -sd -se -sp -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)
-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 textchecksums.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
r/TronScript • u/vocatus • Feb 18 '15
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.
0. Prep: rkill, ProcessKiller, TDSSKiller, registry backup, WMI repair, sysrestore clean, oldest VSS set purge
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Vipre Rescue Scanner, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only), sfc /scannow
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
Optimize: chkdsk (if necessary), Defrag %SystemDrive% (usually C:); skipped if system drive is an SSD
Wrap-up: Email job completion report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Disclaimer
(full changelog on Github)
v4.8.0 (2015-02-18)
+ wrap-up:feature: Add -gsl flag and associated GENERATE_SUMMARY_LOGS variable. Use this to generate separate summary logs in the LOGPATHdirectory (can help create an invoice). If EMAIL_REPORT (-er) was used, the summary logs will be attached to the email report. We'll try to enhance this in the next release to also show # of infected items if possible. Thanks to /u/Reverent and /u/upsurper
! stage_3_disinfect: Critical bug fix; script was failing after MBAM due to getting out of step with diretory structure from a missing popd statement. Thanks to /u/oromeo
! stage_6_wrap-up: Fix bug where email report was sent even if DRY_RUN was set
! misc:bugfix: Fix many bugs and syntax errors
/ stage_0_prep:log: Clear log file at each run instead of appending to it
/ misc: Reduce default AUTO_REBOOT_DELAY from 30 to 15 seconds
* stage_7_manual_tools: Update a few sub-tools (AdwCleaner, ComboFix, etc)
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 -sp -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)
-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 (Sophos, Vipre, MBAM)
-sb Skip de-bloat (OEM bloatware removal; implies -m)
-sd Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
-sp Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
-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 textchecksums.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.
Tips: 1HbjTT1bqXK6xJaz3vcvUXNMbWhUwWknYP
r/TronScript • u/SmarticusRex • Apr 27 '22
TronScript got rid of a pesky trojan - loved it - it worked like a charm. But after using it, my computer would randomly turn off - and a few times I lost work. At first I thought it was my CPU overheating, so tried cleaning radiator, resetting the cooler on CPU. Still crashes. Then I checked the EventViewer - I was getting Kernal Power 41 critical error. I tried reseating GPU and RAM. That didn't work. Ran chkdsk. That didn't work. Long story short - I manually updated all the drivers on my computer - no crashes since. Pretty sure it was my AMD CPU driver specifically. Just posting in case anyone else has this same issue.
r/TronScript • u/vocatus • Nov 16 '16
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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
(significant changes in bold; full changelog on Github)
v9.8.4 (2016-11-16)
tron.bat
/ Replace removed programs list with PendingFileRenameOperations_%COMPUTERNAME%_export.txt in debug log upload, since this file is more useful for debugging
* Display contents of WARNINGS_DETECTED or ERRORS_DETECTED if they are tripped, so we can quickly see what the reason was
/ Change PendingFileRenameOperations_%COMPUTERNAME%_export.txt to PendingFileRenameOperations_%COMPUTERNAME%_%CUR_DATE%.txt
! check_update.bat: Fix bug with missing username in %USERPROFILES% statement. Thanks to /u/TyanColte
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
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-TX | /u/SGC-Hosting |
2. Secondary: Download the [.torrent](http://bmrf.org/repos/tron/Tron%20v9.8.4%20(2016-11-16).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 read-only key to connect to the repo:
BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM474. 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.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\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 • u/vocatus • Jun 27 '16
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.
Prep > Tempclean > De-bloat > Disinfect > Repair > Patch > Optimize > Wrap-up | (Manual tools)
Saves a log to C:\Logs\tron\tron.log (configurable).
(significant changes in bold; full changelog on Github)
v9.1.2 (2016-06-27) AQ
AQ = Released from Antarctica
tron.bat
/ tron.bat:prep: Rename all "PREP: " job headers to "INTERNAL PREP:" to differentiate Tron's internal prep jobs from stage_0_prep jobs
Stage 0: Prep
* Update Stinger to v12.1.0.2042
Stage 2: De-bloat
* Update CCleaner to v5.19.5633
Stage 3: Disinfect
* Update Sophos definitions
Stage 5: Patch
+ Add Chrome version of Flash Player plugin
Stage 8: Manual tools
* Update various subtools
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-TX | /u/SGC-Hosting |
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 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.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 -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\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 • u/vocatus • Oct 08 '15
NOTE: THIS IS THE LAST RELEASE WITHOUT "OFFICIAL" WINDOWS 10 SUPPORT. It does seem to work at this point, so if you're willing to take a small risk of something breaking and give feedback to improve Win10 functionality, run Tron with the new -dev flag to override the unsupported OS check. Windows 10 feedback is very useful
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.
0. Prep
Optimize (don't panic when you see the word "optimize"; this stage is very conservative)
Saves a log to C:\Logs\tron\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(full changelog on Github)
v6.9.0 (2015-10-08)
+ tron.bat:prep:os_detection: Add unsupported OS detection. Tron will bail out if it's running on an unsupported OS (currently only Windows 10). Also throws a message telling you to use the -dev flag to override the check. Thanks to /u/spexdi
+ tron.bat:prep:dev_mode: Add -dev flag and associated DEV_MODE variable. Use this to override newly-added OS detection (allow running Tron on unsupported Windows versions). Thanks to /u/spexdi
* tron.bat:log:header_trailer: Add detected OS version to log header and trailer (why did it take this long to think of this??)
! tron.bat:prep:update: Fix "download latest version?" prompt to be case insensitive (was accepting only lowercase y). Thanks to /u/ericrobert
\ bat:prep:quarantine: Fix incorrectly-named quarantine path variable
/ stage_0_prep:ntp: Rotate order of NTP servers, now query in this order: 2.pool.ntp.org, time.windows.com, time.nist.gov
! stage_1_tempclean:ccleaner: Fix bug where script continued before CCleaner was finished. Thanks to /u/chimaera12
! stage_1_tempclean:ccleaner: Disable removal of Windows' Sticky Notes. Thanks to /u/Tronium90
* stage_2_de-bloat:oem:win10: Expand and tune OEM Metro de-bloat on Windows 10. This should fix removal of Calculator and some other desireable apps
* stage_2_de-bloat:by_guid: Add new entries and remove many incorrect ones based on user feedback
* stage_4_repair:dism_rebuild: Move DISM rebuild out of Stage 2: De-bloat and into Stage 4: Repair after Windows telemetry removal. This prevents telemetry updates from getting "baked in" to Windows. Major thanks to /u/spexdi
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 textchecksums.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
r/TronScript • u/vocatus • Aug 25 '15
NOTE: TRON MAY WORK ON WINDOWS 10 BUT WILL NOT BE OFFICIALLY SUPPORTED TILL AROUND DECEMBER/JANUARY.
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.
0. Prep: caffeine, rkill, ProcessKiller, TDSSKiller, Stinger, registry backup, WMI repair, sysrestore clean, oldest VSS set purge, create pre-run System Restore point
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\; Metro OEM debloat (Win8/8.1/2012 only)
Disinfect: Kaspersky VRT, Sophos AV, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only)
Repair: Registry permissions reset, Filesystem permissions reset, SFC /scannow, chkdsk (if necessary)
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
Optimize: page file reset, defrag %SystemDrive% (usually C:; skipped if SSD is detected)
Wrap-up: Send job completion email report (if configured; specify SMTP settings in \resources\stage_7_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run | Pre-run System Restore checkpoint | Disclaimer
(full changelog on Github)
v6.5.2 (2015-08-24)
+ stage_1_tempclean: Add clearing of "HKCU\SOFTWARE\Classes\Local Settings\Muicache"
- stage_3_disinfect:roguekiller: Remove RogueKiller :( Since the developers added a time-bomb feature it's causing too many problems to be worth it at this point. If anyone can AutoHotKey it or find some other way to automate it I'd love to re-add it, but at this point it has to go
- stage_7_wrap-up:loki: Remove LOKI since it doesn't do much but tell us if there are potential problems, and greatly extends Tron's runtime
v6.5.1 (2015-08-21)
! stage_7_wrap-up:loki: Fix incorrect command calling LOKI
* Many subtool updates
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
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.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 -sfr -sk
-sm -sp -spr -srr -ss -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
-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
-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 textchecksums.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
r/TronScript • u/vocatus • Jan 28 '15
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, registry backup, WMI repair, sysrestore clean, oldest VSS set purge
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\programs_to_target.txt; Metro debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Vipre Rescue Scanner, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only), sfc /scannow
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
Optimize: chkdsk (if necessary), Defrag %SystemDrive% (usually C:); skipped if system drive is an SSD
Wrap-up: Email job completion report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Example Screenshots
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run
Changelog (full changelog on Github)
v4.7.0 (2015-01-28)
+ stage_0_prep:update: Add automatic SHA256 integrity checking of new version download from the auto-updater. Tron will warn if integrity check fails and delete the failed download
* stage_0_prep:update: Replace MD5 with SHA256 for update check hash algorithm. This change removes reliance on MD5 in all components of Tron. We'll keep md5sums.txt updated on the repo for a while because old versions still look for it, but eventually it will be removed. Thanks to /u/tr0nnie
+ stage_4_patch:feature: Add -sw switch and associated SKIP_WINDOWS_UPDATES variable to allow skipping an attempt at doing Windows Updates. Thanks to /u/fatbastard79
! stage_4_patch:bugfix: Fix minor visual error where message about SKIP_PATCHES being set would incorrectly show value of the SKIP_DEFRAG variable
! stage_6_wrap-up:bugfix: Fix failure bug where SELF_DESTRUCT would fail if there were spaces in the path to Tron
* stage_7_manual_tools: Update many sub-tools (AdwCleaner, aswMBR, autoruns, ComboFix, etc)
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
2. Secondary method: Connect to the BT Sync repo to get fixes/updates immediately. Use the read-only key:
B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS
*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 -sp -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 default Metro apps (don't remove them)
-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 (Sophos, Vipre, MBAM)
-sb Skip de-bloat (OEM bloatware removal; implies -m)
-sd Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
-sp Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
-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 textIntegrity
checksums.txt contains SHA-256 checksums for every file and is signed with my PGP key (0x82A211A2; pubkey included). You can use this to verify package integrity.
Please suggest modifications and fixes; community input is helpful and appreciated.
Tips: 1HbjTT1bqXK6xJaz3vcvUXNMbWhUwWknYP
r/TronScript • u/vocatus • Jan 23 '15
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, registry backup, WMI repair, sysrestore clean, oldest VSS set purge
Tempclean: TempFileCleanup, CCLeaner, BleachBit, backup & clear event logs, Windows Update cache cleanup, Internet Explorer cleanup, USB device cleanup
De-bloat: remove OEM bloatware; customizable list is in \resources\stage_3_de-bloat\oem\programs_to_target.txt; Metro debloat (Win8/8.1/2012 only)
Disinfect: RogueKiller, Vipre Rescue Scanner, Sophos Virus Removal Tool, Malwarebytes Anti-Malware, DISM image check (Win8/2012 only), sfc /scannow
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
Optimize: chkdsk (if necessary), Defrag %SystemDrive% (usually C:); skipped if system drive is an SSD
Wrap-up: Email job completion report (if configured; specify SMTP settings in \resources\stage_6_wrap-up\email_report\SwithMailSettings.xml
Manual stuff: Additional tools that can't currently be automated (ComboFix, AdwCleaner, aswMBR, autoruns, etc.)
Saves a log to C:\Logs\tron.log (configurable).
Example Screenshots
Welcome Screen | Email Report | New version detected | Help screen | Config dump | Dry run
Changelog (full changelog on Github)
v4.6.0 (2015-01-23)
! stage_0_prep:bugfix: Fix crash bug where Tron would break when wget'ing md5sums.txt from the repo server if local username had an ampersand (&) character in it. Thanks to /u/buggg
! stage_4_patch:bugfix: Fix minor aesthetic bug where an error was tossed if we tried to add the MSI registry key while not in safe mode
* stage_3_disinfect: Update RogueKiller to v10.2.0.0
/ stage_3_disinfect: Move MBAM installation to beginning of stage 3 to allow user to click "scan" earlier in the process instead of waiting for Vipre and Sophos to complete. Thanks to /u/Reverent
* stage_4_patch: Update links to reflect new versions of 7-Zip and Adobe Flash. Thanks to /u/Reverent
+ stage_7_manual_tools: Add Net Adapter Repair
* stage_7_manual_tools: Update nearly all sub-tools (AdwCleaner, aswMBR, autoruns, ComboFix, etc)
Primary method: Download a self-extracting .exe pack from one of the mirrors:
| Mirror | HTTPS | HTTP | Location | Host |
|---|---|---|---|---|
| Official | link | link | US-NY | /u/SGC-Hosting |
2. Secondary method: Connect to the BT Sync repo to get fixes/updates immediately. Use the read-only key:
B3Y7W44YDGUGLHL47VRSMGBJEV4RON7IS
*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 -sp -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 default Metro apps (don't remove them)
-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 (Sophos, Vipre, MBAM)
-sb Skip de-bloat (OEM bloatware removal; implies -m)
-sd Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
-sp Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
-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 textIntegrity
checksums.txt contains SHA-256 checksums for every file and is signed with my PGP key (0x82A211A2; pubkey included). You can use this to verify package integrity.
Please suggest modifications and fixes; community input is helpful and appreciated.
Tips: 1HbjTT1bqXK6xJaz3vcvUXNMbWhUwWknYP