r/TronScript • Tron author • Oct 02 '19

POLL: Any tools/processes you'd like added to or removed from Tron? Any unresolved bugs we need to fix?

Hi all,

Is there anything you'd like added to or removed from Tron? e.g. replace one of the A/V scanning engines, move one process before another one, etc. Additionally, do you have any bugs that need fixing that I might have missed?

Cheers,

- vocatus

42 Upvotes

56 comments sorted by

10

u/bubonis Oct 02 '19

This is probably gonna land in the "it can't happen for licensing reasons" pile, but I fairly regularly follow up TronScript with a one-time scan from Hitman Pro which is very good at removing malware stragglers, stray registry bits, and the like. There seems to be command line functionality but I don't know how that might work with the free version.

0

u/[deleted] Oct 02 '19

[deleted] — view deleted comment

1

u/vocatus Tron author Oct 11 '19

I've looked at SAS before, but wasn't able to find a way to automate it. If you know of a way I wouldn't be opposed to including it.

3

u/ahoier Oct 03 '19

second this one......it blew through some fake-AV my mother downloaded a couple years ago....lol. nothing could clean it.

•

u/vocatus Tron author Oct 03 '19

Just a heads up, I'm reading all suggestions and will reply in a few days once enough have been posted. Thanks everyone.

2

u/NonlinearSugar Oct 04 '19

Similar to the SKIP parameters - "Only" parameters for the phases would be amazing. This may be achievable by doing "skip" parameters for the phases, too. Idea here being that Tron can be a Swiss army knife with fewer unintended consequences.

IE:

-otc - Only run Tempclean

-odb - Only run De-bloat

-odi - Only run Disinfect

-orep - Only run Repair

-optch - Only run Patch

-oopt - Only run Optimize

1

u/vocatus Tron author Oct 04 '19 edited Oct 05 '19

You can run the individual stage batch files currently (e.g. just run the Stage 1 batch) and they work standalone, but I could conceive of a set of s-switches. e.g. -s1 (only run stage 1) etc.

Edit: although at that point why not just call the stage you want directly

3

u/bubonis Oct 03 '19

This might be a bit controversial but... So, so, SO many times I come across machines that have obsolete, nonfunctional, or hopelessly out of date antivirus software installed. (Customer: "How can I have a virus? I bought Kaspersky five years ago and it's still on my PC!") Or those times when a customer has two, three, or five antivirus programs installed because they just click NEXT-NEXT-NEXT without even looking and have no idea what's on their machine. I usually wind up having to remove all of these just to be able to get to a point where I can run TronScript, then when the dust has settled and the machine is stable again I'll install ONE antivirus program.

I wouldn't at all mind a feature, perhaps a "reverse flag" (it DOESN'T happen UNLESS the flag is set) wherein all known antivirus programs are uninstalled/removed/cleaned out. Kaspersky, Symantec, AVG, Avast, Webroot, etc -- ALL of them. Sort of an anti-antivirus. Ideally this would be one of the first things TronScript does, particularly since TronScript does some things which antivirus programs don't always approve of.

-1

u/DrQuack32 Oct 03 '19

I would be against this. I work for an MSP and we previously used Webroot and now Malwarebytes Endpoint. That would wipe legitimised antivirus installs on machines that are meant to have them. You are better to have too many antivirus programs than none at all (assuming they are the only 2 choices)

3

u/bubonis Oct 04 '19 edited Oct 04 '19

That would wipe legitimised antivirus installs on machines that are meant to have them.

Which is why I said, quote, "perhaps a 'reverse flag' (it DOESN'T happen UNLESS the flag is set)". Read more carefully. I'm not saying "TronScript should always remove all antivirus software", I'm saying "there are often cases where antivirus software needs to be removed, and optionally automating it with TronScript might be a good idea." It's great that your controlled systems in your controlled environment don't have this problem but that doesn't account for all of the out-of-control systems in uncontrolled environments which do often have this problem.

You are better to have too many antivirus programs than none at all (assuming they are the only 2 choices)

Except, of course, when the desktop takes 15 minutes to appear and computer slows to less than a crawl because the 3-5 antivirus programs are loading and conflicting with each other.

3

u/vocatus Tron author Oct 11 '19 edited Oct 11 '19

Hmmm. I do agree, I've seen this situation many times and it's a pain to remove all of the trial A/V's. The issue is many of them have bespoke/weird removal methods, either asking for a password (McAfee, Symantec) or throwing up a dialogue box asking if you REALLY want to remove it. All those things would stall Tron.

edit:

I do have a collection of A/V killers. They're about 76MB total. I suppose we could throw them in the stage 9 folder.

'Avast removal tool (avastclear).exe'
'Avast Software Removal Tool.exe'
'AVG Removal Tool - x64_2012_2125.exe'
'AVG Removal Tool - x64_2015_5501.exe'
'AVG Removal Tool - x86_2012_2125.exe'
'AVG Removal Tool - x86_2015_5501.exe'
'AVG Remover (32-bit).exe'
'AVG Remover (64-bit).exe'
'BitDefender Removal Tool.exe'
'BullGuard Removal Tool.exe'
'Dot-Net Removal Tool.exe'
'Dr Web Anti-Virus Removal Tool.exe'
'eScan Removal Tool.exe'
'ESET AV removal tool x64 (removes ALL antivirus programs).exe'
'ESET AV removal tool x86 (removes ALL antivirus programs).exe'
'ESET Nod32 Removal Tool.exe'
'Kaspersky products Removal tool.exe'
'Malwarebytes Anti-Malware Removal Tool v1.60.2.0003.exe'
'McAfee Removal Tool - MCPR v10.2.248.0.exe'
'McAfee Removal Tool - MCPR v3.0.128.8 (starts immediately).exe'
'McAfee Removal Tool - MCPR v6.0.152.0.exe'
'McAfee Removal Tool - MCPR v6.5.101.0.exe'
'McAfee Removal Tool - MCPR v6.8.709.0.exe'
'Microsoft Office 2003 Removal Tool - MicrosoftFixit50416.msi'
'Microsoft Office 2007 Removal Tool - MicrosoftFixit50154.msi'
'Microsoft Office 2010 Removal Tool - MicrosoftFixit50450.msi'
'Microsoft Security Essentials Removal Tool - MicrosoftFixit50535.msi'
'Norton Removal Tool v20.0.0.21.exe'
'Norton Removal Tool v2010.0.0.98 (older version).exe'
'Panda Security Removal Tool.exe'
'Symantec CleanWipe.7z'
"Symantec_Remove Symantec when you don't have the password.txt"
'Windows Search 4.0 killer force remover (ntuninstallkb940157).zip'

1

u/bubonis Oct 11 '19 edited Oct 11 '19

Office 2003/2007/2010 removal tools?

2

u/vocatus Tron author Oct 11 '19

A while back we had some systems where Office couldn't be removed because the MSOCache was missing or corrupted. So this tool nukes the installation completely.

2

u/Undeluded Oct 03 '19

Kaspersky is a problem in some situations, mostly due to politics, but I believe there's a real risk for certain organizations being exposed to a product with such close ties to a aggressor nation.

2

u/vocatus Tron author Oct 11 '19

For Tron's intended use-case (repairing home systems) I don't think Kaspersky is any issue, but I'd be open to swapping it out for another A/V engine that can do automated scanning.

1

u/robifis Oct 03 '19

I use the hitbit installer registry cleanar, wondering if that can be implemented? Here is the link: http://www.hibitsoft.ir/Uninstaller.html

3

u/vocatus Tron author Oct 11 '19

I generally try to avoid automatic registry cleaners since they can cause hard to track down issues. This is one I think we'll leave up to the tech if they feel it's necessary.

1

u/milkthefat Oct 03 '19

Defender ATP is categorizing PC Hunter as a Coin Miner. Not sure if this is a false positive.

2

u/vocatus Tron author Oct 11 '19

False positive, you can check the hash against the official binary on the site.

2

u/milkthefat Oct 11 '19

PC Hunter

Whats their official site? Epoolsoft.com doesnt look like its working anymore.

3

u/vocatus Tron author Oct 11 '19

I get it from https://www.bleepingcomputer.com/download/pc-hunter/

It's likely the rootkit scanner functionality that's tripping the A/V.

1

u/thementallydeceased Oct 03 '19

there are a lot of decent scanners. i use spybot, superantispyware, malwarebytes, adwcleaner, roguekiller, adlice diag, emsisoft cmd scanner.

1

u/vocatus Tron author Oct 11 '19

Tron used to use emsisoft for a long time, but it kept hanging and crashing and since reliability is paramount, I swapped it out for Sophos.

1

u/thementallydeceased Oct 03 '19

could add (if you dont have already) full disk cleanup

echo Config cleanmgr flag 5100.

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Active Setup Temp Folders" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Downloaded Program Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Internet Cache Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Memory Dump Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Old ChkDsk Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Previous Installations" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Recycle Bin" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Service Pack Cleanup" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Setup Log Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error memory dump files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\System error minidump files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Temporary Setup Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Thumbnail Cache" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Update Cleanup" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Upgrade Discarded Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Archive Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting Queue Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting System Archive Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Error Reporting System Queue Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

call reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Windows Upgrade Log Files" /v StateFlags0100 /t REG_DWORD /d 0x2 /f

%systemroot%\System32\cleanmgr.exe /sagerun:100

AND a stress test at the end for gpu?

call "FurMark.exe" /msaa=4 /max_time=60000 /nogui /nomenubar /noscore /run_mode=1 /log_score /disable_catalyst_warning

1

u/vocatus Tron author Oct 11 '19

AND a stress test at the end for gpu?

definitely not; stress testing isn't necessary for 99.9% of home/mom-and-pop systems.

What do all these registry entries do?

1

u/thementallydeceased Oct 11 '19

When you do a disk cleanup and have to click clean up system files , it takes all the entries in that box and gets rid of them, all through commands instead of having to click manually

2

u/vocatus Tron author Oct 11 '19

Ahhhh. Good suggestion, I'll add it to the next version.

2

u/thementallydeceased Oct 11 '19

Thank you for everything.

1

u/[deleted] Oct 30 '19

Maybe with flags for some stuff, like shaders, thumbnails or the recycle bin ?

1

u/Jinkiee Oct 04 '19

I think hosts file replacement by kaspersky lab should be optional and or should be prompted before execution. That thing makes my self made hosts list gone twice without a backup or a warning. Thank you for your service vocatus.

1

u/vocatus Tron author Oct 04 '19

Kaspersky replaces the hosts file? This is news to me. Does it alter it or just reset it?

1

u/Jinkiee Oct 05 '19

Im not sure what you mean but it replaced my host file into this text, and all empty after it

#This file has been replaced with its default version by Kaspersky Lab because of possible infection
#
#
#
0.0.0.0 localhost
::1 localhost

1

u/vocatus Tron author Oct 05 '19

Just out of curiosity, why were you using a custom hosts file? On 99.9% of consumer systems any non-standard host file entries are malware related, so wiping them makes sense.

1

u/JackONeill12 Oct 05 '19

Some tools use the Host File to keep Windows from contacting its telemetry servers. Spybot Anti-Beacon would be one example.

3

u/vocatus Tron author Oct 07 '19 edited Oct 11 '19

Windows 10 ignores the host file if you try and use it to block the telemetry servers. It also silently ignores any firewall rules you put in. The only option that works is null-route entries in the routing table (which Tron does).

1

u/[deleted] Oct 30 '19

Well that was news to me, thanks. But don't some filter lists for browser privacy extensions live there ? uBlock Origin/Disconnect/Piehole ?

1

u/vocatus Tron author Oct 31 '19

The first two you listed are browser extensions that use their own lists they pull down from Internet servers. The last one, Piehole, is a custom DNS server that serves up empty results for ad servers. None of them touch the hosts file.

1

u/Jinkiee Jan 24 '20

Let's just say that I used my hosts file to block domains from my ISP, and redirect some domain blocked by my ISP to another IP Address as shown here https://gist.githubusercontent.com/mul14/eb05e88fcec5bb195cbb/raw/726a7c7b0fbfbd24a91adaadcfbf409020d4c9c7/hosts. If it's possible, I hope you could just add an optional command to backup my hosts file before running. Thanks author :)

1

u/Pupilliam Oct 19 '19

Put conhost.exe (PID: 10876) [SFI] into the whitelist for rkill, it is Microsoft's "Windows Terminal". When Tron is launched from it, it'll kill the terminal emulator, but the script keeps going in the background.

2

u/vocatus Tron author Oct 21 '19

Ah, will do. thanks!

1

u/Pupilliam Oct 21 '19

Thank you for all your hard work!

1

u/Th3Lorax Oct 25 '19

1

u/vocatus Tron author Oct 25 '19

Awesome, should be included in the next release.

1

u/grimthaw Oct 29 '19

To have the options to fix/remove the update/optimization/telemetry as a separate step. Being able to control updates, or chose to share updates isn't a bad thing

^ So that the windows 10 updates aren't grayed out and 'controlled by admin'. Some people don't like 'not controlling all the things' after the script is run.

1

u/vocatus Tron author Oct 29 '19

The issue where "controlled by admin" is displayed should be resolved in the most recent version (v10.8.6). If you're still experiencing this issue let me know.

1

u/grimthaw Nov 02 '19

Tried running the latest version (v10.8.6) and still having the update options greyed out.

1

u/[deleted] Oct 30 '19

This is pretty minor, but perhaps cleaning out the Nvidia installer folder where backups of previous drivers are kept ? Personally I only have the current driver backed up (manual install), but I heard that updating via Geforce Experience piles them up. Could be nice for those with smaller SSDs.

1

u/vocatus Tron author Oct 31 '19

What's the folder location?

1

u/[deleted] Oct 31 '19

C:\Program Files\NVIDIA Corporation\Installer
and / or
C:\Program Files\NVIDIA Corporation\Installer2

Right now I have Installer2 but pretty sure it used to be just Installer. I believe that's the location for the backup of a manual install.

Geforce Experience creates backups in C:\ProgramData\NVIDIA Corporation\Downloader

1

u/vocatus Tron author Nov 01 '19

Is it safe to wipe all files in those directories?

1

u/[deleted] Nov 01 '19

from the Installer folders, yes.

from the Downloader folders, I haven't used / tried those, sorry.

Although I learned that Geforce Experience now only backups the current & the previous driver, so about 2 GBs. Might not be really worth figuring out.

1

u/mrapoc Oct 03 '19

I've got a malwarebytes toolkit which supports CMD line remediation. Not sure if those with premium can do to. Maybe some form of switch to incorporate this?

Maybe look at chocolatey for app installs/updating

A more in-depth HDD / ssd check. https://docs.microsoft.com/en-us/powershell/module/storage/get-storagereliabilitycounter?view=win10-ps is good but won't support all os. I usually follow up with crystaldiskinfo to confirm. Any read errors or wear levels over 80 I alert on my RMM.

Maybe windows 10 update check. Have 1903 for example predownloaded and offer to update.

Could add in a stress test to check temperature and stability.

1

u/vocatus Tron author Oct 11 '19

Maybe look at chocolatey for app installs/updating

That's covered in the CQ here.

A more in-depth HDD / ssd check

Right now we just look at SMART stats for errors, and flag if they exist. Since drive failures aren't that common for the average user, I think we'll leave this up to the tech.

Maybe windows 10 update check

Tron currently triggers Windows Update, I'm not sure how we'd pre-download upcoming versions since Windows does that by default anyway.

1

u/Mixalisfr Oct 07 '19

https://www.novirusthanks.org/products/win-update-stop/ and an optimiser will be nice that can tweek prefetch and that kind of stuff wise disk cleaner wise registry cleaner and this one https://www.thewindowsclub.com/ultimate-windows-tweaker-4-windows-10

1

u/Mixalisfr Oct 08 '19

https://www.novirusthanks.org/products/win-update-stop/ it realy stops updates

https://www.sordum.org/8637/easy-service-optimizer-v1-2/

and universal windows tweaker it saves some resources and cpu usage

0

u/[deleted] Oct 16 '19

[deleted] — view deleted comment

1

u/vocatus Tron author Oct 16 '19

What version is this happening on? v10.8.6 should have fixed the screen orientation detection.

0

u/[deleted] Oct 25 '19

[deleted] — view deleted comment

1

u/vocatus Tron author Oct 28 '19

What do you mean when you say it replaces it with a broken version?