├── .gitattributes ├── LICENSE ├── README.md ├── README_ru.md ├── changelog.txt ├── resources ├── functions │ ├── initialize_environment.bat │ ├── log.bat │ ├── log_with_date.bat │ ├── prerun_checks_and_tasks.bat │ └── tron_settings.bat ├── stage_0_prep │ ├── check_update │ │ ├── check_update.bat │ │ ├── check_update_debloat_lists.bat │ │ ├── hashdeep.exe │ │ └── wget.exe │ ├── processkiller │ │ ├── ProcessKiller_v1.1.0-TRON.bat │ │ └── whitelist.txt │ ├── repair_wmi │ │ └── repair_wmi.bat │ ├── rkill │ │ ├── explanation.txt │ │ └── rkill_process_whitelist.txt │ └── stage_0_prep.bat ├── stage_1_tempclean │ ├── ccleaner │ │ ├── ccleaner.ini │ │ ├── ccleaner_skip_cookie_cleanup.ini │ │ ├── tron_ccleaner_cookie_whiteliest.txt │ │ └── winapp2.ini │ ├── finddupe │ │ └── finddupe.exe │ ├── stage_1_tempclean.bat │ ├── tempfilecleanup │ │ └── TempFileCleanup.bat │ └── usb_cleanup │ │ ├── DriveCleanup x64.exe │ │ ├── DriveCleanup x86.exe │ │ └── DriveCleanup.txt ├── stage_2_de-bloat │ ├── how to customize debloat - READ THIS YOU SCRUB.txt │ ├── metro │ │ ├── metro_3rd_party_modern_apps_to_target_by_name.ps1 │ │ └── metro_Microsoft_modern_apps_to_target_by_name.ps1 │ ├── oem │ │ ├── programs_to_target_by_GUID.txt │ │ ├── programs_to_target_by_name.txt │ │ └── toolbars_BHOs_to_target_by_GUID.txt │ └── stage_2_de-bloat.bat ├── stage_3_disinfect │ ├── roguekiller │ │ └── RogueKillerAutomation_source.au3 │ └── stage_3_disinfect.bat ├── stage_4_repair │ ├── disable_windows_telemetry │ │ ├── libeay32.dll │ │ ├── ooshutup10_tron_settings.cfg │ │ ├── purge_windows_10_telemetry.bat │ │ ├── purge_windows_7-8-81_telemetry.bat │ │ └── ssleay32.dll │ ├── repair_file_extensions │ │ ├── AAC.reg │ │ ├── Defaul_XSL.reg │ │ ├── Default_3GP.reg │ │ ├── Default_3GPP.reg │ │ ├── Default_ANI.reg │ │ ├── Default_ASF.reg │ │ ├── Default_ASPX.reg │ │ ├── Default_ASX.reg │ │ ├── Default_AVI.reg │ │ ├── Default_AudioCD.reg │ │ ├── Default_BAS.reg │ │ ├── Default_BAT.reg │ │ ├── Default_BIN.reg │ │ ├── Default_BMP.reg │ │ ├── Default_Briefcase.reg │ │ ├── Default_CAB.reg │ │ ├── Default_CHM.reg │ │ ├── Default_CMD.reg │ │ ├── Default_COM.reg │ │ ├── Default_CSS.reg │ │ ├── Default_CUR.reg │ │ ├── Default_Contact.reg │ │ ├── Default_DB.reg │ │ ├── Default_DIC.reg │ │ ├── Default_DLL.reg │ │ ├── Default_DVR-MS.reg │ │ ├── Default_Directory.reg │ │ ├── Default_Drive.reg │ │ ├── Default_EXE.reg │ │ ├── Default_Folder.reg │ │ ├── Default_GIF.reg │ │ ├── Default_GZ.reg │ │ ├── Default_HLP.reg │ │ ├── Default_HTA.reg │ │ ├── Default_HTM.reg │ │ ├── Default_HTML.reg │ │ ├── Default_ICO.reg │ │ ├── Default_IMG.reg │ │ ├── Default_INF.reg │ │ ├── Default_INI.reg │ │ ├── Default_ISO.reg │ │ ├── Default_JNT.reg │ │ ├── Default_JPE.reg │ │ ├── Default_JPEG.reg │ │ ├── Default_JPG.reg │ │ ├── Default_JS.reg │ │ ├── Default_JSE.reg │ │ ├── Default_LNK_(Shortcut).reg │ │ ├── Default_LOG.reg │ │ ├── Default_Library-ms.reg │ │ ├── Default_M2T.reg │ │ ├── Default_M2TS.reg │ │ ├── Default_M3U.reg │ │ ├── Default_M4V.reg │ │ ├── Default_MKV.reg │ │ ├── Default_MOV.reg │ │ ├── Default_MP3.reg │ │ ├── Default_MP4.reg │ │ ├── Default_MPA.reg │ │ ├── Default_MPE.reg │ │ ├── Default_MPEG.reg │ │ ├── Default_MPG.reg │ │ ├── Default_MSC.reg │ │ ├── Default_MSI.reg │ │ ├── Default_MSP.reg │ │ ├── Default_MTS.reg │ │ ├── Default_OBJ.reg │ │ ├── Default_OTF.reg │ │ ├── Default_PBK.reg │ │ ├── Default_PDF.reg │ │ ├── Default_PNG.reg │ │ ├── Default_Package.reg │ │ ├── Default_REG.reg │ │ ├── Default_RTF.reg │ │ ├── Default_SCR.reg │ │ ├── Default_Search.reg │ │ ├── Default_TAR.reg │ │ ├── Default_TIF.reg │ │ ├── Default_TIFF.reg │ │ ├── Default_TMP.reg │ │ ├── Default_TS.reg │ │ ├── Default_TTF.reg │ │ ├── Default_TTS.reg │ │ ├── Default_TXT.reg │ │ ├── Default_URL.reg │ │ ├── Default_VBS.reg │ │ ├── Default_VOB.reg │ │ ├── Default_WMA.reg │ │ ├── Default_WMV.reg │ │ ├── Default_WSF.reg │ │ ├── Default_XML.reg │ │ ├── Default_XPS.reg │ │ ├── Default_ZIP.reg │ │ ├── Default_bak.reg │ │ ├── Default_cpp.reg │ │ ├── Default_dat.reg │ │ ├── Default_h.reg │ │ ├── Default_manifest.reg │ │ ├── Default_ps1.reg │ │ ├── Default_theme.reg │ │ ├── Default_themepack.reg │ │ ├── Default_wav.reg │ │ ├── Type.reg │ │ ├── Unknown.reg │ │ ├── ai.reg │ │ ├── cer.reg │ │ ├── crt.reg │ │ ├── default_cpl.reg │ │ ├── der.reg │ │ ├── m4a.reg │ │ ├── mapimail.reg │ │ ├── mhtml.reg │ │ ├── nfo.reg │ │ ├── psd.reg │ │ ├── repair_file_extensions.bat │ │ └── svg.reg │ └── stage_4_repair.bat ├── stage_5_patch │ ├── 7-zip │ │ └── 7-Zip Installer.bat │ ├── stage_5_patch.bat │ └── wsus_offline │ │ └── Instructions on loading Tron with WSUS offline updates.txt ├── stage_6_optimize │ ├── defrag │ │ ├── drivedb.h │ │ ├── smartctl.exe │ │ └── update-smart-drivedb.exe │ └── stage_6_optimize.bat ├── stage_7_wrap-up │ ├── email_report │ │ ├── SwithMailSettings.xml │ │ └── Swithmail_readme.txt │ └── stage_7_wrap-up.bat └── stage_8_custom_scripts │ └── Tron will execute any bat file placed in this folder. Read this for instructions.txt ├── tron.bat ├── tron_quotes.txt └── vocatus-public-key.asc /.gitattributes: -------------------------------------------------------------------------------- 1 | # Declare files that will always have CRLF line endings on checkout. 2 | *.bat eol=crlf 3 | *.ps1 eol=crlf 4 | *.txt eol=crlf 5 | *.vbs eol=crlf 6 | *.xml eol=crlf 7 | *.properties eol=crlf 8 | *.sites eol=crlf 9 | *.config eol=crlf 10 | *.h eol=crlf 11 | *.reg eol=crlf 12 | *.cfg eol=crlf 13 | *.ini eol=crlf 14 | 15 | 16 | # Denote all files that are truly binary and should not be modified. 17 | *.exe binary 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Vocatus Gate 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /resources/functions/initialize_environment.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Initializes Tron runtime environment. Called by Tron.bat at initial launch or by an individual sub-stage script when launched manually 2 | :: This file determines Tron's overall project version and date 3 | :: Do not edit this script 4 | :: Requirements: The ability to look and not touch 5 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 6 | @echo off 7 | 8 | :: Tron Project version and date. These two variables determine the overall project version and date 9 | set TRON_VERSION=12.0.7 10 | set TRON_DATE=2024-03-xx 11 | 12 | :: Set window title 13 | title Tron v%TRON_VERSION% (%TRON_DATE%) 14 | 15 | :: Initialize script-internal variables 16 | set ERRORS_DETECTED=no 17 | set WARNINGS_DETECTED=no 18 | set BAD_RUNPATH=no 19 | set CONFIG_DUMP=no 20 | set TARGET_METRO=no 21 | set FREE_SPACE_AFTER=0 22 | set FREE_SPACE_BEFORE=0 23 | set FREE_SPACE_SAVED=0 24 | set HELP=no 25 | set NETWORK_AVAILABLE=undetected 26 | set SAFE_MODE=no 27 | if /i "%SAFEBOOT_OPTION%"=="MINIMAL" set SAFE_MODE=yes 28 | if /i "%SAFEBOOT_OPTION%"=="NETWORK" set SAFE_MODE=yes 29 | set SKIP_CHECK_UPDATE=no 30 | set SMART_PROBLEM_CODE=undetected 31 | set SYSTEM_LANGUAGE=undetected 32 | set WIN_VER=undetected 33 | set WIN_VER_NUM=undetected 34 | 35 | 36 | :: Force path to some system utilities in case the system PATH is messed up 37 | set WMIC=%SystemRoot%\System32\wbem\wmic.exe 38 | set FIND=%SystemRoot%\System32\find.exe 39 | set FINDSTR=%SystemRoot%\System32\findstr.exe 40 | set REG=%SystemRoot%\System32\reg.exe 41 | 42 | 43 | :: Get the date into ISO 8601 standard format (yyyy-mm-dd) 44 | for /f %%a in ('^nul 2>&1 66 | if /i %ERRORLEVEL%==0 ( 67 | set SYSTEM_LANGUAGE=en 68 | goto detect_network_connection 69 | ) 70 | 71 | :: English UK 72 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0809" >nul 2>&1 73 | if /i %ERRORLEVEL%==0 ( 74 | set SYSTEM_LANGUAGE=gb 75 | goto detect_network_connection 76 | ) 77 | 78 | :: German 79 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0407" >nul 2>&1 80 | if /i %ERRORLEVEL%==0 ( 81 | set SYSTEM_LANGUAGE=de 82 | goto detect_network_connection 83 | ) 84 | 85 | :: Italian 86 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0410" >nul 2>&1 87 | if /i %ERRORLEVEL%==0 ( 88 | set SYSTEM_LANGUAGE=it 89 | goto detect_network_connection 90 | ) 91 | 92 | :: French 93 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "040C" >nul 2>&1 94 | if /i %ERRORLEVEL%==0 ( 95 | set SYSTEM_LANGUAGE=fr 96 | goto detect_network_connection 97 | ) 98 | 99 | :: French Canadian #1 100 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0409" >nul 2>&1 101 | if /i %ERRORLEVEL%==0 ( 102 | set SYSTEM_LANGUAGE=fr 103 | goto detect_network_connection 104 | ) 105 | 106 | :: French Canadian #2 107 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0C0C" >nul 2>&1 108 | if /i %ERRORLEVEL%==0 ( 109 | set SYSTEM_LANGUAGE=fr 110 | goto detect_network_connection 111 | ) 112 | 113 | :: Spanish 114 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0C0A" >nul 2>&1 115 | if /i %ERRORLEVEL%==0 ( 116 | set SYSTEM_LANGUAGE=es 117 | goto detect_network_connection 118 | ) 119 | 120 | :: Turkish 121 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "041F" >nul 2>&1 122 | if /i %ERRORLEVEL%==0 ( 123 | set SYSTEM_LANGUAGE=tr 124 | goto detect_network_connection 125 | ) 126 | 127 | :: Brazilian Portuguese 128 | reg query "hklm\system\controlset001\control\nls\language" /v Installlanguage | %FIND% /i "0416" >nul 2>&1 129 | if /i %ERRORLEVEL%==0 ( 130 | set SYSTEM_LANGUAGE=pb 131 | goto detect_network_connection 132 | ) 133 | 134 | 135 | :: Detect network connection. We assume it's available unless we actively detect it isn't 136 | :detect_network_connection 137 | set NETWORK_AVAILABLE=yes 138 | :: English 139 | if %SYSTEM_LANGUAGE%==en %WinDir%\system32\ipconfig /all | %FIND% /i "Subnet Mask" >NUL 2>&1 140 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 141 | :: English UK 142 | if %SYSTEM_LANGUAGE%==gb %WinDir%\system32\ipconfig /all | %FIND% /i "Subnet Mask" >NUL 2>&1 143 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 144 | :: German 145 | if %SYSTEM_LANGUAGE%==de %WinDir%\system32\ipconfig /all | %FIND% /i "Subnetzmaske" >NUL 2>&1 146 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 147 | :: Italian 148 | if %SYSTEM_LANGUAGE%==it %WinDir%\system32\ipconfig /all | %FIND% /i "Subnet Mask" >NUL 2>&1 149 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 150 | :: French 151 | if %SYSTEM_LANGUAGE%==fr %WinDir%\system32\ipconfig /all | %FIND% /i "Masque de" >NUL 2>&1 152 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 153 | :: Spanish 154 | if %SYSTEM_LANGUAGE%==es %WinDir%\system32\ipconfig /all | %FIND% /i "de subred" >NUL 2>&1 155 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 156 | :: Turkish 157 | ::if %SYSTEM_LANGUAGE%==fr %WinDir%\system32\ipconfig /all | %FIND% /i "xxxx" >NUL 2>&1 158 | ::if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 159 | :: Brazilian Portugese 160 | if %SYSTEM_LANGUAGE%==pb %WinDir%\system32\ipconfig /all | %FIND% /i "de Sub-rede" >NUL 2>&1 161 | if /i not %ERRORLEVEL%==0 set NETWORK_AVAILABLE=no 162 | 163 | 164 | :: Build USERPROFILES variable which works across ALL versions of Windows for determining location of C:\Users or C:\Documents and Settings 165 | pushd "%USERPROFILE%\.." 166 | set USERPROFILES=%CD% 167 | popd 168 | 169 | 170 | :: Build log directories if they don't exist 171 | for %%D in ("%LOGPATH%","%QUARANTINE_PATH%","%BACKUPS%","%RAW_LOGS%","%SUMMARY_LOGS%") do ( 172 | if not exist %%D mkdir %%D 173 | ) 174 | -------------------------------------------------------------------------------- /resources/functions/log.bat: -------------------------------------------------------------------------------- 1 | :: Tron's log function 2 | 3 | :: When the whole argument (%1) string is wrapped in double quotes, it is sent as an argument. 4 | :: The tilde syntax (%~1) removes the double quotes around the argument. 5 | @echo off 6 | echo:%~1>> "%LOGPATH%\%LOGFILE%" 7 | echo:%~1 -------------------------------------------------------------------------------- /resources/functions/log_with_date.bat: -------------------------------------------------------------------------------- 1 | :: Tron's log function with embedded date and time group (DTG) 2 | 3 | :: When the whole argument (%1) string is wrapped in double quotes, it is sent as an argument. 4 | :: The tilde syntax (%~1) removes the double quotes around the argument. 5 | @echo off 6 | echo:%CUR_DATE% %TIME% %~1>> "%LOGPATH%\%LOGFILE%" 7 | echo:%CUR_DATE% %TIME% %~1 -------------------------------------------------------------------------------- /resources/functions/prerun_checks_and_tasks.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Tron's pre-run checks. Various things to check before continuing on. 2 | :: Requirements: Called by tron.bat during script initialization 3 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.1.2 * Update unsupported OS check to trigger on Windows XP, since we're deprecating support for it soon 5 | :: 1.1.1 * Switch to alternate Administrator rights check 6 | :: 1.1.0 ! Fix regression re: disk space calculation fix 7 | :: 1.0.9 ! Fix disk space calculation on Win10 build 17763 (1809) and up due to fsutil output changing. Thanks to u/Paul_NZ 8 | :: 1.0.8 + Add some display messages explaining what we're doing (detecting disks, updating drivedb, etc) 9 | :: - Suppress "The operation completed successfully" output from bcdedit command 10 | :: 1.0.7 * Improve disk free space detection to work on non-English installations. Thanks to r/TchangLaTempete 11 | :: 1.0.6 / Import SMART problem code checks from tron.bat 12 | :: 1.0.5 * Don't check for drivedb.h updates if NETWORK_AVAILABLE is set to no 13 | :: 1.0.4 ! Fix syntax error in IF statement: Wrap paths in quotes to handle special characters and spaces 14 | :: 1.0.3 * Don't download drivedb.h definitions file if in either autorun mode 15 | :: 1.0.2 * Don't download drivedb.h definitions file if doing a dry run 16 | :: 1.0.1 + Add automatic update of drivedb.h prior to scanning hard drives. This ensures we're always on the latest definitions file 17 | :: Silently fails if no network connection 18 | :: 1.0.0 . Initial write, forked out of v9.9.0 of tron.bat 19 | @echo off 20 | 21 | 22 | :: Script version 23 | set PRERUN_CHECKS_SCRIPT_VERSION=1.1.2 24 | set PRERUN_CHECKS_SCRIPT_DATE=2020-03-04 25 | 26 | 27 | 28 | :::::::::::: 29 | :: CHECKS :: 30 | :::::::::::: 31 | 32 | :: CHECK: Admin rights 33 | :: Skip this check if we're in Safe Mode because Safe Mode command prompts always start with Admin rights 34 | SETLOCAL ENABLEDELAYEDEXPANSION 35 | if /i not "%SAFE_MODE%"=="yes" ( 36 | 37 | 38 | %REG% query "HKU\S-1-5-19\Environment" > NUL 39 | 40 | REM Alternate method 41 | REM fsutil dirty query %systemdrive% >NUL 2>&1 42 | 43 | 44 | if /i not !ERRORLEVEL!==0 ( 45 | color cf 46 | cls 47 | echo. 48 | echo ERROR 49 | echo. 50 | echo Tron doesn't think it is running as an Administrator. 51 | echo Tron MUST be run with full Administrator rights to 52 | echo function correctly. 53 | echo. 54 | echo Close this window and re-run Tron as an Administrator. 55 | echo ^(right-click tron.bat and click "Run as Administrator"^) 56 | echo. 57 | pause 58 | exit 1 59 | ) 60 | ) 61 | ENDLOCAL DISABLEDELAYEDEXPANSION 62 | 63 | 64 | :: CHECK: Detect unsupported OS. If we are, complain to the user and bail out 65 | if "%WIN_VER:~0,10%"=="Windows XP" ( 66 | if /i %DEV_MODE%==no ( 67 | color 0c 68 | echo. 69 | echo ^! ERROR 70 | echo. 71 | REM echo Tron does not support "%WIN_VER%" ^(yet^). 72 | echo Tron does not support "%WIN_VER%". 73 | echo. 74 | echo If you want to override and run anyway, re-run 75 | echo Tron from the command-line with the -dev switch. 76 | echo. 77 | echo Keep in mind that by doing this some things might 78 | echo not function as intended. 79 | echo. 80 | pause 81 | exit 3 82 | ) 83 | ) 84 | 85 | 86 | 87 | :: CHECK: Prohibited directory execution 88 | :: Why? because people have some bizarre obsession with running from the System temp folder 89 | :: or some other random location instead of from the desktop as instructed 90 | set RUNDIR=%~dp0 91 | if "%RUNDIR:~0,7%"=="%SystemDrive%\tron" set BAD_RUNPATH=yes 92 | if "%RUNDIR:~0,7%"=="%SystemDrive%\temp" set BAD_RUNPATH=yes 93 | if "%RUNDIR%"=="%TEMP%\tron\tron\resources\functions\" set BAD_RUNPATH=yes 94 | if "%RUNDIR%"=="%TEMP%\tron\resources\functions\" set BAD_RUNPATH=yes 95 | if "%RUNDIR%"=="%TEMP%\resources\functions\" set BAD_RUNPATH=yes 96 | if %BAD_RUNPATH%==yes ( 97 | color 0c 98 | cls 99 | echo. 100 | echo ERROR 101 | echo. 102 | echo Tron is running from a temp location or the root of %SystemDrive%. 103 | echo Tron cannot run from these locations as they're some of the 104 | echo first places to get cleaned when the script starts. Run Tron 105 | echo directly from the Desktop. Example of a correct path: 106 | echo. 107 | echo "%USERPROFILE%\Desktop\tron\tron.bat" 108 | echo. 109 | echo Go avail yourself of Step 1 of the instructions, which are named, 110 | echo appropriately enough... 111 | echo. 112 | echo "INSTRUCTIONS -- YES ACTUALLY READ THEM.txt" 113 | echo. 114 | echo Goodbye. 115 | echo. 116 | pause 117 | exit 5 118 | ) 119 | 120 | 121 | 122 | 123 | ::::::::::: 124 | :: TASKS :: 125 | ::::::::::: 126 | 127 | :: TASK: Detect Solid State hard drives or Virtual Machine installation (determines if post-run defrag executes or not) 128 | pushd stage_6_optimize\defrag\ 129 | 130 | :: Check for an updated drivedb.h, but ONLY if: 131 | :: a. not in a dry run 132 | :: b. not in autorun 133 | :: c. not in autorun (safe mode) 134 | :: d. network IS available 135 | if /i %DRY_RUN%==no ( if /i %AUTORUN%==no ( if /i %AUTORUN_IN_SAFE_MODE%==no ( if /i %NETWORK_AVAILABLE%==yes ( 136 | echo. 137 | echo Updating SMART drive database, please wait... 138 | echo. 139 | update-smart-drivedb.exe /S >nul 140 | echo Done. 141 | ) ) ) ) 142 | 143 | :: Do the scan 144 | echo. 145 | echo Detecting disks... 146 | echo. 147 | for /f %%i in ('smartctl.exe --scan') do smartctl.exe %%i -a | %FINDSTR% /i "Solid SSD RAID SandForce" >NUL && set SKIP_DEFRAG=yes_ssd 148 | for /f %%i in ('smartctl.exe --scan') do smartctl.exe %%i -a | %FINDSTR% /i "VMware VBOX XENSRC PVDISK" >NUL && set SKIP_DEFRAG=yes_vm 149 | for /f %%i in ('smartctl.exe --scan') do smartctl.exe %%i -a | %FIND% /i "Read Device Identity Failed" >NUL && set SKIP_DEFRAG=yes_disk_smart_read_error&&set WARNINGS_DETECTED=yes_disk_smart_read_error 150 | 151 | :: Look for known problem codes and set skip_defrag if so 152 | set WARNING_LIST=(Error Degraded Unknown PredFail Service Stressed NonRecover) 153 | for /f %%i in ('^NUL 183 | -------------------------------------------------------------------------------- /resources/functions/tron_settings.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Tron's settings script, called when it launches. Customize this file to change how Tron behaves. 2 | :: Sub-stage scripts also call this file if they're launched directly. 3 | :: Requirements: n/a 4 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 5 | :: Version: 1.0.7 - Remove all code related to Sophos due to it being deprecated 6 | :: 1.0.6 + Add SKIP_ADWCLEANER_SCAN (-sac) switch. Thanks to u/fr0stedfl4ke 7 | :: 1.0.5 - Remove references to Adobe Flash 8 | :: 1.0.4 + Add PRESERVE_MALWAREBYTES (-rmb) switch to have Tron automatically remove Malwarebytes at the end of the run 9 | :: + Add SKIP_COOKIE_CLEANUP (-scc) switch to have Tron preserve ALL cookies. Thanks to tbr:sebastian 10 | :: 1.0.3 + Add SKIP_ONEDRIVE_REMOVAL (-sor) switch. Thanks to github:ptrkhh 11 | :: 1.0.2 - Remove references to Java 12 | :: 1.0.1 + Add AUTORUN_IN_SAFE_MODE (-asm) switch and associated variable. Combine this with -a to automatically reboot to Safe Mode prior to running (legacy behavior) 13 | :: 1.0.0 . Initial write; forked out of v9.9.0 of tron.bat 14 | 15 | :: Script version 16 | set TRON_SETTINGS_SCRIPT_VERSION=1.0.7 17 | set TRON_SETTINGS_SCRIPT_DATE=2024-03-09 18 | 19 | 20 | ::::::::::::::: 21 | :: VARIABLES :: 22 | ::::::::::::::: 23 | :: Rules for variables: 24 | :: * NO quotes! (bad: "c:\directory\path" ) 25 | :: * NO trailing slashes on paths! (bad: c:\directory\ ) 26 | :: * Spaces are okay (okay: c:\my folder\with spaces ) 27 | :: * Network paths are okay (okay: \\server\share name ) 28 | 29 | :: LOGPATH is the parent directory for all of Tron's output (logs, backups, etc). Tweak the paths below to your liking if you want to change it 30 | :: If you want a separate directory generated per Tron run (for example if doing multiple runs for testing), use something like this: 31 | :: set LOGPATH=%SystemDrive%\logs\tron\%COMPUTERNAME%_%DTS% 32 | set LOGPATH=%SystemDrive%\logs\tron 33 | 34 | :: Master log file. To differentiate logfiles if you're doing multiple runs, you can do something like: 35 | :: set LOGFILE=tron_%COMPUTERNAME%_%DTS%.log 36 | set LOGFILE=tron.log 37 | 38 | :: Where Tron should save files that the various virus scanners put in quarantine. Currently unused (created, but nothing is stored here) 39 | set QUARANTINE_PATH=%LOGPATH%\quarantine 40 | 41 | :: Registry, Event Logs, and power scheme backups are all saved here 42 | set BACKUPS=%LOGPATH%\backups 43 | 44 | :: Where to save raw unprocessed logs from the various sub-tools 45 | set RAW_LOGS=%LOGPATH%\raw_logs 46 | 47 | :: Where to save the summary logs (created from the raw logs) 48 | set SUMMARY_LOGS=%LOGPATH%\summary_logs 49 | 50 | 51 | ::::::::::::::::::::: 52 | :: SCRIPT DEFAULTS :: 53 | ::::::::::::::::::::: 54 | :: ! These are Tron's defaults. All settings here are overridden if their respective command-line switch is used 55 | :: If you use a CLI switch and Tron encounters a reboot, the CLI switch will be honored when the script resumes 56 | :: AUTORUN (-a) = Automatic execution (no welcome screen or prompts), implies -e 57 | :: AUTORUN_IN_SAFE_MODE (-asm) = Automatic execution (no welcome screen or prompts), implies -e, autoboots to Safe Mode 58 | :: DRY_RUN (-d) = Run through script but skip all actual actions (test mode) 59 | :: DEV_MODE (-dev) = Override OS detection and allow running Tron on unsupported OS's 60 | :: EULA_ACCEPTED (-e) = Accept EULA (suppress disclaimer warning screen) 61 | :: EMAIL_REPORT (-er) = Email post-run report with log file. Requires you to configure SwithMailSettings.xml prior to running 62 | :: PRESERVE_METRO_APPS (-m) = Don't remove OEM Metro apps 63 | :: NO_PAUSE (-np) = Set to yes to skip pause at the end of the script 64 | :: AUTO_SHUTDOWN (-o) = Shutdown after the finishing. Overrides auto-reboot 65 | :: PRESERVE_POWER_SCHEME (-p) = Preserve active power scheme. Default is to reset power scheme to Windows defaults at the end of Tron 66 | :: PRESERVE_MALWAREBYTES (-pmb) = Preserve Malwarebytes (don't uninstall it) after Tron is complete 67 | :: AUTO_REBOOT_DELAY (-r) = Post-run delay (in seconds) before rebooting. Set to 0 to disable auto-reboot 68 | :: SKIP_ANTIVIRUS_SCANS (-sa) = Skip ALL antivirus scans (ADW, KVRT, MBAM, SAV). Use per-scanner switches to individually toggle usage 69 | :: SKIP_ADWCLEANER_SCAN (-sac) = Set to yes to skip AdwCleaner scan 70 | :: SKIP_APP_PATCHES (-sap) = Set to yes to skip application patches (don't patch 7-Zip) 71 | :: SKIP_COOKIE_CLEANUP (-scc) = Set to yes to preserve ALL cookies (not recommended, Tron auto-preserves most common login cookies) 72 | :: SKIP_CUSTOM_SCRIPTS (-scs) = Set to yes to forcibly skip Stage 8: Custom Scripts regardless whether or not .bat files exist in the directory 73 | :: SKIP_DEFRAG (-sd) = Set to yes to override the SSD detection check and force Tron to always skip defrag regardless of the drive type 74 | :: SKIP_DEBLOAT (-sdb) = Set to yes to skip de-bloat section (OEM bloat removal). Implies -m 75 | :: SKIP_DISM_CLEANUP (-sdc) = Skip DISM Cleanup (SxS component store deflation) 76 | :: SKIP_DEBLOAT_UPDATE (-sdu) = Set to yes to prevent Tron from auto-updating the stage 2 debloat lists prior to Stage 0 execution 77 | :: SKIP_EVENT_LOG_CLEAR (-se) = Set to yes to skip Event Log clear (don't backup and clear Windows Event Logs) 78 | :: SKIP_KASKPERSKY_SCAN (-sk) = Set to yes to skip Kaspersky Virus Rescue Tool scan 79 | :: SKIP_MBAM_INSTALL (-sm) = Set to yes to skip Malwarebytes Anti-Malware installation 80 | :: SKIP_ONEDRIVE_REMOVAL (-sor) = Set to yes to skip OneDrive removal regardless whether it's in use or not 81 | :: SKIP_PAGEFILE_RESET (-spr) = Skip page file settings reset (don't set to "Let Windows manage the page file") 82 | :: SKIP_TELEMETRY_REMOVAL (-str) = Set to yes to skip Telemetry Removal (just turn telemetry off instead of removing it) 83 | :: SKIP_WINDOWS_UPDATES (-swu) = Set to yes to skip Windows Updates entirely (ignore both WSUS Offline and online methods) 84 | :: SKIP_WSUS_OFFLINE (-swo) = Set to yes to skip user-supplied WSUS Offline updates (if they exist; online updates still attempted) 85 | :: UPLOAD_DEBUG_LOGS (-udl) = Upload debug logs. Send tron.log and the system GUID dump to the Tron developer. Please use this if possible, logs are extremely helpful in Tron development 86 | :: VERBOSE (-v) = When possible, show as much output as possible from each program Tron calls (e.g. ADW, KVRT, etc). NOTE: This is often much slower 87 | :: SELF_DESTRUCT (-x) = Set to yes to have Tron automatically delete itself after running. Leaves logs intact 88 | set AUTORUN=no 89 | set AUTORUN_IN_SAFE_MODE=no 90 | set DRY_RUN=no 91 | set DEV_MODE=no 92 | set EULA_ACCEPTED=no 93 | set EMAIL_REPORT=no 94 | set PRESERVE_METRO_APPS=no 95 | set NO_PAUSE=no 96 | set AUTO_SHUTDOWN=no 97 | set PRESERVE_POWER_SCHEME=no 98 | set PRESERVE_MALWAREBYTES=no 99 | set AUTO_REBOOT_DELAY=0 100 | set SKIP_ANTIVIRUS_SCANS=no 101 | set SKIP_ADWCLEANER_SCAN=no 102 | set SKIP_APP_PATCHES=no 103 | set SKIP_COOKIE_CLEANUP=no 104 | set SKIP_CUSTOM_SCRIPTS=no 105 | set SKIP_DEFRAG=no 106 | set SKIP_DEBLOAT=no 107 | set SKIP_DISM_CLEANUP=no 108 | set SKIP_DEBLOAT_UPDATE=no 109 | set SKIP_EVENT_LOG_CLEAR=no 110 | set SKIP_KASPERSKY_SCAN=no 111 | set SKIP_MBAM_INSTALL=no 112 | set SKIP_ONEDRIVE_REMOVAL=no 113 | set SKIP_PAGEFILE_RESET=no 114 | set SKIP_TELEMETRY_REMOVAL=no 115 | set SKIP_WINDOWS_UPDATES=no 116 | set SKIP_WSUS_OFFLINE=no 117 | set UPLOAD_DEBUG_LOGS=no 118 | set UNICORN_POWER_MODE=off 119 | set VERBOSE=no 120 | set SELF_DESTRUCT=no 121 | -------------------------------------------------------------------------------- /resources/stage_0_prep/check_update/check_update.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Tron's update checker, broken out from tron.bat as a function 2 | :: Requirements: Must be called from Tron 3 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.1.0 ! Use 'usebackq' on for loops that parse the version number, to allow quote-wrapping the file path to properly handle usernames with special characters. Thanks to u/xulafu 5 | :: 1.0.9 * Update wget User-Agent declaration to remove spaces 6 | :: / Simplify custom User-Agent 7 | :: 1.0.8 * Update wget commands to use a custom User-Agent so we can identify Tron update checks/downloads vs. other use of wget against the main repo 8 | :: 1.0.7 / Replace string "SCRIPT" with "TRON" in REPO_SCRIPT_VERSION, REPO_SCRIPT_DATE, SCRIPT_VERSION, and SCRIPT_DATE variables (to support Tron v10.0.0) 9 | :: * Update version comparison code to handle new v10 version string (batch can only do arithmatic comparison, not decimal) 10 | :: 1.0.6 ! Fix bug with missing username in %USERPROFILES% statement. Thanks to /u/TyanColte 11 | :: 1.0.5 ! Fix edge case where self-destruct code would be incorrectly triggered by re-using Tron's global SELF_DESTRUCT variable 12 | :: check_update.bat now uses its own internal "NUKE_OLD_VERSION" variable to check if we need to cleanup after an update. Thanks /u/wogmail 13 | :: 1.0.4 + Add missing :self_destruct code and fix sha256sums.txt character encoding. Thanks to /u/botopz 14 | :: 1.0.3 - Remove '--ca-certificate=stage_0_prep\check_update\bmrf.org.pem' declarative from wget calls, due to upgrading Tron's internal wget version to v1.18 15 | :: 1.0.2 + Import REPO_URL, REPO_BTSYNC_KEY, REPO_SCRIPT_DATE and REPO_SCRIPT_VERSION variables from tron.bat since they're only relevant here 16 | :: 1.0.1 ! Fix SSL encryption on update check and new version download. Previously we were skipping certificate checking due to cert errors. 17 | :: With this fix we now properly use the bundled .pem certificate to establish an SSL connection to the repo 18 | :: 1.0.0 + Initial write 19 | @echo off 20 | 21 | 22 | 23 | ::::::::::::::::::::: 24 | :: PREP AND CHECKS :: 25 | ::::::::::::::::::::: 26 | set CHECK_UPDATE_VERSION=1.1.0 27 | set CHECK_UPDATE_VERSION=2018-07-03 28 | 29 | :: Variables used during the update check 30 | set REPO_URL=https://bmrf.org/repos/tron 31 | set REPO_BTSYNC_KEY=BYQYYECDOJPXYA2ZNUDWDN34O2GJHBM47 32 | set REPO_TRON_DATE=0 33 | set REPO_TRON_VERSION=0 34 | set NUKE_OLD_VERSION=no 35 | 36 | :: Quick check to see if we inherited the appropriate variables from Tron.bat 37 | if /i "%LOGFILE%"=="" ( 38 | color 0c 39 | echo. 40 | echo ERROR 41 | echo. 42 | echo You cannot run this script directly - it must be 43 | echo called from Tron.bat during a Tron run. 44 | echo. 45 | echo Navigate to Tron's root folder and execute Tron.bat 46 | echo. 47 | pause 48 | exit /b 1 49 | ) 50 | 51 | 52 | 53 | ::::::::::::::::::::::: 54 | :: CHECK FOR UPDATES :: 55 | ::::::::::::::::::::::: 56 | 57 | :: wget sha256sums.txt from the repo 58 | stage_0_prep\check_update\wget.exe --user-agent="Tron-Update-Checker/%TRON_VERSION% (%WIN_VER%)" %REPO_URL%/sha256sums.txt -O "%TEMP%\sha256sums.txt" 2>NUL 59 | :: Assuming there was no error, go ahead and extract version number into REPO_TRON_VERSION, and release date into REPO_TRON_DATE 60 | :: We use usebackq here to allow us to quote-wrap the path to sha256sums.txt to properly handle usernames with special characters ( c:\users\rose&emma\appdata\.. etc ) 61 | if /i %ERRORLEVEL%==0 ( 62 | for /f "usebackq tokens=4 delims=,()" %%a in ("%TEMP%\sha256sums.txt") do set WORKING=%%a 63 | for /f "usebackq tokens=1,2,3 delims= " %%a in ("%TEMP%\sha256sums.txt") do set WORKING2=%%b 64 | ) 65 | if /i %ERRORLEVEL%==0 ( 66 | set REPO_TRON_DATE=%WORKING% 67 | set REPO_TRON_VERSION=%WORKING2:~1,6% 68 | ) 69 | 70 | 71 | :: Trigger a warning if we couldn't check for an update 72 | :: We don't log anything about it yet because the log is wiped at the start of each Tron run. 73 | :: There is a check immediately after the log header for the update checker return code, and this is where we log it if it failed 74 | if not %ERRORLEVEL%==0 set WARNINGS_DETECTED=yes_update_check_failed 75 | 76 | 77 | :: Reset window title since wget clobbers it 78 | title Tron v%TRON_VERSION% (%TRON_DATE%) 79 | 80 | 81 | :: If we're just doing a config dump we don't want to be prompted to updated, so just skip everything past this point 82 | if /i %CONFIG_DUMP%==yes goto :eof 83 | 84 | :: Notify if an update was found 85 | SETLOCAL ENABLEDELAYEDEXPANSION 86 | :: The goofy .= here says to take the variable and replace any instances of "=" with nothing (the character ".") in the output. 87 | :: If, for example, we were replacing "." with ABC, it would read: %TRON_VERSION:.=ABC% 88 | :: Basically we're just stripping out the period since cmd.exe can't handle decimal comparison operations (facepalm) 89 | if /i %TRON_VERSION:.=% LSS %REPO_TRON_VERSION:.=% ( 90 | set CHOICE=y 91 | color 8a 92 | cls 93 | echo. 94 | echo ^^! A newer version of Tron is available on the official repo. 95 | echo. 96 | echo Your version: %TRON_VERSION% ^(%SCRIPT_DATE%^) 97 | echo Latest version: %REPO_TRON_VERSION% ^(%REPO_TRON_DATE%^) 98 | echo. 99 | echo Option 1: Sync directly from repo using BT Sync read-only key: 100 | echo %REPO_BTSYNC_KEY% 101 | echo. 102 | echo Option 2: Download the latest self-extracting .exe yourself: 103 | echo %REPO_URL% 104 | echo. 105 | echo Option 3: Automatically download latest .exe to the desktop 106 | echo ^(This copy of Tron will self-destruct afterwards^) 107 | echo. 108 | set /p CHOICE= Auto-download latest version now? [Y/n]: 109 | if /i !CHOICE!==y ( 110 | color 8B 111 | cls 112 | echo. 113 | echo %TIME% Downloading new version to the desktop, please wait... 114 | echo. 115 | stage_0_prep\check_update\wget.exe --user-agent="Tron-Update-Downloader/%TRON_VERSION% (%WIN_VER%)" "%REPO_URL%/Tron v%REPO_TRON_VERSION% (%REPO_TRON_DATE%).exe" -O "%USERPROFILES%\%USERNAME%\Desktop\Tron v%REPO_TRON_VERSION% (%REPO_TRON_DATE%).exe" 116 | echo. 117 | echo %TIME% Download finished. 118 | echo. 119 | echo %TIME% Verifying SHA256 pack integrity, please wait... 120 | echo. 121 | stage_0_prep\check_update\hashdeep.exe -s -e -b -v -a -k "%TEMP%\sha256sums.txt" "%USERPROFILES%\%USERNAME%\Desktop\Tron*.exe" | %FIND% /i "Files matched: 1" 122 | if !ERRORLEVEL!==0 ( 123 | color 2f 124 | echo %TIME% SHA256 pack integrity verified. The new version is on your desktop. 125 | echo. 126 | echo %TIME% This copy of Tron will now self-destruct. 127 | echo. 128 | popd 129 | pause 130 | echo. && ENDLOCAL DISABLEDELAYEDEXPANSION && set NUKE_OLD_VERSION=yes 131 | ) else ( 132 | color 0c 133 | echo %TIME% ^^! ERROR: Download FAILED the integrity check. Recommend manually 134 | echo downloading latest version. Will delete failed file and 135 | echo exit. 136 | echo. 137 | pause 138 | REM Clean up after ourselves 139 | del /f /q "%USERPROFILES%\%USERNAME%\Desktop\Tron v%REPO_TRON_VERSION% (%REPO_TRON_DATE%).exe" 140 | del /f /q "%TEMP%\sha256sums.txt" 141 | exit /b 1 142 | ) 143 | ) 144 | color 0f 145 | ) 146 | ENDLOCAL DISABLEDELAYEDEXPANSION 147 | :: Clean up after ourselves 148 | if exist "%TEMP%\*sums.txt" del "%TEMP%\*sums.txt" 149 | 150 | 151 | :: Blow away the old version if we downloaded a new version 152 | set CWD=%CD% 153 | if /i %NUKE_OLD_VERSION%==yes ( 154 | cd .. 155 | del /f /q tron.bat >NUL 2>&1 156 | %SystemDrive% 157 | cd \ 158 | rmdir /s /q "%CWD%" 159 | exit 160 | ) 161 | 162 | 163 | 164 | 165 | :eof 166 | -------------------------------------------------------------------------------- /resources/stage_0_prep/check_update/check_update_debloat_lists.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Checks for updated debloat lists on Github prior to executing Tron. If updates are found, they are spliced in prior to Stage 0 execution 2 | :: Requirements: Must be called from Tron 3 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.1.0 + Add new job to check for and download the programs_to_target_by_name list 5 | :: * Update jobs to reflect new list names on Github 6 | :: 1.0.3 * Wrap all references to %TEMP% in quotes to account for possibility of a user account with special characters in it (e.g. "&") 7 | :: 1.0.2 ! Remove erroneous debugging statement that was mistakenly left in. It flagged the local 3rd party Metro list as being out of date regardless of version 8 | :: + Add preloading of variables so the script doesn't crash if it can't detect a version number correctly 9 | :: 1.0.1 - Remove '--no-check-certificate' statement from wget commands, due to upgrade of Tron's internal wget.exe to v1.18. 10 | :: Enables proper SSL encryption when checking Github's S2 debloat lists. Note that the wget commands will fail if not using at least v1.18 of wget 11 | :: 1.0.0 + Initial write 12 | @echo off 13 | 14 | 15 | 16 | ::::::::::::::::::::: 17 | :: PREP AND CHECKS :: 18 | ::::::::::::::::::::: 19 | set CHECK_UPDATE_DEBLOAT_LISTS_VERSION=1.1.0 20 | set CHECK_UPDATE_DEBLOAT_LISTS_VERSION=2016-11-01 21 | 22 | :: Base of the Github URL we pull the scripts from 23 | :: Full URL is built like this: %GITHUB_URL_BASE%/oem/FILENAME (for example) 24 | set GITHUB_URL_BASE=https://github.com/bmrf/tron/raw/master/resources/stage_2_de-bloat 25 | 26 | :: Quick check to see if we inherited the appropriate variables from Tron.bat 27 | if /i "%LOGFILE%"=="" ( 28 | color 0c 29 | echo. 30 | echo ERROR 31 | echo. 32 | echo You cannot run this script directly - it must be 33 | echo called from Tron.bat during a Tron run. 34 | echo. 35 | echo Navigate to Tron's root folder and execute Tron.bat 36 | echo. 37 | pause 38 | exit /b 1 39 | ) 40 | 41 | :: Preload variables 42 | set LOCAL_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 43 | set LOCAL_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 44 | set LOCAL_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION=0 45 | set LOCAL_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 46 | set LOCAL_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION=0 47 | 48 | 49 | set REPO_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 50 | set REPO_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 51 | set REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION=0 52 | set REPO_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION=0 53 | set REPO_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION=0 54 | 55 | 56 | ::::::::::::: 57 | :: EXECUTE :: 58 | ::::::::::::: 59 | :: Clean up the download area 60 | if exist "%TEMP%\*to_target_by_*" del /f "%TEMP%\*to_target_by_*" 2>NUL 61 | 62 | :: Fetch the repo PowerShell scripts 63 | for %%i in (metro_3rd_party_modern_apps_to_target_by_name,metro_Microsoft_modern_apps_to_target_by_name) do ( 64 | start /min stage_0_prep\check_update\wget %GITHUB_URL_BASE%/metro/%%i.ps1 -O "%TEMP%\%%i.ps1" 65 | ) 66 | :: Fetch the repo text scripts 67 | for %%i in (programs_to_target_by_GUID,programs_to_target_by_name,toolbars_BHOs_to_target_by_GUID) do ( 68 | start /min stage_0_prep\check_update\wget %GITHUB_URL_BASE%/oem/%%i.txt -O "%TEMP%\%%i.txt" 69 | ) 70 | 71 | :: Wait for wget to finish 72 | :wget_check_loop 73 | tasklist | %FIND% /i "wget" >nul 74 | if not errorlevel 1 ( 75 | ping 127.0.0.1 -n 3 >nul 76 | goto :wget_check_loop 77 | ) 78 | 79 | :: Reset window title since wget clobbers it 80 | title Tron v%SCRIPT_VERSION% (%SCRIPT_DATE%) 81 | 82 | 83 | 84 | 85 | :: Parse all scripts for their versions and stash in variables 86 | :: WARNING: FOR /F black magic was used below 87 | :: LOCAL: PowerShell scripts 88 | for /F usebackqtokens^=2delims^=^" %%i IN (`type "stage_2_de-bloat\metro\metro_3rd_party_modern_apps_to_target_by_name.ps1" ^| %FIND% "SCRIPT_VERSION"`) DO ( set LOCAL_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 89 | for /F usebackqtokens^=2delims^=^" %%i IN (`type "stage_2_de-bloat\metro\metro_Microsoft_modern_apps_to_target_by_name.ps1" ^| %FIND% "SCRIPT_VERSION"`) DO ( set LOCAL_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 90 | :: LOCAL: Batch scripts 91 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set LOCAL_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION=%%i ) 92 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "stage_2_de-bloat\oem\programs_to_target_by_name.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set LOCAL_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 93 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "stage_2_de-bloat\oem\toolbars_BHOs_to_target_by_GUID.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set LOCAL_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION=%%i ) 94 | :: REPO: PowerShell scripts 95 | for /F usebackqtokens^=2delims^=^" %%i IN (`type "%TEMP%\metro_3rd_party_modern_apps_to_target_by_name.ps1" ^| %FIND% "SCRIPT_VERSION"`) DO ( set REPO_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 96 | for /F usebackqtokens^=2delims^=^" %%i IN (`type "%TEMP%\metro_Microsoft_modern_apps_to_target_by_name.ps1" ^| %FIND% "SCRIPT_VERSION"`) DO ( set REPO_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 97 | :: REPO: Batch scripts 98 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "%TEMP%\programs_to_target_by_GUID.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION=%%i ) 99 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "%TEMP%\programs_to_target_by_name.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set REPO_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION=%%i ) 100 | for /F "tokens=2 delims='=' USEBACKQ" %%i IN (`type "%TEMP%\toolbars_BHOs_to_target_by_GUID.txt" ^| %FIND% "SCRIPT_VERSION"`) DO ( set REPO_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION=%%i ) 101 | 102 | 103 | 104 | 105 | :: Check all versions and splice in new code if necessary 106 | :: metro_3rd_party_modern_apps_to_target_by_name.ps1 107 | if /i %LOCAL_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION% LSS %REPO_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION% ( 108 | call functions\log.bat " ! Github metro_3rd_party list is v%REPO_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%which is newer than local v%LOCAL_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%" 109 | call functions\log.bat " ! Splicing in updated v%REPO_METRO_3RD_PARTY_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%list and renaming old list with .backup extension." 110 | move /y "stage_2_de-bloat\metro\metro_3rd_party_modern_apps_to_target_by_name.ps1" "stage_2_de-bloat\metro\metro_3rd_party_modern_apps_to_target_by_name.ps1.backup" >NUL 111 | move /y "%TEMP%\metro_3rd_party_modern_apps_to_target_by_name.ps1" "stage_2_de-bloat\metro\metro_3rd_party_modern_apps_to_target_by_name.ps1" >NUL 112 | ping 127.0.0.1 -n 5 >nul 113 | call functions\log.bat " Done." 114 | ) 115 | 116 | :: metro_Microsoft_modern_apps_to_target_by_name.ps1 117 | if /i %LOCAL_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION% LSS %REPO_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION% ( 118 | call functions\log.bat " ! Github metro_Microsoft list is v%REPO_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%which is newer than local v%LOCAL_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%" 119 | call functions\log.bat " ! Splicing in updated v%REPO_METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION%list and renaming old list with .backup extension." 120 | move /y "stage_2_de-bloat\metro\metro_Microsoft_modern_apps_to_target_by_name.ps1" "stage_2_de-bloat\metro\metro_Microsoft_modern_apps_to_target_by_name.ps1.backup" >NUL 121 | move /y "%TEMP%\metro_Microsoft_modern_apps_to_target_by_name.ps1" "stage_2_de-bloat\metro\metro_Microsoft_modern_apps_to_target_by_name.ps1" >NUL 122 | ping 127.0.0.1 -n 5 >nul 123 | call functions\log.bat " Done." 124 | ) 125 | 126 | :: programs_to_target_by_GUID.txt 127 | if /i %LOCAL_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION% LSS %REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION% ( 128 | call functions\log.bat " ! Github programs_to_target_by_GUID list is v%REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%which is newer than local v%LOCAL_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%" 129 | call functions\log.bat " ! Splicing in updated v%REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%list and renaming old list with .backup extension." 130 | move /y "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt.backup" >NUL 131 | move /y "%TEMP%\programs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt" >NUL 132 | ping 127.0.0.1 -n 5 >nul 133 | call functions\log.bat " Done." 134 | ) 135 | 136 | :: programs_to_target_by_name.txt 137 | if /i %LOCAL_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION% LSS %REPO_PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION% ( 138 | call functions\log.bat " ! Github programs_to_target_by_name list is v%REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%which is newer than local v%LOCAL_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%" 139 | call functions\log.bat " ! Splicing in updated v%REPO_PROGRAMS_TO_TARGET_BY_GUID_SCRIPT_VERSION%list and renaming old list with .backup extension." 140 | move /y "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt.backup" >NUL 141 | move /y "%TEMP%\programs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\programs_to_target_by_GUID.txt" >NUL 142 | ping 127.0.0.1 -n 5 >nul 143 | call functions\log.bat " Done." 144 | ) 145 | 146 | :: toolbars_BHOs_to_target_by_GUID.txt 147 | if /i %LOCAL_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION% LSS %REPO_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION% ( 148 | call functions\log.bat " ! Github toolbars_BHOs_to_target_by_GUID list is v%REPO_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION%which is newer than local v%LOCAL_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION%" 149 | call functions\log.bat " ! Splicing in updated v%REPO_TOOLBARS_BHOS_TO_TARGET_BY_GUID_SCRIPT_VERSION%list and renaming old list with .backup extension." 150 | move /y "stage_2_de-bloat\oem\toolbars_BHOs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\toolbars_BHOs_to_target_by_GUID.txt.backup" >NUL 151 | move /y "%TEMP%\toolbars_BHOs_to_target_by_GUID.txt" "stage_2_de-bloat\oem\toolbars_BHOs_to_target_by_GUID.txt" >NUL 152 | ping 127.0.0.1 -n 5 >nul 153 | call functions\log.bat " Done." 154 | ) 155 | 156 | 157 | 158 | 159 | :: Clean up 160 | if exist "%TEMP%\*to_target_by_*" del /f "%TEMP%\*to_target_by_*" 2>NUL 161 | -------------------------------------------------------------------------------- /resources/stage_0_prep/check_update/hashdeep.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_0_prep/check_update/hashdeep.exe -------------------------------------------------------------------------------- /resources/stage_0_prep/check_update/wget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_0_prep/check_update/wget.exe -------------------------------------------------------------------------------- /resources/stage_0_prep/processkiller/ProcessKiller_v1.1.0-TRON.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | REM This is the source code for ProcessKiller-v1.1.0-TRON.exe 3 | REM Kills all unnecessary processes in Windows XP and up. 4 | REM Made for the Tron project by /u/cuddlychops06 5 | REM Updated Sunday, March 9th, 2015 8:05pm 6 | title ~ PROCESS KILLER ~ 7 | mode 46,10 8 | color 4F 9 | reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v ProductName | find "Microsoft Windows XP" >nul 2>nul 10 | if %ERRORLEVEL% EQU 0 (goto :checkfortaskkill) else (goto :kill) 11 | 12 | :checkfortaskkill 13 | cls 14 | if exist "%windir%\system32\taskkill.exe" (goto :kill) else (goto :copy) 15 | 16 | :kill 17 | cls 18 | echo. 19 | echo. 20 | echo. 21 | echo **************************************** 22 | echo ** KILLING ALL UNNECESSARY PROCESSES! ** 23 | echo **************************************** 24 | ping -n 3 127.0.0.1 >nul 25 | taskkill.exe /F /FI "USERNAME eq %USERNAME%" /FI "IMAGENAME ne ClassicShellService.exe" /FI "IMAGENAME ne explorer.exe" /FI "IMAGENAME ne dwm.exe" /FI "IMAGENAME ne cmd.exe" /FI "IMAGENAME ne mbam.exe" /FI "IMAGENAME ne teamviewer.exe" /FI "IMAGENAME ne TeamViewer_Service.exe" /FI "IMAGENAME ne Taskmgr.exe" /FI "IMAGENAME ne Teamviewer_Desktop.exe" /FI "IMAGENAME ne MsMpEng.exe" /FI "IMAGENAME ne tv_w32.exe" /FI "IMAGENAME ne LogMeIn.exe" /FI "IMAGENAME ne Tron.bat" /FI "IMAGENAME ne rkill.exe" /FI "IMAGENAME ne rkill64.exe" /FI "IMAGENAME ne rkill.com" /FI "IMAGENAME ne rkill64.com" /FI "IMAGENAME ne conhost.exe" /FI "IMAGENAME ne dashost.exe" /FI "IMAGENAME ne wget.exe" /FI "IMAGENAME ne TechToolbox.exe" /FI "IMAGENAME ne vmtoolsd.exe" /FI "IMAGENAME ne conhost.exe" >nul 2>nul 26 | exit 27 | 28 | :copy 29 | cls 30 | xcopy "%temp%\taskkill.exe" "%windir%\system32\" >nul 31 | if %errorlevel% equ 1 goto :failed 32 | goto :kill 33 | 34 | :failed 35 | cls 36 | echo Error copying file. 37 | echo Unable to continue. 38 | ping -n 3 127.0.0.1 >nul 39 | exit 40 | -------------------------------------------------------------------------------- /resources/stage_0_prep/processkiller/whitelist.txt: -------------------------------------------------------------------------------- 1 | ;This is your whitelist.txt file for ProcessKiller 2.0. 2 | ;Lines that start with a semi-colon are commented out. 3 | ; 4 | ;It is a good idea to add all your remote control tool 5 | ;executables to this list. Be sure you add all of them. 6 | ; 7 | ;Add your exclusions by the process name in all lower-case. 8 | ;DO NOT add file extensions to the process name. 9 | ; 10 | ;EXAMPLES: 11 | ;iexplore 12 | ;logmein 13 | ;adwcleaner 14 | ; 15 | ;Enjoy! /u/cuddlychops06 16 | ; 17 | ;ADD EXCLUSIONS BELOW: 18 | caffeine 19 | sihost 20 | SearchUI 21 | ; screen reader (requested by u/maj01) 22 | nvdahelperremoteloader 23 | nvda 24 | 25 | ; Windows Terminal Processes (requested by github:TylersComputersKC) 26 | WindowsTerminal 27 | OpenConsole 28 | wt -------------------------------------------------------------------------------- /resources/stage_0_prep/repair_wmi/repair_wmi.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Test and attempt repair of WMI 2 | :: Requirements: Broken WMI configuration 3 | :: Author: Originally taken from http://craighassan.com/fix-wmi-batch-file/ 4 | :: Modified by reddit.com/user/vocatus ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 5 | :: Version: 1.0.1 ! Fix "smart quotes" incorrectly being used on some commands 6 | :: 1.0.0 + Initial write 7 | SETLOCAL 8 | 9 | 10 | ::::::::::::::: 11 | :: VARIABLES :: -------------- These are the defaults. Change them if you so desire. --------- :: 12 | ::::::::::::::: 13 | :: No user-set variables for this script 14 | 15 | 16 | :: --------------------------- Don't edit anything below this line --------------------------- :: 17 | 18 | 19 | ::::::::::::::::::::: 20 | :: PREP AND CHECKS :: 21 | ::::::::::::::::::::: 22 | set SCRIPT_VERSION=1.0.1 23 | set SCRIPT_UPDATED=2018-07-04 24 | 25 | @echo OFF 26 | REM Test and attempt repair of WMI 27 | REM 28 | REM 1. Restart WinMgmts and all dependendency services 29 | REM 2. Verify / Salvage / Reset Repository and restart services 30 | REM 3. Rebuild WMI Repository and restart services 31 | 32 | 33 | set LERR=0 34 | set ATTEMPT=0 35 | 36 | :BEGINCHK 37 | echo CHECKING WMI... ATTEMPT:%ATTEMPT%... 38 | wmic computersystem get name 39 | IF %ERRORLEVEL%==0 goto SUCCESS 40 | IF %ATTEMPT%==0 GOTO REPAIR1 41 | IF %ATTEMPT%==1 GOTO REPAIR2 42 | IF %ATTEMPT%==2 GOTO REPAIR3 43 | GOTO ERR 44 | 45 | :REPAIR1 46 | set ATTEMPT=1 47 | set LERR=1001 48 | echo 1. RESTARTING WMI... ATTEMPT:%ATTEMPT%...& 49 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 1. RESTARTING WMI... Stopping "%%a"...& net stop "%%a" /y> nul 50 | echo 1. RESTARTING WMI... Stopping WinMgmt& net stop winmgmt /y> nul& sc stop winmgmt> nul 51 | ping 127.0.0.1 -n 5 52 | echo 1. RESTARTING WMI... Starting WinMgmt& sc start winmgmt> nul 53 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 1. RESTARTING WMI... Starting "%%a"...& sc start "%%a"> nul 54 | GOTO BEGINCHK 55 | 56 | 57 | :REPAIR2 58 | set ATTEMPT=2 59 | set LERR=2001 60 | echo 2. REPAIRING WMI REPOSITORY... ATTEMPT:%ATTEMPT%... 61 | echo 2. REPAIRING WMI REPOSITORY... 1. Resetting permissions... 62 | sc sdset winmgmt D:(A;;CCDCLCSWRPWPDTLOCRRC;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;DA)(A;;CCDCLCSWRPWPDTLOCRRC;;;PU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY) 63 | echo 2. REPAIRING WMI REPOSITORY... 1. Verifying...& %windir%\system32\wbem\winmgmt /verifyrepository 64 | IF %ERRORLEVEL%==0 GOTO SKIPRESET 65 | set LERR=2002 66 | echo 2. REPAIRING WMI REPOSITORY... 2. Salvaging...& %windir%\system32\wbem\winmgmt /salvagerepository 67 | IF %ERRORLEVEL%==0 GOTO SKIPRESET 68 | set LERR=2003 69 | echo 2. REPAIRING WMI REPOSITORY... 3. Resetting...& %windir%\system32\wbem\winmgmt /resetrepository 70 | IF %ERRORLEVEL%==0 GOTO SKIPRESET 71 | set LERR=2004 72 | 73 | :SKIPRESET 74 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 2. REPAIRING WMI REPOSITORY... Stopping "%%a"...& net stop "%%a" /y> nul 75 | echo 2. REPAIRING WMI REPOSITORY... Stopping WinMgmt& net stop winmgmt /y> nul& sc stop winmgmt> nul 76 | ping 127.0.0.1 -n 5 77 | echo 2. REPAIRING WMI REPOSITORY.. Starting WinMgmt& sc start winmgmt> nul 78 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 2. REPAIRING WMI REPOSITORY... Starting "%%a"...& sc start "%%a"> nul 79 | GOTO BEGINCHK 80 | 81 | 82 | :REPAIR3 83 | set ATTEMPT=3 84 | set LERR=3001 85 | echo 3. REBUILDING WMI REPOSITORY... ATTEMPT:%ATTEMPT%... 86 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 3. REBUILDING WMI REPOSITORY... Stopping "%%a"...& net stop "%%a" /y> nul 87 | echo 3. REBUILDING WMI REPOSITORY... Stopping BITS& net stop BITS /y> nul& sc stop BITS> nul 88 | ping 127.0.0.1 -n 5 89 | echo 3. REBUILDING WMI REPOSITORY... Stopping WinMgmt& net stop winmgmt /y> nul& sc stop winmgmt> nul 90 | ping 127.0.0.1 -n 5 91 | %SystemDrive% 92 | pushd %systemroot%\system32\wbem 93 | echo 3. REBUILDING WMI REPOSITORY... Deleting WMI Repository& rd /S /Q repository 94 | if exist %systemroot%\system32\wbem\repository echo 3. REBUILDING WMI REPOSITORY... ERROR! Unable to delete WMI repository. Reboot Required. 95 | pause 96 | echo 3. REBUILDING WMI REPOSITORY... Registering DLLs (scecli.dll)& regsvr32 /s %systemroot%\system32\scecli.dll 97 | echo 3. REBUILDING WMI REPOSITORY... Registering DLLs (userenv.dll)& regsvr32 /s %systemroot%\system32\userenv.dll 98 | echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs (cimwin32.mof)& mofcomp cimwin32.mof 99 | echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs (cimwin32.mfl)& mofcomp cimwin32.mfl 100 | echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs (rsop.mof)& mofcomp rsop.mof 101 | echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs (rsop.mfl)& mofcomp rsop.mfl 102 | echo 3. REBUILDING WMI REPOSITORY... Registering DLLs 103 | for /f %%s in ('dir /b /s *.dll') do echo 3. REBUILDING WMI REPOSITORY... Registering DLLs (%%s)& regsvr32 /s %%s> nul 104 | echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs 105 | for /f %%s in ('dir /b *.mof') do echo 3. REBUILDING WMI REPOSITORY... Compiling MOFs (%%s)& mofcomp %%s> nul 106 | for /f %%s in ('dir /b *.mfl') do echo 3. REBUILDING WMI REPOSITORY... Compiling MFLs (%%s)& mofcomp %%s> nul 107 | 108 | echo 3. REBUILDING WMI REPOSITORY... Registering .exe's 109 | for %%i in (*.exe) do call :FixSrv %%i 110 | :FixSrv 111 | if /I (%1) == (wbemcntl.exe) goto SkipSrv 112 | if /I (%1) == (wbemtest.exe) goto SkipSrv 113 | if /I (%1) == (mofcomp.exe) goto SkipSrv 114 | %1 /RegServer 115 | :SkipSrv 116 | 117 | echo 3. REBUILDING WMI REPOSITORY... Starting WinMgmt& sc start winmgmt> nul 118 | ping 127.0.0.1 -n 5 119 | echo 3. REBUILDING WMI REPOSITORY... Starting BITS& sc start BITS> nul 120 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 3. REBUILDING WMI REPOSITORY... Starting "%%a"...& sc start "%%a"> nul 121 | timeout /t 10 122 | echo 3. REBUILDING WMI REPOSITORY... 1. Verifying...& %windir%\system32\wbem\winmgmt /verifyrepository 123 | IF %ERRORLEVEL%==0 GOTO SKIPRESET 124 | set LERR=3002 125 | echo 3. REBUILDING WMI REPOSITORY... 2. Salvaging...& %windir%\system32\wbem\winmgmt /salvagerepository 126 | IF %ERRORLEVEL%==0 GOTO SKIPRESET 127 | set LERR=3003 128 | echo 3. REBUILDING WMI REPOSITORY... 3. Resetting...& %windir%\system32\wbem\winmgmt /resetrepository 129 | set LERR=3004 130 | :SKIPRESET 131 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 3. REBUILDING WMI REPOSITORY... Stopping "%%a"...& net stop "%%a" /y> nul 132 | echo 3. REBUILDING WMI REPOSITORY... Stopping WinMgmt& net stop winmgmt /y> nul& sc stop winmgmt> nul 133 | ping 127.0.0.1 -n 5 134 | echo 3. REBUILDING WMI REPOSITORY... Starting WinMgmt& sc start winmgmt> nul 135 | for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 3. REBUILDING WMI REPOSITORY... Starting "%%a"...& sc start "%%a"> nul 136 | GOTO BEGINCHK 137 | 138 | :ERR 139 | set LERR=4001 140 | echo ERROR:%LERR% UNABLE TO REPAIR WMI, ATTEMPTS:%ATTEMPT% (%ATTEMPT%:%LERR%). 141 | GOTO END 142 | 143 | :SUCCESS 144 | IF %LERR%==0 echo WMI FUNCTIONING CORRECTLY. REPAIR SKIPPED. 145 | IF %LERR% NEQ 0 echo WMI REPAIR SUCCESS! WMI REPAIRED (%ATTEMPT%:%LERR%). 146 | GOTO END 147 | 148 | :END 149 | popd 150 | REM EXIT %LERR% 151 | -------------------------------------------------------------------------------- /resources/stage_0_prep/rkill/explanation.txt: -------------------------------------------------------------------------------- 1 | Renamed rkill.exe to solitaire.exe to avoid malware blocking. Binary is identical regardless of name. -------------------------------------------------------------------------------- /resources/stage_0_prep/rkill/rkill_process_whitelist.txt: -------------------------------------------------------------------------------- 1 | C:\Windows\System32\conhost.exe 2 | %ProgramFiles(x86)%\NVDA\lib64\2018.3.2\nvdaHelperRemoteLoader.exe 3 | %ProgramFiles(x86)%\NVDA\nvda.exe 4 | %ProgramFiles(x86)%\TeamViewer\TeamViewer.exe 5 | %ProgramFiles(x86)%\TeamViewer\TeamViewer_Desktop.exe 6 | %ProgramFiles(x86)%\TeamViewer\TeamViewer_Service.exe 7 | %ProgramFiles(x86)%\TeamViewer\tv_w32.exe 8 | %ProgramFiles(x86)%\TeamViewer\tv_x64.exe 9 | %ProgramFiles(x86)%\LogMeIn\x64\LogMeIn.exe 10 | %ProgramFiles(x86)%\LogMeIn\x64\LogMeInSystray.exe 11 | %ProgramFiles(x86)%\LogMeIn\x64\LogMeInToolkit.exe 12 | %ProgramFiles(x86)%\LogMeIn\Ignition\LMIIgnition.exe 13 | %ProgramFiles(x86)%\LogMeIn\x86\LogMeIn.exe 14 | %ProgramFiles(x86)%\LogMeIn\x86\LogMeInSystray.exe 15 | %ProgramFiles(x86)%\LogMeIn\x86\LogMeInToolkit.exe 16 | %ProgramFiles%\LogMeIn\x64\LogMeIn.exe 17 | %ProgramFiles%\LogMeIn\x64\LogMeInSystray.exe 18 | %ProgramFiles%\LogMeIn\x64\LogMeInToolkit.exe 19 | %ProgramFiles%\LogMeIn\x86\LogMeIn.exe 20 | %ProgramFiles%\LogMeIn\x86\LogMeInSystray.exe 21 | %ProgramFiles%\LogMeIn\x86\LogMeInToolkit.exe 22 | %ProgramFiles%\LogMeIn\Ignition\LMIIgnition.exe 23 | %ProgramFiles%\TigerVNC\winvnc4.exe 24 | %Temp%\TeamViewer\TeamViewer.exe 25 | %Temp%\TeamViewer\TeamViewer_Desktop.exe 26 | %Temp%\TeamViewer\TeamViewer_Service.exe 27 | %Temp%\TeamViewer\tv_w32.exe 28 | %Temp%\TeamViewer\tv_x64.exe 29 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\SimpleService.exe 30 | %systemdrive%\Windows\Temp\ShAeroDisabler.exe 31 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\java.exe 32 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\javaw.exe 33 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\JWrapper.exe 34 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Manage Remote Access Service.exe 35 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\pack200.exe 36 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote Access Session.exe 37 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote Access.exe 38 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote AccessECompatibility.exe 39 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote AccessLauncher.exe 40 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote Support.exe 41 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote SupportECompatibility.exe 42 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Remote SupportLauncher.exe 43 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\ssvagent.exe 44 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\Stop Remote Access Service.exe 45 | %systemdrive%\ProgramData\JWrapper-Remote Access\JWrapper-Windows64JRE-00000000000-complete\bin\unpack200.exe 46 | %systemdrive%\Documents and Settings\Administrator\Application Data\JWrapper-Remote Support\JWrapper-Windows32JRE-00028603591-complete\bin\Remote Support.exe 47 | %systemdrive%\Documents and Settings\Administrator\Application Data\JWrapper-Remote Support\JWrapperTemp-1428395262-0-app\bin\javaw.exe 48 | %systemdrive%\Documents and Settings\All Users\Application Data\JWrapper-Remote Access\JWAppsSharedConfig\SimpleService.exe 49 | %systemdrive%\Documents and Settings\All Users\Application Data\JWrapper-Remote Access\JWrapper-Windows32JRE-00000000000-complete\bin\Remote Access.exe 50 | %systemdrive%\Documents and Settings\Administrator\Application Data\JWrapper-Remote Support\JWrapper-Windows32JRE-00028603591-complete\bin\javaw.exe 51 | %WINDIR%\System32\wt.exe -------------------------------------------------------------------------------- /resources/stage_1_tempclean/ccleaner/ccleaner.ini: -------------------------------------------------------------------------------- 1 | [Options] 2 | (App).NET Framework *=True 3 | (App).NET Framework Isolated Storage *=True 4 | (App)7-Zip=True 5 | (App)Accounts Control *=True 6 | (App)Action Center *=True 7 | (App)Active Setup Temp Folder *=True 8 | (App)Adblock Plus For IE *=True 9 | (App)Adobe Acrobat XI *=True 10 | (App)Adobe Acrobat XI=True 11 | (App)Adobe Application Manager *=True 12 | (App)Adobe Flash Player *=True 13 | (App)Adobe Flash Player=True 14 | (App)Adobe Reader DC *=True 15 | (App)Adobe Reader DC=True 16 | (App)Applications=True 17 | (App)ART *=True 18 | (App)Audio/Video Stats *=True 19 | (App)Autocomplete Form History=True 20 | (App)AutoPlay Devices *=True 21 | (App)Backup *=True 22 | (App)Battle.net *=True 23 | (App)Battle.net Cache *=True 24 | (App)Bitcoin *=True 25 | (App)BitTorrent Sync *=True 26 | (App)Bookmark Backup *=True 27 | (App)Bookmark Backups *=True 28 | (App)Brother Printer *=True 29 | (App)Browser Exit Codes *=True 30 | (App)Bugsplat *=True 31 | (App)Cached Certification Files *=True 32 | (App)Cached File Extensions *=True 33 | (App)Cached Shell Extensions *=True 34 | (App)CD/DVD Burn Cache *=True 35 | (App)CDBurnerXP=True 36 | (App)Cheat Engine *=True 37 | (App)Chrome Application Cache *=True 38 | (App)Chrome Crash Reports *=True 39 | (App)Chrome Temps *=True 40 | (App)Chrome Updates *=True 41 | (App)ClassicShell MRU *=True 42 | (App)Cloud Experience Host *=True 43 | (App)Common Language Runtime *=True 44 | (App)Compatibility Assistant *=True 45 | (App)Contact Support *=True 46 | (App)Content Delivery Manager *=True 47 | (App)Cookies=True 48 | (App)Corrupt SQLites *=True 49 | (App)Cortana *=True 50 | (App)Crash Files *=True 51 | (App)Defraggler *=True 52 | (App)Desktop Shortcuts=True 53 | (App)Device Manager Cache *=True 54 | (App)Diablo 2 *=True 55 | (App)DNS Cache=True 56 | (App)Feeds Cache *=True 57 | (App)Firefox HTML5 Storage *=True 58 | (App)Firefox Logs *=True 59 | (App)FlashPlayer AssetCache *=True 60 | (App)FlashPlayer SharedObjects *=True 61 | (App)Font Cache=True 62 | (App)FontCache *=True 63 | (App)Game Explorer=True 64 | (App)GNU Cache *=True 65 | (App)Google Chrome - Compact Databases=True 66 | (App)Google Chrome - Session=True 67 | (App)Google Cloud Messaging *=True 68 | (App)GPU Cache *=True 69 | (App)History *=True 70 | (App)HitmanPro *=True 71 | (App)Hotfix Uninstallers=False 72 | (App)HTML Help *=True 73 | (App)HTML5 Storage *=True 74 | (App)Icon Cache *=True 75 | (App)IIS Log Files=True 76 | (App)ImgBurn=True 77 | (App)Immersive Control Panel *=True 78 | (App)Installer *=True 79 | (App)Intel Installation Logs *=True 80 | (App)Internet Explorer *=True 81 | (App)Internet Explorer Vault *=True 82 | (App)Invalid File Extensions=True 83 | (App)Java=True 84 | (App)Jump Lists *=True 85 | (App)Kaspersky *=True 86 | (App)K-Lite Codec Pack *=True 87 | (App)LibreOffice *=True 88 | (App)Local Storage *=True 89 | (App)LocalService *=True 90 | (App)LocalSystem *=True 91 | (App)Lock App *=True 92 | (App)Lock Files *=True 93 | (App)Logs *=True 94 | (App)Machete *=True 95 | (App)Macromedia Shockwave *=True 96 | (App)Macromedia Shockwave 11=True 97 | (App)Malwarebytes Anti-Malware *=True 98 | (App)Malwarebytes Anti-Malware=True 99 | (App)Media Player Classic *=True 100 | (App)Media Player Classic=True 101 | (App)Microsoft Edge - Cookies=True 102 | (App)Microsoft Edge - Saved Form Information=True 103 | (App)Microsoft Edge - Session=False 104 | (App)Microsoft Edge *=True 105 | (App)Microsoft Silverlight *=True 106 | (App)Microsoft Silverlight=True 107 | (App)Mozilla - Compact Databases=True 108 | (App)MS Clip Organizer *=True 109 | (App)MS Management Console=True 110 | (App)MS Notepad *=True 111 | (App)MS Office *=True 112 | (App)MS Office Picture Manager=True 113 | (App)MS Office Recent Templates *=True 114 | (App)MS Office Unsaved Files *=True 115 | (App)MS Paint=True 116 | (App)MS Search *=True 117 | (App)MS Search=True 118 | (App)MS Visual Studio *=True 119 | (App)MSConfig *=True 120 | (App)NetworkService *=True 121 | (App)Notepad++ *=True 122 | (App)Notepad++ Backups *=True 123 | (App)Notepad++=True 124 | (App)Notifications *=True 125 | (App)Npcap Loopback Adapter *=True 126 | (App)NVIDIA *=True 127 | (App)NVIDIA Install Files=True 128 | (App)Office 2007=True 129 | (App)Old Prefetch data=True 130 | (App)Omnibox Shortcut *=True 131 | (App)OneDrive *=True 132 | (App)OpenRA *=True 133 | (App)OpenRA Replays *=True 134 | (App)PeerNetworking *=True 135 | (App)Plex Media Server *=True 136 | (App)PnaclTranslation Cache *=True 137 | (App)Power Efficiency Diagnostics *=True 138 | (App)PowerShell *=True 139 | (App)Presentation Foundation *=True 140 | (App)Print Queue *=True 141 | (App)Project64 *=True 142 | (App)PunkBuster *=True 143 | (App)Quota Manager Data *=True 144 | (App)Realtek *=True 145 | (App)RegEdit=True 146 | (App)Remote Desktop *=True 147 | (App)Remote Desktop=True 148 | (App)Resilio Sync *=True 149 | (App)ScreenShot Index *=True 150 | (App)Search History *=True 151 | (App)Session Manager *=True 152 | (App)Session Storage *=True 153 | (App)SetRegistryKey Leftovers *=True 154 | (App)SetupMetrics *=True 155 | (App)Sharing MFU *=True 156 | (App)Shell Experience Host *=True 157 | (App)StarCraft II *=True 158 | (App)StarCraft II Editor *=True 159 | (App)Start Menu Cache *=True 160 | (App)Start Menu Shortcuts=True 161 | (App)Startup Cache *=True 162 | (App)Steam *=True 163 | (App)Steam Caches *=True 164 | (App)Steam Games *=True 165 | (App)Steam Installers *=True 166 | (App)Steam Packages *=True 167 | (App)Stored Media Player Paths *=True 168 | (App)Stored MIME Types *=True 169 | (App)Sun Java=True 170 | (App)Telemetry *=True 171 | (App)TEMP Folder *=True 172 | (App)Temps *=True 173 | (App)Tray Notifications Cache=True 174 | (App)Ubisoft Game Launcher *=True 175 | (App)Ubisoft Game Launcher Installers *=True 176 | (App)urlclassifier3.sqlite *=True 177 | (App)User Assist History=True 178 | (App)uTorrent ipfilter backup *=True 179 | (App)VMware Player *=True 180 | (App)VMware Workstation *=True 181 | (App)Web Applications *=True 182 | (App)Web Data *=True 183 | (App)webappsstore.sqlite *=True 184 | (App)WebRTCIdentityStore *=True 185 | (App)Winamp *=True 186 | (App)Winamp=True 187 | (App)Windows Defender *=True 188 | (App)Windows Defender=True 189 | (App)Windows Error Reporting *=True 190 | (App)Windows Error Reporting=True 191 | (App)Windows Event Logs=True 192 | (App)Windows Experience Index *=True 193 | (App)Windows Feedback *=True 194 | (App)Windows Installer *=True 195 | (App)Windows Live Movie Maker *=True 196 | (App)Windows Live Photo Gallery *=True 197 | (App)Windows Live Setup *=True 198 | (App)Windows Logs *=True 199 | (App)Windows Media Player=True 200 | (App)Windows MUICache *=True 201 | (App)Windows ShellBags *=True 202 | (App)Windows Subsystems *=True 203 | (App)Windows Update *=True 204 | (App)WinPcap *=True 205 | AutoClose=0 206 | BackupDir=C:\Logs 207 | BackupPrompt=1 208 | CheckTrialOffer=0 209 | CookiesToSave=*53.com|*amazon.com|*americanexpress.com|*bankofamerica.com|*bankofmelbourne.com.au|*capitalone360.com|*chase.com|*facebook.com|*github.com|*gmail.com|*hbonow.com|*hulu.com|*medicaid.gov|*medicare.gov|*microsoft.com|*navyfederal.org|*pnbank.com.au|*simple.com|*sling.com|*va.gov|*wellsfargo.com|*youtube.com|accounts.google.com|accounts.spotify.com|aol.com|c.paypal.com|facebook.com|google.com|hsbc.com|lastpass.com|live.com|loglogin.lastpass.com|mail.google.com|open.spotify.com|spotify.com|twitter.com|web.whatsapp.com|www.google.com|www.lastpass.com|www.netflix.com|www.paypal.com|yahoo.com|pinterest.com|tds.net|tdstelecom.com 210 | DelayTemp=0 211 | FinderInclude1=PATH|C:\|*.*|RECURSE|0|0|24 212 | FinderInclude2=PATH|D:\|*.*|RECURSE|0|0|24 213 | FinderInclude3=PATH|G:\|*.*|RECURSE|0|0|24 214 | FinderInclude4=PATH|H:\|*.*|RECURSE|0|0|24 215 | FinderInclude5=PATH|K:\|*.*|RECURSE|0|0|24 216 | FinderInclude6=PATH|L:\|*.*|RECURSE|0|0|24 217 | FinderInclude7=PATH|P:\|*.*|RECURSE|0|0|24 218 | FinderIncludeStates=1|0|0|0|0|0|0|1|0 219 | HideWarnings=1 220 | JumplistTasks=0 221 | LatestICS=5.63.7540 222 | Monitoring=0 223 | RunICS=0 224 | ShowCleanWarning=False 225 | ShowFirefoxCleanWarning=False 226 | ShowGoogleChromeCleanWarning=False 227 | ShowThunderbirdCleanWarning=False 228 | ShowWindowsExplorerCleanWarning=False 229 | SplitterPositionCleaner=385 230 | UpdateKey=05/25/2020 09:49:28 AM 231 | WINDOW_HEIGHT=1327 232 | WINDOW_LEFT=618 233 | WINDOW_MAX=0 234 | WINDOW_TOP=0 235 | WINDOW_WIDTH=1942 236 | WipeFreeSpaceDrives= 237 | WipeMFTFreeSpace=0 238 | HomeScreen=3 239 | DefaultDetailedView=2 240 | BCD= 241 | FTU=14/12/2019|4|1 242 | GD=ad1bd171-c67a-4223-9c0e-1530aa99ac6b 243 | NewVersion=5.66.7716 244 | PPC=3910AB34B3430A3E7D61BFD17A0A8E75AA6B905D2C222D73A249F5432247BC5E 245 | (App)Intel Logs *=True 246 | (Cfg)TTL= 86400 247 | (Cfg)TTL-Spread= 43200 248 | (Cfg)GetIpmForTrial=1 249 | (Cfg)HealthCheck=0 250 | (Cfg)HealthCheckShowEvent=0 251 | (Cfg)HealthCheckVersion=1 252 | (Cfg)PC=0 253 | (Cfg)QuickClean=1 254 | (Cfg)QuickCleanIpm=1 255 | (Cfg)SoftwareUpdater=1 256 | (Cfg)SoftwareUpdaterIpm=1 257 | (Cfg)ABTestingNames=|NPTZG7BPQB3GK7TPGA2DC 258 | (Cfg)ccst-prev-001=|IPZY67DUP7YA 259 | (Cfg)LastUpdate=02/05/2020 05:15:24 AM 260 | AnalyzerTypes=1|1|1|1|0|0|0 261 | SystemAnalyzerDrives=C:\ 262 | FinderInclude8=PATH|R:\|*.*|RECURSE|0|0|24 263 | FinderInclude9=PATH|S:\|*.*|RECURSE|0|0|24 264 | DisplayIM=2-1| 265 | (App)Taskbar Jump Lists=False 266 | -------------------------------------------------------------------------------- /resources/stage_1_tempclean/ccleaner/ccleaner_skip_cookie_cleanup.ini: -------------------------------------------------------------------------------- 1 | [Options] 2 | (App).NET Framework *=True 3 | (App).NET Framework Isolated Storage *=True 4 | (App)7-Zip=True 5 | (App)Accounts Control *=True 6 | (App)Action Center *=True 7 | (App)Active Setup Temp Folder *=True 8 | (App)Adblock Plus For IE *=True 9 | (App)Adobe Acrobat XI *=True 10 | (App)Adobe Acrobat XI=True 11 | (App)Adobe Application Manager *=True 12 | (App)Adobe Flash Player *=True 13 | (App)Adobe Flash Player=True 14 | (App)Adobe Reader DC *=True 15 | (App)Adobe Reader DC=True 16 | (App)Applications=True 17 | (App)ART *=True 18 | (App)Audio/Video Stats *=True 19 | (App)Autocomplete Form History=True 20 | (App)AutoPlay Devices *=True 21 | (App)Backup *=True 22 | (App)Battle.net *=True 23 | (App)Battle.net Cache *=True 24 | (App)Bitcoin *=True 25 | (App)BitTorrent Sync *=True 26 | (App)Bookmark Backup *=True 27 | (App)Bookmark Backups *=True 28 | (App)Brother Printer *=True 29 | (App)Browser Exit Codes *=True 30 | (App)Bugsplat *=True 31 | (App)Cached Certification Files *=True 32 | (App)Cached File Extensions *=True 33 | (App)Cached Shell Extensions *=True 34 | (App)CD/DVD Burn Cache *=True 35 | (App)CDBurnerXP=True 36 | (App)Cheat Engine *=True 37 | (App)Chrome Application Cache *=True 38 | (App)Chrome Crash Reports *=True 39 | (App)Chrome Temps *=True 40 | (App)Chrome Updates *=True 41 | (App)ClassicShell MRU *=True 42 | (App)Cloud Experience Host *=True 43 | (App)Common Language Runtime *=True 44 | (App)Compatibility Assistant *=True 45 | (App)Contact Support *=True 46 | (App)Content Delivery Manager *=True 47 | (App)Cookies=False 48 | (App)Corrupt SQLites *=True 49 | (App)Cortana *=True 50 | (App)Crash Files *=True 51 | (App)Defraggler *=True 52 | (App)Desktop Shortcuts=True 53 | (App)Device Manager Cache *=True 54 | (App)Diablo 2 *=True 55 | (App)DNS Cache=True 56 | (App)Feeds Cache *=True 57 | (App)Firefox HTML5 Storage *=True 58 | (App)Firefox Logs *=True 59 | (App)FlashPlayer AssetCache *=True 60 | (App)FlashPlayer SharedObjects *=True 61 | (App)Font Cache=True 62 | (App)FontCache *=True 63 | (App)Game Explorer=True 64 | (App)GNU Cache *=True 65 | (App)Google Chrome - Compact Databases=True 66 | (App)Google Chrome - Session=True 67 | (App)Google Cloud Messaging *=True 68 | (App)GPU Cache *=True 69 | (App)History *=True 70 | (App)HitmanPro *=True 71 | (App)Hotfix Uninstallers=False 72 | (App)HTML Help *=True 73 | (App)HTML5 Storage *=True 74 | (App)Icon Cache *=True 75 | (App)IIS Log Files=True 76 | (App)ImgBurn=True 77 | (App)Immersive Control Panel *=True 78 | (App)Installer *=True 79 | (App)Intel Installation Logs *=True 80 | (App)Internet Explorer *=True 81 | (App)Internet Explorer Vault *=True 82 | (App)Invalid File Extensions=True 83 | (App)Java=True 84 | (App)Jump Lists *=True 85 | (App)Kaspersky *=True 86 | (App)K-Lite Codec Pack *=True 87 | (App)LibreOffice *=True 88 | (App)Local Storage *=True 89 | (App)LocalService *=True 90 | (App)LocalSystem *=True 91 | (App)Lock App *=True 92 | (App)Lock Files *=True 93 | (App)Logs *=True 94 | (App)Machete *=True 95 | (App)Macromedia Shockwave *=True 96 | (App)Macromedia Shockwave 11=True 97 | (App)Malwarebytes Anti-Malware *=True 98 | (App)Malwarebytes Anti-Malware=True 99 | (App)Media Player Classic *=True 100 | (App)Media Player Classic=True 101 | (App)Microsoft Edge - Cookies=False 102 | (App)Microsoft Edge - Saved Form Information=True 103 | (App)Microsoft Edge - Session=False 104 | (App)Microsoft Edge *=True 105 | (App)Microsoft Silverlight *=True 106 | (App)Microsoft Silverlight=True 107 | (App)Mozilla - Compact Databases=True 108 | (App)MS Clip Organizer *=True 109 | (App)MS Management Console=True 110 | (App)MS Notepad *=True 111 | (App)MS Office *=True 112 | (App)MS Office Picture Manager=True 113 | (App)MS Office Recent Templates *=True 114 | (App)MS Office Unsaved Files *=True 115 | (App)MS Paint=True 116 | (App)MS Search *=True 117 | (App)MS Search=True 118 | (App)MS Visual Studio *=True 119 | (App)MSConfig *=True 120 | (App)NetworkService *=True 121 | (App)Notepad++ *=True 122 | (App)Notepad++ Backups *=True 123 | (App)Notepad++=True 124 | (App)Notifications *=True 125 | (App)Npcap Loopback Adapter *=True 126 | (App)NVIDIA *=True 127 | (App)NVIDIA Install Files=True 128 | (App)Office 2007=True 129 | (App)Old Prefetch data=True 130 | (App)Omnibox Shortcut *=True 131 | (App)OneDrive *=True 132 | (App)OpenRA *=True 133 | (App)OpenRA Replays *=True 134 | (App)PeerNetworking *=True 135 | (App)Plex Media Server *=True 136 | (App)PnaclTranslation Cache *=True 137 | (App)Power Efficiency Diagnostics *=True 138 | (App)PowerShell *=True 139 | (App)Presentation Foundation *=True 140 | (App)Print Queue *=True 141 | (App)Project64 *=True 142 | (App)PunkBuster *=True 143 | (App)Quota Manager Data *=True 144 | (App)Realtek *=True 145 | (App)RegEdit=True 146 | (App)Remote Desktop *=True 147 | (App)Remote Desktop=True 148 | (App)Resilio Sync *=True 149 | (App)ScreenShot Index *=True 150 | (App)Search History *=True 151 | (App)Session Manager *=True 152 | (App)Session Storage *=True 153 | (App)SetRegistryKey Leftovers *=True 154 | (App)SetupMetrics *=True 155 | (App)Sharing MFU *=True 156 | (App)Shell Experience Host *=True 157 | (App)StarCraft II *=True 158 | (App)StarCraft II Editor *=True 159 | (App)Start Menu Cache *=True 160 | (App)Start Menu Shortcuts=True 161 | (App)Startup Cache *=True 162 | (App)Steam *=True 163 | (App)Steam Caches *=True 164 | (App)Steam Games *=True 165 | (App)Steam Installers *=True 166 | (App)Steam Packages *=True 167 | (App)Stored Media Player Paths *=True 168 | (App)Stored MIME Types *=True 169 | (App)Sun Java=True 170 | (App)Telemetry *=True 171 | (App)TEMP Folder *=True 172 | (App)Temps *=True 173 | (App)Tray Notifications Cache=True 174 | (App)Ubisoft Game Launcher *=True 175 | (App)Ubisoft Game Launcher Installers *=True 176 | (App)urlclassifier3.sqlite *=True 177 | (App)User Assist History=True 178 | (App)uTorrent ipfilter backup *=True 179 | (App)VMware Player *=True 180 | (App)VMware Workstation *=True 181 | (App)Web Applications *=True 182 | (App)Web Data *=True 183 | (App)webappsstore.sqlite *=True 184 | (App)WebRTCIdentityStore *=True 185 | (App)Winamp *=True 186 | (App)Winamp=True 187 | (App)Windows Defender *=True 188 | (App)Windows Defender=True 189 | (App)Windows Error Reporting *=True 190 | (App)Windows Error Reporting=True 191 | (App)Windows Event Logs=True 192 | (App)Windows Experience Index *=True 193 | (App)Windows Feedback *=True 194 | (App)Windows Installer *=True 195 | (App)Windows Live Movie Maker *=True 196 | (App)Windows Live Photo Gallery *=True 197 | (App)Windows Live Setup *=True 198 | (App)Windows Logs *=True 199 | (App)Windows Media Player=True 200 | (App)Windows MUICache *=True 201 | (App)Windows ShellBags *=True 202 | (App)Windows Subsystems *=True 203 | (App)Windows Update *=True 204 | (App)WinPcap *=True 205 | AutoClose=0 206 | BackupDir=C:\Logs 207 | BackupPrompt=1 208 | CheckTrialOffer=0 209 | CookiesToSave=*53.com|*amazon.com|*americanexpress.com|*bankofamerica.com|*bankofmelbourne.com.au|*capitalone360.com|*chase.com|*facebook.com|*github.com|*gmail.com|*hbonow.com|*hulu.com|*medicaid.gov|*medicare.gov|*microsoft.com|*navyfederal.org|*pnbank.com.au|*simple.com|*sling.com|*va.gov|*wellsfargo.com|*youtube.com|accounts.google.com|accounts.spotify.com|aol.com|c.paypal.com|facebook.com|google.com|hsbc.com|lastpass.com|live.com|loglogin.lastpass.com|mail.google.com|open.spotify.com|spotify.com|twitter.com|web.whatsapp.com|www.google.com|www.lastpass.com|www.netflix.com|www.paypal.com|yahoo.com 210 | DelayTemp=0 211 | FinderInclude1=PATH|C:\|*.*|RECURSE|0|0|24 212 | FinderInclude2=PATH|D:\|*.*|RECURSE|0|0|24 213 | FinderInclude3=PATH|G:\|*.*|RECURSE|0|0|24 214 | FinderInclude4=PATH|H:\|*.*|RECURSE|0|0|24 215 | FinderInclude5=PATH|K:\|*.*|RECURSE|0|0|24 216 | FinderInclude6=PATH|L:\|*.*|RECURSE|0|0|24 217 | FinderInclude7=PATH|P:\|*.*|RECURSE|0|0|24 218 | FinderIncludeStates=1|0|0|0|0|0|0|1|0 219 | HideWarnings=1 220 | JumplistTasks=0 221 | LatestICS=5.63.7540 222 | Monitoring=0 223 | RunICS=0 224 | ShowCleanWarning=False 225 | ShowFirefoxCleanWarning=False 226 | ShowGoogleChromeCleanWarning=False 227 | ShowThunderbirdCleanWarning=False 228 | ShowWindowsExplorerCleanWarning=False 229 | SplitterPositionCleaner=385 230 | UpdateKey=02/05/2020 05:42:37 AM 231 | WINDOW_HEIGHT=1327 232 | WINDOW_LEFT=618 233 | WINDOW_MAX=0 234 | WINDOW_TOP=0 235 | WINDOW_WIDTH=1942 236 | WipeFreeSpaceDrives= 237 | WipeMFTFreeSpace=0 238 | HomeScreen=1 239 | DefaultDetailedView=2 240 | BCD= 241 | FTU=14/12/2019|3|1 242 | GD=ad1bd171-c67a-4223-9c0e-1530aa99ac6b 243 | NewVersion= 244 | PPC=3910AB34B3430A3E7D61BFD17A0A8E75AA6B905D2C222D73A249F5432247BC5E 245 | (App)Intel Logs *=True 246 | (Cfg)TTL= 86400 247 | (Cfg)TTL-Spread= 43200 248 | (Cfg)GetIpmForTrial=1 249 | (Cfg)HealthCheck=0 250 | (Cfg)HealthCheckShowEvent=0 251 | (Cfg)HealthCheckVersion=1 252 | (Cfg)PC=0 253 | (Cfg)QuickClean=1 254 | (Cfg)QuickCleanIpm=1 255 | (Cfg)SoftwareUpdater=1 256 | (Cfg)SoftwareUpdaterIpm=1 257 | (Cfg)ABTestingNames=|NPTZG7BPQB3GK7TPGA2DC 258 | (Cfg)ccst-prev-001=|IPZY67DUP7YA 259 | (Cfg)LastUpdate=02/05/2020 05:15:24 AM 260 | AnalyzerTypes=1|1|1|1|0|0|0 261 | SystemAnalyzerDrives=C:\ 262 | FinderInclude8=PATH|R:\|*.*|RECURSE|0|0|24 263 | FinderInclude9=PATH|S:\|*.*|RECURSE|0|0|24 264 | (App)Taskbar Jump Lists=False -------------------------------------------------------------------------------- /resources/stage_1_tempclean/ccleaner/tron_ccleaner_cookie_whiteliest.txt: -------------------------------------------------------------------------------- 1 | Note this file is just a list of which cookies CCleaner will ignore. 2 | Altering anything here will have no effect; you need to launch CCleaner and edit the options section regarding cookies if you want to add or remove exclusions. This is just for quick reference. 3 | 4 | *53.com 5 | *amazon.com 6 | *americanexpress.com 7 | *bankofamerica.com 8 | *bankofmelbourne.com.au 9 | *capitalone360.com 10 | *chase.com 11 | *facebook.com 12 | *github.com 13 | *gmail.com 14 | *hbonow.com 15 | *hulu.com 16 | *medicaid.gov 17 | *medicare.gov 18 | *microsoft.com 19 | *navyfederal.org 20 | *pnbank.com.au 21 | *simple.com 22 | *sling.com 23 | *va.gov 24 | *wellsfargo.com 25 | *youtube.com 26 | accounts.google.com 27 | accounts.spotify.com 28 | aol.com 29 | c.paypal.com 30 | facebook.com 31 | google.com 32 | hsbc.com 33 | lastpass.com 34 | live.com 35 | loglogin.lastpass.com 36 | mail.google.com 37 | open.spotify.com 38 | spotify.com 39 | twitter.com 40 | web.whatsapp.com 41 | www.google.com 42 | www.lastpass.com 43 | www.netflix.com 44 | www.paypal.com 45 | yahoo.com 46 | pinterest.com 47 | tds.net 48 | tdstelecom.com 49 | -------------------------------------------------------------------------------- /resources/stage_1_tempclean/finddupe/finddupe.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_1_tempclean/finddupe/finddupe.exe -------------------------------------------------------------------------------- /resources/stage_1_tempclean/usb_cleanup/DriveCleanup x64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_1_tempclean/usb_cleanup/DriveCleanup x64.exe -------------------------------------------------------------------------------- /resources/stage_1_tempclean/usb_cleanup/DriveCleanup x86.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_1_tempclean/usb_cleanup/DriveCleanup x86.exe -------------------------------------------------------------------------------- /resources/stage_1_tempclean/usb_cleanup/DriveCleanup.txt: -------------------------------------------------------------------------------- 1 | 2 | DriveCleanup V1.6.3 - removes non present drives from the device tree 3 | Freeware by Uwe Sieber (c) 2007-2022 4 | 5 | Works under Windows XP and higher only. Under x64 edtitions of Windows 6 | only the x64 version works. 7 | 8 | 9 | Removes from the device tree non present 10 | - USB hubs 11 | - USB mass storage devices 12 | - Disk devices 13 | - CDROM devices 14 | - Floppy devices 15 | - Storage Volumes 16 | - USB drive's WPD devices (Vista, Win7, Win8, Win10) 17 | 18 | and their registry items under 19 | 20 | HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices 21 | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum 22 | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags 23 | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses 24 | HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EMDMgmt 25 | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 26 | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\CPC\Volume 27 | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\BitBucket\Volume 28 | 29 | Usage: 30 | 31 | DriveCleanup [-t] [-n] [-u] [-d] [-c] [-f] [-v] [-r] 32 | 33 | no params: cleanup all 34 | -t test mode 35 | -n no wait for keypress when finished if started standalone 36 | -u only USB mass storage devices 37 | -d only Disk devices 38 | -c only CDROM devices 39 | -f only Floppy devices 40 | -v only Storage Volume devices 41 | -r only registry items of storage volumes 42 | -w only USB drive's WPD devices 43 | 44 | Called with admin previleges and without a parameter it removes all types of devices 45 | listed above and cleans the registry. 46 | Without admin previleges it switches to test mode and shows the items it would remove. 47 | 48 | 49 | Samples: 50 | 51 | DriveCleanup -t 52 | test mode, lists devices and registry items to remove 53 | 54 | DriveCleanup 55 | removes non present devices related to drives and their registry items 56 | 57 | DriveCleanup -v -d 58 | removes non present USB Storage Volumes and USB Disks 59 | 60 | 61 | Administrator previleges are required for cleanup. 62 | 63 | 64 | DriveCleanup isn't stricly limited to drives. USB hubs, UsbFlags and the Enum\NextParentID.xxxxx.n 65 | values may be not drive related. 66 | 67 | For other devices there the GUI tool DeviceCleanup: 68 | http://www.uwe-sieber.de/misc_tool_e.html#devicecleanup 69 | 70 | 71 | DriveCleanup calls Windows device manangement functions for deleting devices entries. If it shows OK 72 | then Windows responded that this succeeded. When finished DriveCleanup checks all again and should 73 | find zero devices if it showed OK for all before. Sometimes Windows says OK but in fact the device 74 | is still present. 75 | Since regular device management functions are used, any removed device's CoInstallers are called 76 | as planned, so you might loose for instance custom Explorer icons for card reader volumes. Just 77 | have the card reader attached while executing DriveCleanup to prevent this. 78 | 79 | 80 | Starting with Vista, Administrators have no more write access to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum 81 | and even being the owner they have no right to change the permissions. Therefore deleting unreferenced 82 | NextParentID.xxxxx.n items needs more than admin previleges. To get these, DriveCleanup steals the access 83 | token of a system process and impersonates its context to change Enum's security descriptor, then performs the 84 | cleanup and restores the security descriptor. Maybe this alerts security software. 85 | 86 | Since V1.4 volumes of the Windows volume shadow copy facility are't skipped anymore. Before they where skipped 87 | because I wasn't sure if it is ok to delete them. Since Microsoft offers it's own tool to do so, I is ok 88 | obviously: https://support.microsoft.com/en-gb/help/982210 89 | 90 | 91 | 92 | Licence: Freeware 93 | 94 | Allowed: 95 | - usage in any environment, including commercial 96 | - include in software products, including commercial 97 | - include on CD/DVD of computer magazines 98 | - making available for download by means of package managers 99 | 100 | Not allowed: 101 | - modify any of the files 102 | - offer for download by means of a "downloader" software 103 | 104 | 105 | Uwe Sieber 106 | May 2022 107 | 108 | 109 | -------------------------------------------------------------------------------- /resources/stage_2_de-bloat/how to customize debloat - READ THIS YOU SCRUB.txt: -------------------------------------------------------------------------------- 1 | There are five files in these sub-directories that determine what Tron targets for bloatware removal: 2 | 3 | 1. \oem\programs_to_target_by_name.txt 4 | 2. \oem\programs_to_target_by_GUID.txt 5 | 3. \oem\toolbars_BHOs_to_target_by_GUID.txt 6 | 4. \metro\metro_3rd_party_modern_apps_to_target_by_name.ps1 7 | 5. \metro\metro_Microsoft_modern_apps_to_target_by_name.ps1 8 | 9 | You can customize any of these files to tweak what Tron targets for removal. 10 | 11 | 12 | # \oem\programs_to_target_by_name.txt 13 | 14 | Insert program NAMES, one per line, into the file. Tron will try to uninstall any program 15 | whose name matches one of the names in this file. Don't put any special characters around 16 | the name (quotes, commas, etc). Spaces are fine. Tron uses WMI queries inside a batch file, 17 | so the wildcard character is double-percent (%%). 18 | 19 | Example list: 20 | Cyberlink%% 21 | Dell Getting Started Guide%% 22 | Dell Video%% 23 | %%Toolbar%% 24 | 25 | So in this example, Dell%% would catch and attempt to remove both "Dell Getting Started Guide" AND "Dell Video." 26 | 27 | 28 | 29 | # \oem\programs_to_target_by_GUID.txt 30 | 31 | List specific GUIDs to target, one per line. This file is commented like batch but technically plain text. 32 | 33 | 34 | 35 | # \oem\toolbars_BHOs_to_target_by_GUID.txt 36 | 37 | List specific GUIDs to target, one per line. This file is commented like batch but technically plain text. 38 | It's separate from programs_to_target_by_GUID.txt just for organization; Tron executes both files 39 | the same way. 40 | 41 | 42 | 43 | # \metro\metro_3rd_party_modern_apps_to_target_by_name.ps1 44 | 45 | This is a Powershell script listing pre-loaded 3rd-party "Modern" apps. Add any 3rd-party "Modern" 46 | apps you want to remove to this list. This file may also be executed directly from an administrator-privileged 47 | PowerShell session. 48 | 49 | 50 | 51 | # \metro\metro_Microsoft_modern_apps_to_target_by_name.ps1 52 | 53 | This is a Powershell script listing pre-loaded Microsoft "Modern" apps. Customize this list to tweak 54 | which official Microsoft "modern" apps get removed. This file may also be executed directly from an administrator-privileged 55 | PowerShell session. 56 | 57 | 58 | 59 | !! NOTE !! 60 | 61 | Many programs do not register with WMI and so can't be targeted with the by_GUID scripts. 62 | For those programs, you'll just have to remove them manually. This stage is just a "best-effort" 63 | attempt to automate some of the tedium. 64 | 65 | Godspeed 66 | -------------------------------------------------------------------------------- /resources/stage_2_de-bloat/metro/metro_Microsoft_modern_apps_to_target_by_name.ps1: -------------------------------------------------------------------------------- 1 | <# 2 | Purpose: Script to remove many of the pre-loaded Microsoft Metro "modern app" bloatware. Called by Tron in Stage 2: De-bloat 3 | Add any AppX uninstall commands to this list to target them for removal 4 | Requirements: 1. Administrator access 5 | 2. Windows 8 and up 6 | Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 7 | Version: 1.3.9 + Add additional user-submitted entries 8 | #> 9 | $ErrorActionPreference = "SilentlyContinue" 10 | 11 | 12 | ######## 13 | # PREP # 14 | ######## 15 | $METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_VERSION = "1.3.9" 16 | $METRO_MICROSOFT_MODERN_APPS_TO_TARGET_BY_NAME_SCRIPT_DATE = "2023-09-05" 17 | 18 | # Needed for Removal 19 | $AppxPackages = Get-AppxProvisionedPackage -online | select-object PackageName,Displayname 20 | $ProPackageList = Get-AppxPackage -AllUsers | select-object PackageFullName, Name 21 | $Script:AppxCount3rd = 0 22 | 23 | # App Removal function 24 | Function Remove-App([String]$AppName){ 25 | If($AppxPackages.DisplayName -match $AppName -or $ProPackageList.Name -match $AppName ) { 26 | $PackageFullName = ($ProPackageList | where {$_.Name -like $AppName}).PackageFullName 27 | $ProPackageFullName = ($AppxPackages | where {$_.Displayname -like $AppName}).PackageName 28 | 29 | If($PackageFullName -is [array]){ 30 | For($i=0 ;$i -lt $PackageFullName.Length ;$i++) { 31 | $Script:AppxCountMS++ 32 | $Job = "TronScriptMS$AppxCountMS" 33 | $PackageF = $PackageFullName[$i] 34 | $ProPackage = $ProPackageFullName[$i] 35 | write-output "$AppxCountMS - $PackageF" 36 | Start-Job -Name $Job -ScriptBlock { 37 | Remove-AppxPackage -Package $using:PackageF | Out-null 38 | Remove-AppxProvisionedPackage -Online -PackageName $using:ProPackage | Out-null 39 | } | Out-null 40 | } 41 | } Else { 42 | $Script:AppxCountMS++ 43 | $Job = "TronScriptMS$AppxCountMS" 44 | write-output "$AppxCountMS - $PackageFullName" 45 | Start-Job -Name $Job -ScriptBlock { 46 | Remove-AppxPackage -Package $using:PackageFullName | Out-null 47 | Remove-AppxProvisionedPackage -Online -PackageName $using:ProPackageFullName | Out-null 48 | } | Out-null 49 | } 50 | } 51 | } 52 | 53 | ########### 54 | # EXECUTE # 55 | ########### 56 | # Active identifiers 57 | Remove-App "BrowserChoice" # "Browser Choice" screen required by the EU antitrust regulation 58 | Remove-App "Microsoft.Advertising.JavaScript" # Advertising framework 59 | Remove-App "Microsoft.Advertising.Xaml" # Advertising framework 60 | Remove-App "Microsoft.BingFinance" # Money app - Financial news 61 | Remove-App "Microsoft.BingFoodAndDrink" # Food and Drink app 62 | Remove-App "Microsoft.BingHealthAndFitness" # Health and Fitness app 63 | Remove-App "Microsoft.BingMaps" 64 | Remove-App "Microsoft.BingNews" # Generic news app 65 | Remove-App "Microsoft.BingSports" # Sports app - Sports news 66 | Remove-App "Microsoft.BingTranslator" # Translator app - Bing Translate 67 | Remove-App "Microsoft.BingTravel" # Travel app 68 | Remove-App "Microsoft.BioEnrollment" 69 | Remove-App "Microsoft.ConnectivityStore" 70 | Remove-App "Microsoft.DiagnosticDataViewer" 71 | Remove-App "Microsoft.ForzaHorizon3Demo" 72 | Remove-App "Microsoft.ForzaMotorsport7Demo" 73 | Remove-App "Microsoft.FrenchRiviera" 74 | Remove-App "Microsoft.FreshPaint" # Canvas app 75 | Remove-App "Microsoft.GamingApp" 76 | Remove-App "Microsoft.GetHelp" # Get Help link 77 | Remove-App "Microsoft.Getstarted" # Get Started link 78 | Remove-App "Microsoft.HelpAndTips" 79 | Remove-App "Microsoft.HoganThreshold" 80 | Remove-App "Microsoft.LanguageExperiencePackcs-CZ" 81 | Remove-App "Microsoft.LanguageExperiencePacken-GB" 82 | Remove-App "Microsoft.LanguageExperiencePackes-es" 83 | Remove-App "Microsoft.LanguageExperiencePackes-mx" 84 | Remove-App "Microsoft.LanguageExperiencePacket-EE" 85 | Remove-App "Microsoft.LanguageExperiencePackhi-IN" 86 | Remove-App "Microsoft.LanguageExperiencePackid-ID" 87 | Remove-App "Microsoft.LanguageExperiencePacklt-lt" 88 | Remove-App "Microsoft.LanguageExperiencePackms-MY" 89 | Remove-App "Microsoft.LanguageExperiencePacknl-nl" 90 | Remove-App "Microsoft.LanguageExperiencePackpl-PL" 91 | Remove-App "Microsoft.LanguageExperiencePackpt-BR" 92 | Remove-App "Microsoft.LanguageExperiencePacksv-SE" 93 | Remove-App "Microsoft.LanguageExperiencePackuk-UA" 94 | Remove-App "Microsoft.LanguageExperiencePackvi-VN" 95 | Remove-App "Microsoft.LanguageExperiencePackzh-CN" 96 | Remove-App "Microsoft.LanguageExperiencePackzh-TW" 97 | Remove-App "Microsoft.Lucille" # "Browser Choice" screen required by the EU antitrust regulation 98 | Remove-App "Microsoft.Messaging" # Messaging app 99 | Remove-App "Microsoft.MicrosoftJackpot" # Jackpot app 100 | Remove-App "Microsoft.MicrosoftJigsaw" # Jigsaw app 101 | Remove-App "Microsoft.MicrosoftMahjong" # Advertising framework 102 | Remove-App "Microsoft.MicrosoftOfficeHub" 103 | Remove-App "Microsoft.MicrosoftPowerBIForWindows" # Power BI app - Business analytics 104 | Remove-App "Microsoft.MicrosoftRewards" 105 | Remove-App "Microsoft.MicrosoftSudoku" 106 | Remove-App "Microsoft.MicrosoftTreasureHunt" 107 | Remove-App "Microsoft.MinecraftUWP" 108 | Remove-App "Microsoft.MovieMoments" # imported from stage_2_de-bloat.bat 109 | Remove-App "Microsoft.NetworkSpeedTest" 110 | Remove-App "Microsoft.Office.Sway" # Sway app 111 | Remove-App "Microsoft.OneConnect" # OneConnect app 112 | Remove-App "Microsoft.People" # People app 113 | Remove-App "Microsoft.SeaofThieves" 114 | Remove-App "Microsoft.SkypeApp" # Get Skype link 115 | Remove-App "Microsoft.SkypeWiFi" 116 | Remove-App "Microsoft.Studios.Wordament" # imported from stage_2_de-bloat.bat 117 | Remove-App "Microsoft.SurfaceDiagnostics" # added 2021-06-02 118 | Remove-App "Microsoft.Windows.DevHome" 119 | Remove-App "Microsoft.Windows.FeatureOnDemand.InsiderHub" 120 | Remove-App "Microsoft.WindowsAppRuntime.CBS" 121 | Remove-App "Microsoft.WindowsFeedbackHub" # Feedback app 122 | Remove-App "Microsoft.WindowsReadingList" 123 | Remove-App "Microsoft.WorldNationalParks" 124 | Remove-App "MicrosoftCorporationII.QuickAssist" 125 | Remove-App "Windows.CBSPreview" 126 | Remove-App "Windows.ContactSupport" 127 | 128 | 129 | # Inactive identifers 130 | #Remove-App "Microsoft.Appconnector" # Not sure about this one 131 | #Remove-App "Microsoft.BingWeather" # Weather app 132 | #Remove-App "Microsoft.CommsPhone" # Phone app 133 | #Remove-App "Microsoft.MSPaint" # MS Paint (Paint 3D) 134 | #Remove-App "Microsoft.Microsoft3DViewer" # 3D model viewer 135 | #Remove-App "Microsoft.MicrosoftSolitaireCollection" # Solitaire collection 136 | #Remove-App "Microsoft.MicrosoftStickyNotes" # Pulled from active list due to user requests 137 | #Remove-App "Microsoft.Office.OneNote" # Onenote app 138 | #Remove-App "Microsoft.Windows.Photos" # Photos app 139 | #Remove-App "Microsoft.WindowsAlarms" # Alarms and Clock app 140 | #Remove-App "Microsoft.WindowsCalculator" # Calculator app 141 | #Remove-App "Microsoft.WindowsCamera" # Camera app 142 | #Remove-App "Microsoft.WindowsMaps" # Maps app 143 | #Remove-App "Microsoft.WindowsSoundRecorder" # Sound Recorder app 144 | #Remove-App "Microsoft.WindowsStore" # Windows Store 145 | #Remove-App "Microsoft.Xbox*" 146 | #Remove-App "Microsoft.Xbox.TCUI" 147 | #Remove-App "Microsoft.XboxApp" 148 | #Remove-App "Microsoft.XboxGameCallableUI" 149 | #Remove-App "Microsoft.XboxGameOverlay" 150 | #Remove-App "Microsoft.XboxGamingOverlay" 151 | #Remove-App "Microsoft.XboxIdentityProvider" 152 | #Remove-App "Microsoft.XboxSpeechToTextOverlay" 153 | #Remove-App "Microsoft.Zune" # Zune collection of apps 154 | #Remove-App "Microsoft.ZuneMusic" 155 | #Remove-App "Microsoft.ZuneVideo" 156 | #Remove-App "Microsoft.windowscommunicationsapps" # Calendar and Mail app 157 | 158 | ########## 159 | # Finish # 160 | ########## 161 | # DO NOT REMOVE OR CHANGE (needs to be at end of script) 162 | # Waits for Apps to be removed before script closes 163 | Write-Output 'Finishing app removal, please wait...' 164 | Wait-Job -Name "TronScriptMS*" | Out-Null 165 | Remove-Job -Name "TronScriptMS*" | Out-Null 166 | -------------------------------------------------------------------------------- /resources/stage_2_de-bloat/oem/programs_to_target_by_name.txt: -------------------------------------------------------------------------------- 1 | :: Purpose: List of specific programs to target by name and wildcard. Called by Tron in Stage 2: De-bloat 2 | :: Add program names to this list to target them for removal 3 | :: To use a wildcard in a name use double ampersand characters (e.g. ASUS%%) 4 | :: Requirements: Administrator access 5 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 6 | :: Version: 1.1.3 + Add Russian Alawar HP Games to list 7 | :: 1.0.0 * Convert list to new format to support looping directly from the Stage 2 script. This allows us to override the uninstall block caused by entries in PendingFileRenameOperations 8 | 9 | 10 | :: PREP 11 | set PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_VERSION=1.1.3 12 | set PROGRAMS_TO_TARGET_BY_NAME_SCRIPT_DATE=2025-06-11 13 | 14 | 15 | 16 | :: TARGET LIST 17 | 180%%Solution%% 18 | 24x7%%Help 19 | 3vix%% 20 | %%555%% 21 | Acer%% 22 | %%AdBlocknWatch%% 23 | Adobe%%Shockwave%% 24 | Advanced%%FX Engine 25 | Advanced Registry%% 26 | Akamai%% 27 | Веселая ферма%% 28 | Герои Эллады 2. Олимпия%% 29 | Магическая энциклопедия. Лунный свет%% 30 | Магнат курортов%% 31 | Масяня в полной Африке%% 32 | Мои HP Игры%% 33 | Натали Брукс. Тайны одноклассников%% 34 | Сага о вампире. Добро пожаловать в Hell Lock%% 35 | Сокровища Монтесумы 3%% 36 | Altnet 37 | Amazon Browser%% 38 | Any Video Converter%% 39 | AppsHat 40 | %%AppToU%% 41 | ArcadeParlor 42 | Ask%%Toolbar 43 | AtuZi 44 | ArmouryCrate%% 45 | AVG%%TuneUp%% 46 | Baidu PC Faster%% 47 | Big Fish%% 48 | Bing%% 49 | BlueStack%% 50 | Bonzi Buddy%% 51 | Browser%%Optimize%% 52 | BrowserSafeguard%% 53 | Buzzdock%% 54 | %%CCC%%Help%% 55 | CCleaner Browser 56 | ClickForSale 57 | %%ClipGenie%% 58 | CloudScout%% 59 | %%CoolWWW%% 60 | %%Coupon%% 61 | CWA Reminder by We-Care.com%% 62 | %%Cydoor%% 63 | DealPly%% 64 | DealScout for Internet Explorer 65 | Dell%% 66 | Discovery Tools 67 | Download Updater%% 68 | DriverUpdate%% 69 | eBay%% 70 | eMachines%% 71 | %%Esuack%% 72 | Face Theme 73 | %%FashionLife%% 74 | FilesFrog Update Checker 75 | Files Opened 76 | File Type Assistant%% 77 | flash-Enhancer%% 78 | Free Download Manager%% 79 | %%Freenpro25%% 80 | Free Studio%% 81 | Free YouTube%% 82 | %%Gamevance%% 83 | GetSavin 84 | HD-Total-%% 85 | HP%%Assistant%% 86 | HP%%Connection%% 87 | HP%%Documentation%% 88 | HP%%Guide%% 89 | HP%%Help%% 90 | HP%%Notifications%% 91 | HP%%Registration%% 92 | hpStatusAlerts%% 93 | HP%%Study%% 94 | HP%%Support%% 95 | HP%%Update%% 96 | %%iBryte%% 97 | IB%%Updater%% 98 | Iminent 99 | InfoAtoms 100 | InstaCodecs 101 | Intel%%Management%% 102 | Intel%%ME%%UninstallLegacy 103 | Intel%%Smart%% 104 | IObit%% 105 | %%iStart123%% 106 | IWon%% 107 | Launch Manager%% 108 | Lenovo%% 109 | LinkSwift%% 110 | Live! Cam Avatar%% 111 | Live Updater 112 | lucky leap%% 113 | %%MapsGalaxy%% 114 | MapsGalaxy%% 115 | McAfee Security Scan 116 | Media Buzz 117 | Media Gallery%% 118 | Media View%% 119 | Media Watch%% 120 | Mindspark%% 121 | MobileWiFi%% 122 | Mobogenie 123 | Move Media%% 124 | MPlayerplus%% 125 | My HP%% 126 | MyPC Backup%% 127 | My Web Searc%% 128 | Nero%% 129 | Norton Internet%% 130 | OMG Music Plus%% 131 | OOBE%% 132 | Optimizer%% 133 | Orbit Downloader 134 | Pdf995%% 135 | Plus-HD-1.3 136 | PMB%% 137 | Price Check by AOL 138 | PrivDog 139 | Productivity%%Toolbar for IE 140 | QuickShare 141 | %%QuickTime%% 142 | Qwiklinx 143 | RadioRage%% 144 | Raptr 145 | RealDownloader%% 146 | RealNetworks%% 147 | RealUpgrade%% 148 | RegClean Pro 149 | RegInOut%% 150 | Remote Keyboard 151 | Remote Play with Playstation%% 152 | Rich Media View 153 | Rock Turner 154 | Roxio%% 155 | %%SaferSurf%% 156 | %%SaveForYou%% 157 | SaveOn%% 158 | %%Savings%% 159 | ScorpionSave%% 160 | %%Search%% 161 | SelectionLinks 162 | %%Shop_and_Up%% 163 | ShopAtHome%% 164 | %%Shopper%% 165 | Shopper%% 166 | Shopping%% 167 | Shop To Win 168 | SimilarDeals%% 169 | SLOW-PCfighter 170 | SmartWebPrinting%% 171 | Smiley Central%% 172 | SocialSafe 173 | Software Assist 174 | Software Updater 175 | Soluto 176 | Sonic CinePlayer%% 177 | Sony Music%% 178 | Speedial%% 179 | %%SpeedUpMyPC%% 180 | SpeedUpMyPc%% 181 | Super Optimizer%% 182 | SweetIM for Messenger%% 183 | SweetPacks%% 184 | SySaver 185 | The Gator 186 | %%TidyNetwork%% 187 | TidyNetwork.com 188 | %%Toolbar%% 189 | Toolbar%% 190 | TopArcadeHits 191 | Toshiba%% 192 | %%Trial%% 193 | Search App by Ask%% 194 | Uninstall Helper 195 | UserGuide%% 196 | VAIO%% 197 | VGClient%% 198 | Video Converter%% 199 | VideoDownloadConverter%% 200 | VideoFileDownload 201 | Video Player 202 | %%Virtumundo%% 203 | %%VirusProtectPro%% 204 | VisualBee%% 205 | Wajam 206 | %%WeatherBug%% 207 | WebBar%% 208 | WebConnect%% 209 | Webshots%% 210 | WhenU%% 211 | %%WhenUsave%% 212 | WildGames%% 213 | WildTangent%% 214 | Windows Internet Guard%% 215 | WiseConvert%% 216 | Yahoo%%Browser%% 217 | Yahoo%%Software%% 218 | Yahoo%%Toolbar 219 | Yammer%% 220 | yessearches%% 221 | Yontoo%% 222 | YouTube Downloader%% 223 | %%Zango%% 224 | ZD Manager 225 | Zip Opener Packages 226 | -------------------------------------------------------------------------------- /resources/stage_3_disinfect/roguekiller/RogueKillerAutomation_source.au3: -------------------------------------------------------------------------------- 1 | ; Purpose: Automates RogueKillerCMD cleaning 2 | ; Requirements: RogueKillerCMD.exe placed in the same directory as this compiled file 3 | ; Author: reddit.com/user/SleepyDoge 4 | ; Version: 1.0.0-TRON 5 | ; Misc: Included for use with Tron by reddit.com/user/vocatus 6 | 7 | #include 8 | #include 9 | #include 10 | #include 11 | 12 | sleep(1000) 13 | ;Wait for RogueKiller to Start, timeout of 3 minutes 14 | ProcessWait( "RogueKillerCMD.exe", 180 ) 15 | 16 | ;Activate Tron Window and send keystrokes until RogueKillerCMD.exe isn't running 17 | do 18 | sleep(30000) 19 | ControlSend("TRON v6.6.0 [stage_3_disinfect] [RogueKiller]", "", "", "remove{ENTER}") 20 | ControlSend("Administrator: TRON v6.6.0 [stage_3_disinfect] [RogueKiller]", "", "", "remove{ENTER}") 21 | $errorCheck = ProcessExists("RogueKillerCMD.exe") 22 | until $errorCheck = 0 23 | 24 | Exit 25 | -------------------------------------------------------------------------------- /resources/stage_3_disinfect/stage_3_disinfect.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Sub-script containing all commands for Tron Stage 3: Disinfect. Called by tron.bat and returns control when finished 2 | :: Requirements: 1. Administrator access 3 | :: 2. Safe mode is recommended but not required 4 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 5 | :: Version: 1.3.2 - sopohs: Remove all code related to Sophos due to it being deprecated 6 | :: 1.3.1 + adwcleaner: Add AdwCleaner job. Thanks to u/fr0stedfl4ke 7 | :: 1.3.0 + mbam: Add "/NOICON" switch to MBAM install to prevent desktop icon. Thanks to github:numdouglas and github:DRCHRIS2 8 | :: 1.2.9 ! kvrt: Update KVRT commandline since they randomly renamed "-dontcryptsupportinfo" to "-dontencrypt", causing a popup window to appear 9 | :: 1.2.8 ! mbam: Fix 2nd edge case where %MBAM% wasn't getting set correctly 10 | :: - certcache: Move job 'Clear CryptNet SSL certificate cache' to Stage 1: Tempclean, where it makes more sense 11 | :: 1.2.7 ! mbam: Fix syntax error in if statement 12 | :: 1.2.6 ! mbam: Fix error where we'd attempt to launch %MBAM% but the variable was empty. Thanks to u/thementallydeceased 13 | :: 1.2.5 * mbam: Skip install of MBAM and directly launch if it already exists. Thanks to u/RedBaron2 14 | :: 1.2.4 ! sophos: Fix (rare) bug where Sophos would fail to delete its service after running. Thanks to u/Nightfoxsd420 15 | :: 1.2.3 ! sophos: Fix bug in Sophos code where we wouldn't download updates even if we have a network connection. Thanks to github:gkraker04 16 | :: 1.2.2 * mbam: Update to v3.x and fix a couple bugs related to shortcut deletion. Thanks to u/CSI-Debug 17 | :: Consider MBAM v2.x as "no MBAM installed" and run the v3 installer regardless whether v2 exists on the system 18 | :: 1.2.1 ! mbam: Fix for MBAM not launching if it was already installed. Thanks to u/b_sen 19 | :: - script: Remove deprecated Junkware Removal Tool code 20 | :: 1.2.0 * sophos: Prevent Sophos from trying to update if a network connection isn't detected 21 | :: 1.1.9 * improvement: Improve standalone execution support. Can now execute by double-clicking icon vs. manually executing via CLI 22 | :: 1.1.8 * logging: Update date/time logging functions to use new log_with_date.bat. Thanks to u/DudeManFoo 23 | :: 1.1.7 * mbam: Improve pre-existing installation detection. Thanks to github:RedBaron2 24 | :: 1.1.6 * improvement: Update script to support standalone execution 25 | :: 1.1.5 ! mbam: Fix MBAM not launching or installing bug 26 | :: 1.1.4 * mbam: Update MBAM detection to include new v3.x series. Thanks to u/Phantop 27 | :: 1.1.3 + certcache: Add job to clear the CryptNet SSL certificate cache (Vista and up). Thanks to github:Itsnothectic and github:alazare619 28 | :: 1.1.2 + jrt: Add job "JRT" (Junkware Removal Tool by Malwarebytes). Currently disabled (pending troubleshooting) 29 | :: - roguekiller: Remove obsolete code for RogueKiller 30 | :: 1.1.1 ! mbam: Clean up mbam launching routine. Should eliminate erroneous message about mbam.exe not being found 31 | :: ! bugfix: Correct a reference to USERPROFILE that should've used Tron's USERPROFILES instead 32 | :: 1.1.0 + mbam: Add installation of mbam2-rules.exe (offline definition file) to MBAM installation routine. Thanks to u/sofakingdead 33 | :: 1.0.2 * mbam: Import pre-configured settings.conf that ticks the "scan for rootkits" option when installing MBAM. Thanks to u/staticextasy 34 | :: 1.0.1 * logging: Switch from internal log function to Tron's external logging function. Thanks to github:nemchik 35 | :: 1.0.0 + Initial write 36 | @echo off 37 | 38 | 39 | ::::::::::::::::::::: 40 | :: PREP AND CHECKS :: 41 | ::::::::::::::::::::: 42 | set STAGE_3_SCRIPT_VERSION=1.3.2 43 | set STAGE_3_SCRIPT_DATE=2023-03-09 44 | 45 | :: Check for standalone vs. Tron execution and build the environment if running in standalone mode 46 | if /i "%LOGFILE%"=="" ( 47 | pushd "%~dp0" 48 | pushd .. 49 | 50 | :: Load the settings file 51 | call functions\tron_settings.bat 52 | 53 | :: Initialize the runtime environment 54 | call functions\initialize_environment.bat 55 | ) 56 | 57 | 58 | 59 | :::::::::::::::::::::::: 60 | :: STAGE 3: Disinfect :: // Begin jobs 61 | :::::::::::::::::::::::: 62 | call functions\log_with_date.bat " stage_3_disinfect begin..." 63 | 64 | 65 | :: JOB: MBAM (Malwarebytes Anti-Malware) 66 | :: This needs to be re-worked. In all scenarios we attempt to run MBAM, even if asked not to install it. Probably just need to skip entire section if -sm is used. 67 | title Tron v%TRON_VERSION% [stage_3_disinfect] [Malwarebytes Anti-Malware] 68 | 69 | :: MBAM install path changed v2 to v3, so we only check for v3 installation and skip installing if it exists. If v2 exists, we 70 | :: run the v3 installation to get it up-to-date. tl;dr we consider MBAM v2 installation "not installed" for the purposes of Tron 71 | 72 | set EXISTING_MBAM=no 73 | if exist "%ProgramFiles%\Malwarebytes\Anti-Malware\mbam.exe" ( 74 | set MBAM="%ProgramFiles%\Malwarebytes\Anti-Malware\mbam.exe" 75 | set EXISTING_MBAM=yes 76 | ) 77 | 78 | if exist "%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\mbam.exe" ( 79 | set MBAM="%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\mbam.exe" 80 | set EXISTING_MBAM=yes 81 | ) 82 | 83 | if /i %EXISTING_MBAM%==yes ( 84 | call functions\log_with_date.bat " Existing MBAM installation detected. Skipping installation." 85 | goto mbam_run 86 | ) 87 | 88 | 89 | :: Skip MBAM installation if requested, otherwise install and launch. In all scenarios, MBAM will still attempt to launch if it is detected 90 | if /i %SKIP_MBAM_INSTALL%==yes ( 91 | call functions\log_with_date.bat "! SKIP_MBAM_INSTALL (-sm) set. Skipping installation." 92 | ) else ( 93 | call functions\log_with_date.bat " Launch job 'Install Malwarebytes Anti-Malware'..." 94 | :: Install MBAM and remove desktop icon 95 | if /i %DRY_RUN%==no ( 96 | "stage_3_disinfect\mbam\mb3-setup-54035.54035-3.6.1.2711-1.0.482-1.0.7469.exe" /SP- /VERYSILENT /NORESTART /SUPPRESSMSGBOXES /NOCANCEL /NOICON 97 | 98 | :: Nuke MBAM which arrogantly auto-starts even though we didn't request it 99 | net stop mbamservice >> "%LOGPATH%\%LOGFILE%" 2>NUL 100 | taskkill /f /im mbamtray.exe >> "%LOGPATH%\%LOGFILE%" 2>NUL 101 | 102 | :: Nuke the desktop shortcut 103 | if exist "%USERPROFILE%\Desktop\Malwarebytes.lnk" del /f /q "%USERPROFILE%\Desktop\Malwarebytes.lnk" 104 | if exist "%USERPROFILE%\Public\Desktop\Malwarebytes.lnk" del /f /q "%USERPROFILE%\Public\Desktop\Malwarebytes.lnk" 105 | if exist "%USERPROFILE%\Default\Desktop\Malwarebytes.lnk" del /f /q "%USERPROFILE%\Default\Desktop\Malwarebytes.lnk" 106 | if exist "%ALLUSERSPROFILE%\Desktop\Malwarebytes.lnk" del /f /q "%ALLUSERSPROFILE%\Desktop\Malwarebytes.lnk" 107 | 108 | :: Install our config 109 | copy /y stage_3_disinfect\mbam\*.json "%ProgramData%\Malwarebytes\MBAMService\config\" >> "%LOGPATH%\%LOGFILE%" 2>NUL 110 | 111 | :: Install the bundled definitions file and integrate the log into Tron's log 112 | call functions\log_with_date.bat " Loading bundled definitions package..." 113 | stage_3_disinfect\mbam\mbam2-rules.exe /sp- /verysilent /suppressmsgboxes /log="%RAW_LOGS%\mbam_rules_install.log" /norestart 114 | type "%RAW_LOGS%\mbam_rules_install.log" >> "%LOGPATH%\%LOGFILE%" 115 | call functions\log_with_date.bat " Done." 116 | ) 117 | ) 118 | 119 | :mbam_run 120 | REM Scan for and launch appropriate architecture version 121 | if %DRY_RUN%==no ( 122 | if exist ""%MBAM%"" ( 123 | call functions\log_with_date.bat " Launching MBAM, click 'scan' in the MBAM window." 124 | start "" ""%MBAM%"" 125 | call functions\log_with_date.bat " Done." 126 | ) 127 | ) 128 | 129 | 130 | :: JOB: Malwarebytes AdwCleaner 131 | title Tron v%TRON_VERSION% [stage_3_disinfect] [Malwarebytes AdwCleaner] 132 | if /i %SKIP_ADWCLEANER_SCAN%==yes ( 133 | call functions\log_with_date.bat "! SKIP_ADWCLEANER_SCAN (-sac) set. Skipping AdwCleaner scan." 134 | ) else ( 135 | call functions\log_with_date.bat " Launch job 'Malwarebytes AdwCleaner'..." 136 | call functions\log_with_date.bat " Tool-specific log will be saved to "%RAW_LOGS%\AdwCleaner"" 137 | if /i %DRY_RUN%==no ( 138 | start /wait stage_3_disinfect\malwarebytes_adwcleaner\adwcleaner.exe /eula /clean /noreboot /path "%RAW_LOGS%" 139 | start /wait stage_3_disinfect\malwarebytes_adwcleaner\adwcleaner.exe /uninstall 140 | ) 141 | call functions\log_with_date.bat " Done." 142 | ) 143 | 144 | 145 | :: JOB: Kaspersky Virus Removal Tool (KVRT) 146 | title Tron v%TRON_VERSION% [stage_3_disinfect] [Kaspersky VRT] 147 | if /i %SKIP_KASPERSKY_SCAN%==yes ( 148 | call functions\log_with_date.bat "! SKIP_KASPERSKY_SCAN (-sk) set. Skipping KVRT scan." 149 | ) else ( 150 | call functions\log_with_date.bat " Launch job 'Kaspersky Virus Removal Tool'..." 151 | call functions\log_with_date.bat " Tool-specific log will be saved to "%RAW_LOGS%\Reports"" 152 | if /i %DRY_RUN%==no ( 153 | start /wait stage_3_disinfect\kaspersky_virus_removal_tool\KVRT.exe -d "%RAW_LOGS%" -accepteula -adinsilent -silent -processlevel 2 -dontencrypt 154 | if exist "%RAW_LOGS%\Legal notices" rmdir /s /q "%RAW_LOGS%\Legal notices" >> "%LOGPATH%\%LOGFILE%" 2>&1 155 | ) 156 | call functions\log_with_date.bat " Done." 157 | ) 158 | 159 | 160 | 161 | :: Stage complete 162 | call functions\log_with_date.bat " stage_3_disinfect complete." 163 | -------------------------------------------------------------------------------- /resources/stage_4_repair/disable_windows_telemetry/libeay32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/disable_windows_telemetry/libeay32.dll -------------------------------------------------------------------------------- /resources/stage_4_repair/disable_windows_telemetry/purge_windows_7-8-81_telemetry.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Purges Windows 7/8/8.1 telemetry 2 | :: Requirements: Called from Tron script ( reddit.com/r/TronScript ) in Stage 4: Repair. Can also be run directly 3 | :: Author: reddit.com/user/vocatus ( vocatus.gate@gmail.com ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.1.7-TRON - Windows Updates: remove outdated job that used to uninstall "bad" updates 5 | :: 1.1.6-TRON ! Fix standalone and Tron-called execution due to typo in STANDALONE variable comparison command. Thanks to u/bubonis 6 | :: 1.1.5-TRON ! Fix standalone execution not working in some sections due to relative paths being different. Thanks to u/AncientAv 7 | :: 1.1.4-TRON ! Fix standalone execution broken due to use of uninitialized %REG% variable 8 | :: 1.1.3-TRON * Use %REG% instead of relative calls 9 | :: 1.1.2-TRON + Add additional scheduled tasks to remove. Thanks to /u/MirageESO 10 | :: 1.1.1-TRON * Embed contents of 'disable_telemetry_registry_entries.reg' directly into script. Removes dependence on an external .reg file 11 | :: 1.1.0-TRON + Add updates 2882822 3050265 3065987 3075851 3102810 3118401 3135445 3138612 3173040 from http://www.overclock.net/t/1587577/windows-7-updates-list-descriptions-windows-10-preparation-telemetry 12 | :: Thanks to /u/HeyYou13 13 | :: 1.0.9-TRON ! Fix incorrect path in call to 'disable_telemetry_registry_entries.reg.' Thanks to /u/T_Belfs 14 | :: 1.0.8-TRON + Add log messages explaining each step in the process 15 | :: 1.0.7-TRON ! Fix incorrectly named directory in pushd statement. Resolves error where Tron couldn't find the Windows Update blocker script. Thanks to /u/DrQuack32 16 | :: * Simplify and clean up OS version detection 17 | :: ! Fix bug where script could mistakenly run on a Windows 10 system if manually executed 18 | :: 1.0.6-TRON + Add KB's 3112343, 3083324, 3083325, and 3065988. Thanks to /u/toomasmolder 19 | :: 1.0.5-TRON + Add KB 3139929. Thanks to /u/MirageESO 20 | :: 1.0.4-TRON + Add additional KB entries. Thanks to /u/kronflux 21 | :: ! OS version check: Replace "pause" command with "ping 127.0.0.1 -n 60 >NUL". This should protect against invalid results permanently stalling the script, and instead abort after 60 seconds 22 | :: * OS version check: Log a short message to the log file if version check fails. This way we know why the script aborted. Thanks to everyone who helped troubleshoot this 23 | :: 1.0.3-TRON + Add KB 3123862 to list of updates to remove and block. Thanks to /u/MirageESO 24 | :: 1.0.2-TRON + Add WIN_VER to list of variables to populate if running in standalone mode 25 | :: 1.0.1-TRON ! Fix crash error due to log file name containing "::" characters from a sloppy find/replace 26 | :: 1.0.0-TRON + Initial write 27 | @echo off 28 | SETLOCAL 29 | 30 | 31 | ::::::::::::::: 32 | :: VARIABLES :: -------------- These are the defaults. Change them if you so desire. --------- :: 33 | ::::::::::::::: 34 | :: No user-set variables for this script 35 | 36 | 37 | :: --------------------------- Don't edit anything below this line --------------------------- :: 38 | 39 | 40 | ::::::::::::::::::::: 41 | :: PREP AND CHECKS :: 42 | ::::::::::::::::::::: 43 | set SCRIPT_VERSION=1.1.7-TRON 44 | set SCRIPT_UPDATED=2020-05-25 45 | 46 | :: Populate dependent variables if we didn't inherit them from Tron (standalone execution) 47 | set STANDALONE=no 48 | if /i "%LOGPATH%"=="" ( 49 | set WMIC=%SystemRoot%\System32\wbem\wmic.exe 50 | set FIND=%SystemRoot%\System32\find.exe 51 | set FINDSTR=%SystemRoot%\System32\findstr.exe 52 | set REG=%SystemRoot%\System32\reg.exe 53 | ) 54 | if /i "%LOGPATH%"=="" ( 55 | set LOGPATH=%SystemDrive%\logs 56 | set LOGFILE=windows_7-8-81_telemetry_removal.log 57 | set VERBOSE=yes 58 | set STANDALONE=yes 59 | for /f "tokens=3*" %%i IN ('%REG% query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName ^| %FIND% "ProductName"') DO set WIN_VER=%%i %%j 60 | for /f "tokens=3*" %%i IN ('%REG% query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion ^| %FIND% "CurrentVersion"') DO set WIN_VER_NUM=%%i 61 | ) 62 | 63 | :: Make sure we're on Win7, 8 or 8.1 series 64 | :: On Windows 10 the console stupidly reports that the internal version number is 6.3, same 65 | :: as Win7-8.1, so we have to add an additional literal string check to catch it. Sigh. 66 | set ABORT=no 67 | if %WIN_VER_NUM% gtr 6.3 set ABORT=yes 68 | if %WIN_VER_NUM% leq 6.0 set ABORT=yes 69 | if "%WIN_VER:~0,10%"=="Windows 10" set ABORT=yes 70 | if %ABORT%==yes ( 71 | color 0c 72 | echo ERROR! This script is only for Windows 7/8/8.1. Detected version is %WIN_VER% ^(%WIN_VER_NUM%^). Aborting.>> %LOGPATH%\%LOGFILE% 73 | echo. 74 | echo ERROR 75 | echo. 76 | echo This script is only for Windows 7, 8 and 8.1 77 | echo ^(including server variants^). 78 | echo. 79 | echo Detected version is %WIN_VER% ^(%WIN_VER_NUM%^). 80 | echo. 81 | echo Quitting in 60 seconds... 82 | echo. 83 | ping 127.0.0.1 -n 60 >NUL 84 | color 85 | exit /b 1 86 | ) 87 | 88 | 89 | 90 | ::::::::::::: 91 | :: EXECUTE :: 92 | ::::::::::::: 93 | 94 | 95 | :::::::::::::::::::::::::::::::::::::::::::::::: 96 | :: SCHEDULED TASKS 97 | if %STANDALONE%==no ( 98 | call functions\log.bat " Removing telemetry-related scheduled tasks..." 99 | ) else ( 100 | echo "Removing telemetry-related scheduled tasks...." 101 | ) 102 | 103 | if "%VERBOSE%"=="yes" ( 104 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\AitAgent" 105 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" 106 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" 107 | schtasks /delete /F /TN "\Microsoft\Windows\Autochk\Proxy" 108 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" 109 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\BthSQM" 110 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" 111 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" 112 | schtasks /delete /F /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" 113 | schtasks /delete /F /TN "\Microsoft\Windows\PI\Sqm-Tasks" 114 | schtasks /delete /F /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" 115 | schtasks /delete /F /TN "\Microsoft\Windows\Windows Error Reporting\QueueReporting" 116 | ) else ( 117 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\AitAgent" >> "%LOGPATH%\%LOGFILE%" 2>&1 118 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" >> "%LOGPATH%\%LOGFILE%" 2>&1 119 | schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" >> "%LOGPATH%\%LOGFILE%" 2>&1 120 | schtasks /delete /F /TN "\Microsoft\Windows\Autochk\Proxy" >> "%LOGPATH%\%LOGFILE%" 2>&1 121 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" >> "%LOGPATH%\%LOGFILE%" 2>&1 122 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\BthSQM" >> "%LOGPATH%\%LOGFILE%" 2>&1 123 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" >> "%LOGPATH%\%LOGFILE%" 2>&1 124 | schtasks /delete /F /TN "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" >> "%LOGPATH%\%LOGFILE%" 2>&1 125 | schtasks /delete /F /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" >> "%LOGPATH%\%LOGFILE%" 2>&1 126 | schtasks /delete /F /TN "\Microsoft\Windows\PI\Sqm-Tasks" >> "%LOGPATH%\%LOGFILE%" 2>&1 127 | schtasks /delete /F /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" >> "%LOGPATH%\%LOGFILE%" 2>&1 128 | schtasks /delete /F /TN "\Microsoft\Windows\Windows Error Reporting\QueueReporting" >> "%LOGPATH%\%LOGFILE%" 2>&1 129 | ) 130 | 131 | if %STANDALONE%==no (call functions\log.bat " Done.") else (echo "Done.") 132 | 133 | 134 | 135 | :::::::::::::::::::::::::::::::::::::::::::::::: 136 | :: SERVICES 137 | if %STANDALONE%==no ( 138 | call functions\log.bat " Removing bad services, please wait..." 139 | ) else ( 140 | echo "Removing bad services, please wait..." 141 | ) 142 | 143 | if "%VERBOSE%"=="yes" ( 144 | :: Diagnostic Tracking 145 | sc stop Diagtrack 146 | sc delete Diagtrack 147 | 148 | :: Remote Registry (disable only) 149 | sc config RemoteRegistry start= disabled 150 | sc stop RemoteRegistry 151 | ) else ( 152 | :: Diagnostic Tracking 153 | sc stop Diagtrack >> "%LOGPATH%\%LOGFILE%" 2>&1 154 | sc delete Diagtrack >> "%LOGPATH%\%LOGFILE%" 2>&1 155 | 156 | :: Remote Registry (disable only) 157 | sc config RemoteRegistry start= disabled >> "%LOGPATH%\%LOGFILE%" 2>&1 158 | sc stop RemoteRegistry >> "%LOGPATH%\%LOGFILE%" 2>&1 159 | ) 160 | 161 | if %STANDALONE%==no (call functions\log.bat " Done.") else (echo "Done.") 162 | 163 | 164 | 165 | :::::::::::::::::::::::::::::::::::::::::::::::::: 166 | :: REGISTRY ENTRIES 167 | if %STANDALONE%==no ( 168 | call functions\log.bat " Toggling official MS telemetry registry entries..." 169 | ) else ( 170 | echo "Toggling official MS telemetry registry entries..." 171 | ) 172 | 173 | 174 | if "%VERBOSE%"=="yes" ( 175 | REM GPO options to disable telemetry 176 | %REG% add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f 177 | %REG% add "HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f 178 | 179 | REM Keylogger 180 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d "0" /f 181 | 182 | REM Wifi sense; this is a nasty one, privacy-wise 183 | %REG% add "HKLM\software\microsoft\wcmsvc\wifinetworkmanager" /v "wifisensecredshared" /t REG_DWORD /d "0" /f 184 | %REG% add "HKLM\software\microsoft\wcmsvc\wifinetworkmanager" /v "wifisenseopen" /t REG_DWORD /d "0" /f 185 | 186 | REM Windows Defender sample reporting 187 | %REG% add "HKLM\software\microsoft\windows defender\spynet" /v "spynetreporting" /t REG_DWORD /d "0" /f 188 | %REG% add "HKLM\software\microsoft\windows defender\spynet" /v "submitsamplesconsent" /t REG_DWORD /d "0" /f 189 | 190 | REM SkyDrive 191 | %REG% add "HKLM\software\policies\microsoft\windows\skydrive" /v "disablefilesync" /t REG_DWORD /d "1" /f 192 | 193 | REM Kill OneDrive from hooking into Explorer even when disabled 194 | %REG% add "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f 195 | %REG% add "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f 196 | 197 | REM DiagTrack service 198 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Services\DiagTrack" /v "Start" /t REG_DWORD /d "4" /f 199 | 200 | REM "WAP Push Message Routing Service" 201 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Services\dmwappushservice" /v "Start" /t REG_DWORD /d "4" /f 202 | ) else ( 203 | REM GPO options to disable telemetry 204 | %REG% add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 205 | %REG% add "HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\DataCollection" /v "AllowTelemetry" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 206 | 207 | REM Keylogger 208 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v "Start" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 209 | 210 | REM Wifi sense; this is a nasty one, privacy-wise 211 | %REG% add "HKLM\software\microsoft\wcmsvc\wifinetworkmanager" /v "wifisensecredshared" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 212 | %REG% add "HKLM\software\microsoft\wcmsvc\wifinetworkmanager" /v "wifisenseopen" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 213 | 214 | REM Windows Defender sample reporting 215 | %REG% add "HKLM\software\microsoft\windows defender\spynet" /v "spynetreporting" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 216 | %REG% add "HKLM\software\microsoft\windows defender\spynet" /v "submitsamplesconsent" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 217 | 218 | REM SkyDrive 219 | %REG% add "HKLM\software\policies\microsoft\windows\skydrive" /v "disablefilesync" /t REG_DWORD /d "1" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 220 | 221 | REM Kill OneDrive from hooking into Explorer even when disabled 222 | %REG% add "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 223 | %REG% add "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 224 | 225 | REM DiagTrack service 226 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Services\DiagTrack" /v "Start" /t REG_DWORD /d "4" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 227 | 228 | REM "WAP Push Message Routing Service" 229 | %REG% add "HKLM\SYSTEM\CurrentControlSet\Services\dmwappushservice" /v "Start" /t REG_DWORD /d "4" /f >> "%LOGPATH%\%LOGFILE%" 2>&1 230 | ) 231 | 232 | if %STANDALONE%==no (call functions\log.bat " Done.") else (echo "Done.") 233 | 234 | 235 | 236 | :::::::::::::::::::::::::::::::::::::::::::::::: 237 | :: MISC 238 | if %STANDALONE%==no ( 239 | call functions\log.bat " Miscellaneous cleanup, please wait..." 240 | ) else ( 241 | echo "Miscellaneous cleanup, please wait..." 242 | ) 243 | 244 | :: Kill pending tracking reports 245 | if not exist %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\ mkdir %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\ >NUL 2>&1 246 | echo. > %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl 2>NUL 247 | echo y|cacls.exe "%programdata%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl" /d SYSTEM >NUL 2>&1 248 | 249 | if %STANDALONE%==no (call functions\log.bat " Done.") else (echo "Done.") 250 | -------------------------------------------------------------------------------- /resources/stage_4_repair/disable_windows_telemetry/ssleay32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/disable_windows_telemetry/ssleay32.dll -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/AAC.reg: -------------------------------------------------------------------------------- 1 | Windows Registry Editor Version 5.00 2 | 3 | [HKEY_CLASSES_ROOT\.AAC] 4 | @="WMP11.AssocFile.ADTS" 5 | "Content Type"="audio/vnd.dlna.adts" 6 | "PerceivedType"="audio" 7 | 8 | [HKEY_CLASSES_ROOT\.AAC\OpenWithProgIds] 9 | "WMP11.AssocFile.ADTS"=hex(0): 10 | 11 | [-HKEY_CLASSES_ROOT\SystemFileAssociations\.AAC] 12 | 13 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS] 14 | @="ADTS Audio" 15 | "EditFlags"=hex:00,00,11,00 16 | "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\ 17 | 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\ 18 | 32,00,5c,00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,\ 19 | 00,65,00,2c,00,2d,00,39,00,39,00,33,00,39,00,00,00 20 | "PreferExecuteOnMismatch"=dword:00000001 21 | 22 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\DefaultIcon] 23 | @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 24 | 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,77,00,6d,00,\ 25 | 70,00,6c,00,6f,00,63,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,37,00,33,00,30,\ 26 | 00,00,00 27 | 28 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\shell] 29 | @="Play" 30 | 31 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\shell\Enqueue] 32 | @="&Add to Windows Media Player list" 33 | "MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\ 34 | 6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 35 | 00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\ 36 | 2c,00,2d,00,39,00,38,00,30,00,30,00,00,00 37 | 38 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\shell\Enqueue\command] 39 | "DelegateExecute"="{45597c98-80f6-4549-84ff-752cf55e2d29}" 40 | 41 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\shellex\ContextMenuHandlers\PlayTo] 42 | @="{7AD84985-87B4-4a16-BE58-8B72A5B390F7}" 43 | 44 | [HKEY_CLASSES_ROOT\WMP11.AssocFile.ADTS\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}] 45 | @="{031EE060-67BC-460d-8847-E4A7C5E45A27}" 46 | 47 | [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AAC] 48 | 49 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AAC\OpenWithProgids] 50 | "WMP11.AssocFile.ADTS"=hex(0): 51 | 52 | [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.AAC\UserChoice] 53 | "Progid"="WMP11.AssocFile.ADTS" 54 | -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Defaul_XSL.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Defaul_XSL.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_3GP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_3GP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_3GPP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_3GPP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ANI.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ANI.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ASF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ASF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ASPX.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ASPX.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ASX.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ASX.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_AVI.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_AVI.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_AudioCD.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_AudioCD.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_BAS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_BAS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_BAT.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_BAT.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_BIN.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_BIN.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_BMP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_BMP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Briefcase.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Briefcase.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_CAB.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_CAB.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_CHM.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_CHM.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_CMD.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_CMD.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_COM.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_COM.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_CSS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_CSS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_CUR.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_CUR.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Contact.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Contact.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_DB.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_DB.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_DIC.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_DIC.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_DLL.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_DLL.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_DVR-MS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_DVR-MS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Directory.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Directory.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Drive.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Drive.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_EXE.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_EXE.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Folder.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Folder.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_GIF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_GIF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_GZ.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_GZ.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_HLP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_HLP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_HTA.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_HTA.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_HTM.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_HTM.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_HTML.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_HTML.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ICO.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ICO.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_IMG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_IMG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_INF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_INF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_INI.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_INI.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ISO.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ISO.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JNT.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JNT.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JPE.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JPE.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JPEG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JPEG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JPG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JPG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_JSE.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_JSE.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_LNK_(Shortcut).reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_LNK_(Shortcut).reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_LOG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_LOG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Library-ms.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Library-ms.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_M2T.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_M2T.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_M2TS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_M2TS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_M3U.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_M3U.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_M4V.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_M4V.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MKV.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MKV.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MOV.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MOV.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MP3.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MP3.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MP4.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MP4.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MPA.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MPA.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MPE.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MPE.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MPEG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MPEG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MPG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MPG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MSC.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MSC.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MSI.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MSI.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MSP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MSP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_MTS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_MTS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_OBJ.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_OBJ.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_OTF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_OTF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_PBK.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_PBK.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_PDF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_PDF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_PNG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_PNG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Package.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Package.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_REG.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_REG.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_RTF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_RTF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_SCR.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_SCR.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_Search.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_Search.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TAR.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TAR.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TIF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TIF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TIFF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TIFF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TMP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TMP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TTF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TTF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TTS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TTS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_TXT.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_TXT.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_URL.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_URL.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_VBS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_VBS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_VOB.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_VOB.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_WMA.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_WMA.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_WMV.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_WMV.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_WSF.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_WSF.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_XML.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_XML.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_XPS.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_XPS.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ZIP.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ZIP.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_bak.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_bak.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_cpp.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_cpp.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_dat.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_dat.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_h.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_h.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_manifest.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_manifest.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_ps1.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_ps1.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_theme.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_theme.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_themepack.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_themepack.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Default_wav.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Default_wav.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Type.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Type.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/Unknown.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/Unknown.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/ai.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/ai.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/cer.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/cer.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/crt.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/crt.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/default_cpl.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/default_cpl.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/der.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/der.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/m4a.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/m4a.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/mapimail.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/mapimail.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/mhtml.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/mhtml.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/nfo.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/nfo.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/psd.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/psd.reg -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/repair_file_extensions.bat: -------------------------------------------------------------------------------- 1 | :: Repair Default File Extensions 2 | :: by: /u/cuddlychops06 3 | :: modified for use in Tron project by /u/vocatus 4 | 5 | @echo off 6 | for %%i in (*.reg) do ( 7 | echo Importing: %%i >> %LOGPATH%\%LOGFILE% 8 | %SystemRoot%\System32\reg.exe import %%i >> %LOGPATH%\%LOGFILE% 9 | ) 10 | 11 | :: Return exit code to SCCM/PDQ Deploy/Tron/etc 12 | exit /B %EXIT_CODE% 13 | -------------------------------------------------------------------------------- /resources/stage_4_repair/repair_file_extensions/svg.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_4_repair/repair_file_extensions/svg.reg -------------------------------------------------------------------------------- /resources/stage_5_patch/7-zip/7-Zip Installer.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Installs a package 2 | :: Requirements: Run this script with a network admin account 3 | :: Author: reddit.com/user/vocatus ( vocatus.gate@gmail.com ) // PGP key: 0x07d1490f82a211a2 4 | :: History: 1.2.3-TRON ! Fix bug where we'd install the new 7-Zip alongside an old existing version. Old versions now removed prior to installation. Thanks to u/strifethe9tailedfox 5 | :: 1.2.2-TRON * Make installer script architecture-agnostic, now will detect correct system architecture and install relevant package 6 | :: * Replace all hard-coded system file paths with relevant variable for better portability 7 | :: 1.2.1-TRON - Remove logging of ftype and assoc output since it's not of any consequence 8 | :: 1.2.0-TRON - Remove logging functions since Tron handles logging 9 | :: 1.0.0 + Initial write 10 | 11 | :: Usage: Run the script and pass one of the following arguments to it: 12 | :: associate_common Associate 7-Zip with the common file compression formats 13 | :: (7z,bz2,bzip2,gz,gzip,lzh,lzma,rar,tar,tgz,zip) 14 | :: associate_all Associate 7-zip with ALL the file compression formats it supports 15 | :: 16 | :: e.g. 7-Zip v9.20.bat associate_all 17 | :: 18 | :: Default is "associate_common" unless told otherwise 19 | @echo off 20 | 21 | 22 | ::::::::::::::: 23 | :: VARIABLES :: -- Set these to your desired values 24 | ::::::::::::::: 25 | :: Package to install. Do not use trailing slashes (\) 26 | set BINARY_VERSION=24.09 27 | set FLAGS=ALLUSERS=1 /q /norestart INSTALLDIR="%SystemDrive%\Program Files\7-Zip" 28 | 29 | 30 | :::::::::: 31 | :: Prep :: -- Don't change anything in this section 32 | :::::::::: 33 | @echo off 34 | set VERSION=1.2.3-TRON 35 | set UPDATED=2020-06-30 36 | :: Get the date into ISO 8601 standard format (yyyy-mm-dd) so we can use it 37 | FOR /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a 38 | set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2% 39 | 40 | :: Get into the correct directory 41 | pushd "%~dp0" 42 | 43 | 44 | :::::::::::::::::: 45 | :: INSTALLATION :: 46 | :::::::::::::::::: 47 | :: Uninstall other versions of 7-zip 48 | IF EXIST "%ProgramFiles%\7-Zip\Uninstall.exe" "%ProgramFiles%\7-Zip\Uninstall.exe" /S /V"/qn /norestart" 49 | IF EXIST "%ProgramFiles(x86)%\7-Zip\Uninstall.exe" "%ProgramFiles(x86)%\7-Zip\Uninstall.exe" /S /V"/qn /norestart" 50 | wmic product where "name like '7-Zip%%'" uninstall /nointeractive 51 | 52 | 53 | :: Detect system architecture and install appropriate version 54 | if /i '%PROCESSOR_ARCHITECTURE%'=='x86' ( 55 | "7-Zip v%BINARY_VERSION% x86.msi" %FLAGS% 56 | ) else ( 57 | "7-Zip v%BINARY_VERSION% x64.msi" %FLAGS% 58 | ) 59 | 60 | :: Create file associations 61 | :: Basically we just use a couple FOR loops to iterate through the list since it's prettier than using individual 'assoc' and 'ftype' commands 62 | if '%1'=='associate_all' goto associate_all 63 | 64 | :: This section will run no matter what's passed to the installer, UNLESS it's "associate_all" 65 | :associate_common 66 | for %%i in (7z,bz2,bzip2,gz,gzip,lzh,lzma,rar,tar,tgz,zip) do ( 67 | :: Associations... 68 | assoc .%%i=7-Zip.%%i >nul 2>&1 69 | :: ...and Open With... 70 | ftype 7-Zip.%%i="%ProgramFiles%\7-Zip\7zFM.exe" "%%1" >nul 2>&1 71 | ) 72 | goto finished 73 | 74 | :: We do this section if "associate_all" was passed to the installer 75 | :associate_all 76 | for %%i in (001,7z,arj,bz2,bzip2,cab,cpio,deb,dmg,fat,gz,gzip,hfs,iso,lha,lzh,lzma,ntfs,rar,rpm,squashfs,swm,tar,taz,tbz,tbz2,tgz,tpz,txz,vhd,wim,xar,xz,z,zip) do ( 77 | :: Associations... 78 | assoc .%%i=7-Zip.%%i >nul 2>&1 79 | :: ...and Open With... 80 | ftype 7-Zip.%%i="%ProgramFiles%\7-Zip\7zFM.exe" "%%1" >nul 2>&1 81 | ) 82 | goto finished 83 | 84 | 85 | 86 | :finished 87 | :: Delete the Start Menu icons 88 | if exist "%ProgramData%\Microsoft\Windows\Start Menu\Programs\7-Zip" rmdir /s /q "%ProgramData%\Microsoft\Windows\Start Menu\Programs\7-Zip" 89 | 90 | :: Pop back to original directory. This isn't necessary in stand-alone runs of the script, but is needed when being called from another script 91 | popd 92 | 93 | :: Return exit code to SCCM/PDQ Deploy/etc 94 | exit /B %EXIT_CODE% 95 | -------------------------------------------------------------------------------- /resources/stage_5_patch/stage_5_patch.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Sub-script containing all commands for Tron's Stage 5: Patch stage. Called by tron.bat and returns control when finished 2 | :: Requirements: 1. Administrator access 3 | :: 2. Safe mode is recommended but not required 4 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 5 | :: Version: 1.2.7 - removal: Remove Adobe Flash update job, as Adobe deprecated Flash as of 2020-12-31 6 | :: 1.2.6 * improvement: Suppress Windows Defender update output unless running in verbose mode 7 | ::: 1.2.5 - feature: Remove entire Java Runtime patching section 8 | :: 1.2.4 * improvement: Use %REG% instead of relative calls. Helps on systems with a broken PATH variable 9 | :: 1.2.3 ! bugfix: Remove dead code that was incorrectly attempting to install Acrobat Reader DC updates 10 | :: 1.2.2 * improvement: Improve standalone execution support. Can now execute by double-clicking icon vs. manually executing via CLI 11 | :: 1.2.1 ! bugfix: Update Windows Defender prior to Windows update. Fixes bug where sometimes Windows Update won't work until Defender update runs. Thanks to /u/bubonis 12 | :: 1.2.0 ! bugfix: Preface WMIC calls with null input to ensure the pipe is closed, fixes WMI hanging on WinXP machines. Thanks to github:salsifis 13 | :: 1.1.9 / wsus: Change wuauserv command to set the service to AUTO instead of DEMAND. Thanks to /u/Star_9 14 | :: 1.1.8 ! bugfix: Fix in WSUS Offline update code due to an unused variable. Thanks to /u/gayuha 15 | :: 1.1.7 * logging: Update date/time logging functions to use new log_with_date.bat. Thanks to /u/DudeManFoo 16 | :: 1.1.6 * improvement: Update script to support standalone execution 17 | :: + feature: Add support for bundled WSUS Offline updates. Thanks to /u/TootZoot for initial template code 18 | :: / misc: change :skip_updates and associated GOTO statements to :skip_application_updates 19 | :: / misc: change various text strings referring to SKIP_UPDATES to SKIP_APP_UPDATES 20 | :: 1.1.5 * adobe: Update verbage on installation of Adobe Reader to reflect new Reader DC installation 21 | :: ! bugfix: Don't display "done" message if no Java installation was detected or updated 22 | :: 1.1.4 * improvement: Windows Update; force start Windows Update service in case it's not running, prior to running the wuaserv command 23 | :: 1.1.3 ! bugfix: 7ZIP_DETECTED would never get set because it started with a number. Rename to SEVENZIP_DETECTED. Thanks to /u/toomasmolder 24 | :: / misc: Change some comments inside parentheses to use REM instead of ::. Thanks to /u/toomasmolder 25 | :: 1.1.2 + feature: Import Windows Vista/2008 Dism component cleanup from Stage 4 26 | :: + feature: Implement support for -sdc switch (SKIP_DISM_CLEANUP) 27 | :: 1.1.1 * logging: Switch from internal log function to Tron's external logging function. Thanks to github:nemchik 28 | :: 1.1.0 * improvement: Only patch each program if it already exists on the system. Thanks to /u/Tech604 29 | :: 1.0.0 + Initial write 30 | @echo off 31 | 32 | 33 | ::::::::::::::::::::: 34 | :: PREP AND CHECKS :: 35 | ::::::::::::::::::::: 36 | set STAGE_5_SCRIPT_VERSION=1.2.7 37 | set STAGE_5_SCRIPT_DATE=2021-12-15 38 | 39 | :: Check for standalone vs. Tron execution and build the environment if running in standalone mode 40 | if /i "%LOGFILE%"=="" ( 41 | pushd "%~dp0" 42 | pushd .. 43 | 44 | :: Load the settings file 45 | call functions\tron_settings.bat 46 | 47 | :: Initialize the runtime environment 48 | call functions\initialize_environment.bat 49 | ) 50 | 51 | 52 | 53 | :::::::::::::::::::: 54 | :: STAGE 5: Patch :: // Begin jobs 55 | :::::::::::::::::::: 56 | call functions\log_with_date.bat " stage_5_patch begin..." 57 | 58 | 59 | :: Prep task: enable MSI installer in Safe Mode 60 | title Tron v%TRON_VERSION% [stage_5_patch] [Prep] 61 | if /i %DRY_RUN%==no ( 62 | if not "%SAFE_MODE%"=="" %REG% add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\MSIServer" /ve /t reg_sz /d Service /f >nul 2>&1 63 | net start msiserver >nul 2>&1 64 | ) 65 | 66 | :: Prep task: check for skip application patches (-sap) switch or variable and skip if used 67 | if /i %SKIP_APP_PATCHES%==yes ( 68 | call functions\log_with_date.bat "! SKIP_APP_PATCHES (-sap) set. Skipping all application patches." 69 | goto skip_application_patches 70 | ) 71 | 72 | 73 | :: JOB: 7-Zip 74 | :: spawn SEVENZIP_DETECTED variable, flip it if an existing 7-Zip installation is detected 75 | set SEVENZIP_DETECTED=no 76 | if exist "%ProgramFiles(x86)%\7-Zip" set SEVENZIP_DETECTED=yes 77 | if exist "%ProgramFiles%\7-Zip" set SEVENZIP_DETECTED=yes 78 | if %SEVENZIP_DETECTED%==yes ( 79 | title Tron v%TRON_VERSION% [stage_5_patch] [Update 7-Zip] 80 | call functions\log_with_date.bat " 7-Zip detected, updating..." 81 | call functions\log_with_date.bat " Launch job 'Update 7-Zip'..." 82 | setlocal 83 | if /i %DRY_RUN%==no call "stage_5_patch\7-Zip\7-Zip Installer.bat" 84 | endlocal 85 | call functions\log_with_date.bat " Done." 86 | ) 87 | 88 | 89 | :: JOB: Skip point for if -sap (skip application patches) switch was used 90 | :skip_application_patches 91 | 92 | 93 | :: JOB: Update Windows Defender 94 | if exist "%ProgramFiles%\Windows Defender\mpcmdrun.exe" ( 95 | title Tron v%TRON_VERSION% [stage_5_patch] [Update Windows Defender] 96 | call functions\log_with_date.bat " Updating Windows Defender..." 97 | 98 | if /i %DRY_RUN%==no ( 99 | if %VERBOSE%==no "%ProgramFiles%\Windows Defender\mpcmdrun.exe" -SignatureUpdate >> "%LOGPATH%\%LOGFILE%" 2>&1 100 | if %VERBOSE%==yes "%ProgramFiles%\Windows Defender\mpcmdrun.exe" -SignatureUpdate 101 | ) 102 | 103 | call functions\log_with_date.bat " Done." 104 | ) 105 | 106 | 107 | :: JOB: Windows updates 108 | if /i %SKIP_WINDOWS_UPDATES%==no ( 109 | title Tron v%TRON_VERSION% [stage_5_patch] [Windows Updates] 110 | call functions\log_with_date.bat " Launch job 'Install Windows updates'..." 111 | 112 | :: Detect if bundled WSUS Offline updates are included. If so, execute those instead 113 | if exist stage_5_patch\wsus_offline\client\Update.cmd ( 114 | if /i %SKIP_WSUS_OFFLINE%==no ( 115 | title Tron v%TRON_VERSION% [stage_5_patch] [WSUS Offline Updates] 116 | call functions\log_with_date.bat "! WSUS Offline updates detected. Using bundled update package..." 117 | if /i %DRY_RUN%==no call "stage_5_patch\wsus_offline\client\Update.cmd" >> "%LOGPATH%\%LOGFILE%" 2>&1 118 | ) else ( 119 | call functions\log_with_date.bat "! WSUS Offline updates detected, but SKIP_WSUS_OFFLINE (-swo) set." 120 | call functions\log_with_date.bat " Using regular online update method..." 121 | if /i %DRY_RUN%==no ( 122 | sc config wuauserv start= auto>> "%LOGPATH%\%LOGFILE%" 2>NUL 123 | net start wuauserv >> "%LOGPATH%\%LOGFILE%" 2>NUL 124 | wuauclt /detectnow /updatenow >> "%LOGPATH%\%LOGFILE%" 2>NUL 125 | ping 127.0.0.1 -n 15 >nul 126 | ) 127 | ) 128 | ) 129 | call functions\log_with_date.bat " Done." 130 | ) else ( 131 | call functions\log_with_date.bat "! SKIP_WINDOWS_UPDATES (-swu) set. Skipping all Windows Update methods." 132 | ) 133 | 134 | 135 | :: JOB: Rebuild Windows Update base (deflates the SxS store; note that any Windows Updates installed prior to this point will no longer be uninstallable) 136 | :: Windows 8/2012 and up only 137 | if %SKIP_DISM_CLEANUP%==no ( 138 | title Tron v%TRON_VERSION% [stage_5_patch] [Rebuild Windows Update base] 139 | call functions\log_with_date.bat " Launch job 'DISM base reset'..." 140 | if /i %DRY_RUN%==no ( 141 | REM 7/2008R2 and up 142 | if %WIN_VER_NUM% geq 6.1 ( 143 | Dism /online /Cleanup-Image /StartComponentCleanup /ResetBase /Logpath:"%LOGPATH%\dism_base_reset.log" >nul 2>&1 144 | type "%LOGPATH%\dism_base_reset.log" >> "%LOGPATH%\%LOGFILE%" 145 | del /f /q "%LOGPATH%\dism_base_reset.log" 146 | ) 147 | REM Vista version 148 | if %WIN_VER_NUM% equ 6.0 ( 149 | Dism /online /Cleanup-Image /StartComponentCleanup /Logpath:"%LOGPATH%\dism_base_reset.log" >nul 2>&1 150 | type "%LOGPATH%\dism_base_reset.log" >> "%LOGPATH%\%LOGFILE%" 151 | del /f /q "%LOGPATH%\dism_base_reset.log" 152 | ) 153 | ) 154 | ) else ( 155 | call functions\log_with_date.bat "! SKIP_DISM_CLEANUP (-sdc) set. Skipping DISM cleanup." 156 | ) 157 | 158 | call functions\log_with_date.bat " Done." 159 | 160 | 161 | 162 | 163 | :: Stage complete 164 | call functions\log_with_date.bat " stage_5_patch complete." 165 | -------------------------------------------------------------------------------- /resources/stage_5_patch/wsus_offline/Instructions on loading Tron with WSUS offline updates.txt: -------------------------------------------------------------------------------- 1 | Tron can execute bundled offline updates created with the WSUS Offline tool, instead of using the online update mechanism. 2 | 3 | If Tron detects this specific path during Stage 5: 4 | 5 | stage_5_patch\wsus_offline\client\Update.cmd 6 | 7 | it will skip online updates and use the bundled updates instead, unless you use the -swo command-line switch, which will force it to skip WSUS Offline regardless whether it's present or not. 8 | 9 | You can get WSUS Offline here: http://download.wsusoffline.net/ 10 | 11 | 12 | INSTRUCTIONS: 13 | 14 | 1. Download WSUS Offline 15 | 2. Run it and have it download the applicable updates you want 16 | 3. Copy the "client" folder (usually in \wsusoffline\client) to \tron\resources\stage_5_patch\wsus_offline 17 | 4. Make sure that "Update.cmd" is present in this path: \tron\resources\stage_5_patch\wsus_offline\client\Update.cmd 18 | 5. Run Tron, it should automatically detect and use the offline updates 19 | -------------------------------------------------------------------------------- /resources/stage_6_optimize/defrag/smartctl.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_6_optimize/defrag/smartctl.exe -------------------------------------------------------------------------------- /resources/stage_6_optimize/defrag/update-smart-drivedb.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bmrf/tron/91fc6f0e36ff481554a013dc47dcd2bc85fa720d/resources/stage_6_optimize/defrag/update-smart-drivedb.exe -------------------------------------------------------------------------------- /resources/stage_6_optimize/stage_6_optimize.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Sub-script containing all commands for Tron's Stage 6: Optimize stage. Called by tron.bat and returns control when finished 2 | :: Requirements: Administrator access 3 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.1.0 / change: Change defrag threshold from 5% fragmentation level to 7% fragmentation level 5 | :: 1.0.9 + feature: Add job 'ngen .NET compilation', thanks to u/NickNameInCollege 6 | :: 1.0.8 * smart: Improve SMART detection routine to also switch problem codes and set the appropriate variables 7 | :: 1.0.7 * improvement: Improve standalone execution support. Can now execute by double-clicking icon vs. manually executing via CLI 8 | :: 1.0.6 * bugfix: Preface WMIC calls with null input to ensure the pipe is closed, fixes WMI hanging on WinXP machines. Thanks to github:salsifis 9 | :: 1.0.5 * logging: Update date/time logging functions to use new log_with_date.bat. Thanks to /u/DudeManFoo 10 | :: 1.0.4 * script: Update script to support standalone execution 11 | :: 1.0.3 * logging: Clarify log messages if we're skipping defrag because of an error 12 | :: 1.0.2 + improvement: Add support for multiple SKIP_DEFRAG variable values 13 | :: 1.0.1 * logging: Switch from internal log function to Tron's external logging function. Thanks to github:nemchik 14 | :: 1.0.0 + Initial write 15 | @echo off 16 | 17 | 18 | ::::::::::::::::::::: 19 | :: PREP AND CHECKS :: 20 | ::::::::::::::::::::: 21 | set STAGE_6_SCRIPT_VERSION=1.1.0 22 | set STAGE_6_SCRIPT_DATE=2021-07-23 23 | 24 | :: Check for standalone vs. Tron execution and build the environment if running in standalone mode 25 | if /i "%LOGFILE%"=="" ( 26 | pushd "%~dp0" 27 | pushd .. 28 | 29 | :: Load the settings file 30 | call functions\tron_settings.bat 31 | 32 | :: Initialize the runtime environment 33 | call functions\initialize_environment.bat 34 | ) 35 | 36 | 37 | 38 | ::::::::::::::::::::::: 39 | :: STAGE 6: Optimize :: // Begin jobs 40 | ::::::::::::::::::::::: 41 | call functions\log_with_date.bat " stage_6_optimize begin..." 42 | 43 | 44 | :: JOB: Reset the system page file settings 45 | title Tron v%TRON_VERSION% [stage_6_optimize] [PageFileReset] 46 | if /i %SKIP_PAGEFILE_RESET%==yes ( 47 | call functions\log_with_date.bat "! SKIP_PAGEFILE_RESET (-spr) set. Skipping page file reset." 48 | ) else ( 49 | call functions\log_with_date.bat " Resetting page file settings to Windows defaults..." 50 | if /i %DRY_RUN%==no > "%LOGPATH%\%LOGFILE%" 2>&1 51 | call functions\log_with_date.bat " Done." 52 | ) 53 | 54 | 55 | :: JOB: Pre-compile the .NET cache 56 | title Tron v%TRON_VERSION% [stage_6_optimize] [ngen .NET compilation] 57 | call functions\log_with_date.bat " Launch job 'ngen .NET compilation'..." 58 | if /i %DRY_RUN%==no ( 59 | if %PROCESSOR_ARCHITECTURE%==x86 ( 60 | pushd %WINDIR%\Microsoft.NET\Framework\v4* 61 | if %VERBOSE%==yes (ngen executeQueuedItems) else (ngen executeQueuedItems >> "%LOGPATH%\%LOGFILE%" 2>&1) 62 | popd 63 | ) else ( 64 | pushd %WINDIR%\Microsoft.NET\Framework64\v4* 65 | if %VERBOSE%==yes (ngen executeQueuedItems) else (ngen executeQueuedItems >> "%LOGPATH%\%LOGFILE%" 2>&1) 66 | popd 67 | ) 68 | ) 69 | call functions\log_with_date.bat " Done." 70 | 71 | 72 | :: JOB: Check status of SKIP_DEFRAG and run defrag if no issues 73 | if /i "%SKIP_DEFRAG%"=="yes" call functions\log_with_date.bat "! SKIP_DEFRAG (-sd) set. Skipping defrag of %SystemDrive%." 74 | if /i "%SKIP_DEFRAG%"=="yes_ssd" call functions\log_with_date.bat " Solid State hard drive detected. Skipping defrag of %SystemDrive%." 75 | if /i "%SKIP_DEFRAG%"=="yes_vm" call functions\log_with_date.bat " Virtual Machine detected. Skipping defrag of %SystemDrive%." 76 | if /i "%SKIP_DEFRAG%"=="yes_disk_smart_read_error" call functions\log_with_date.bat "! WARNING: Error reading %SystemDrive% disk stats. Skipping defrag as a precaution." 77 | if /i "%SKIP_DEFRAG%"=="yes_disk_smart_problem_code" call functions\log_with_date.bat "! WARNING: Disk threw SMART problem code '%SMART_PROBLEM_CODE%'. Skipping defrag as a precaution." 78 | 79 | if /i "%SKIP_DEFRAG%"=="no" ( 80 | title Tron v%TRON_VERSION% [stage_6_optimize] [Defrag] 81 | call functions\log_with_date.bat " Launch job 'Defrag %SystemDrive%'..." 82 | if /i %DRY_RUN%==no stage_6_optimize\defrag\defraggler.exe %SystemDrive% /MinPercent 7 83 | call functions\log_with_date.bat " Done." 84 | ) 85 | 86 | 87 | 88 | 89 | 90 | :: Stage complete 91 | call functions\log_with_date.bat " stage_6_optimize complete." 92 | -------------------------------------------------------------------------------- /resources/stage_7_wrap-up/email_report/SwithMailSettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tron 5 | YOUR.EMAIL.ADDRESS@example.com 6 | YOUR.EMAIL.ADDRESS@example.com 7 | YOUR-PASSWORD-HERE 8 | False 9 | smtp.gmail.com 10 | 587 11 | True 12 | 13 | False 14 | 15 | 16 | YOUR-EMAIL-ADDRESS-HERE@example.com 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | True 26 | False 27 | Tron: Run complete on %COMPUTERNAME% 28 | 29 | 37 | 38 | 39 | <p style="font-family:'Courier New', monospace"><b>%Param1% on %COMPUTERNAME%</b> 40 | Finished %NOW% 41 | ---------------------------------------------------------------------- 42 | Logfile:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Param2% 43 | Command-line flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Param5% 44 | Safe Mode:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Param3% 45 | Free space before/after/reclaimed:&nbsp;&nbsp;%Param4%&nbsp;MB * 46 | 47 | Logs are attached. 48 | 49 | <i>* Don't panic if you see negative disk space. Due to how some of Tron's functions work, actual disk space reclaimed will not be visible until after a system reboot.</i> 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /resources/stage_7_wrap-up/email_report/Swithmail_readme.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------ 2 | | 3 | | Product - SwithMail 4 | | Version - 2.1.5.0 5 | | Author - Tim Bare 6 | | Copyright - 2012-2013 - Tim Bare 7 | | 8 | | Website - http://www.tbare.com 9 | | Project - http://swithmail.tbare.com 10 | | 11 | | Description: 12 | | SwithMail is an application 13 | | that allows you to send SSL/TLS SMTP 14 | | email silently from command line (CLI), 15 | | or a batch file using Exchange, Gmail, 16 | | Hotmail, Yahoo! Plus, or Any custom server 17 | | - for FREE! 18 | | 19 | ------------------------------------------------------ 20 | 21 | Usage: 22 | 23 | SwithMail.exe [/s] [/to "..."] [/CC "..."] [/from "..."] [/name "..."] [/sub "..."] [/Body "..."] [/HTML] [/Attachment "C:\Path\To\File.txt"] [/Param1 "value"] [/enc "..."] [/rr] [/drnl] 24 | 25 | 26 | --------------------- 27 | Sample Usage: 28 | 29 | SwithMail.exe /s /x "C:\path\to\settings.xml" /btxt "c:\path\to\bodyText.txt" /p1 "Mr. Smith" /enc "iso-8859-1" 30 | 31 | 32 | --------------------- 33 | Error Codes: 34 | When running silently from command line (or more specifically a batch file), Swithmail now supports error codes. 35 | 0 - No error - email delivered 36 | 1 - Error - something went wrong 37 | 38 | Example usage in a .bat file: 39 | @echo off 40 | rem ... 41 | set errorlevel= 42 | C:\SwithMail\SwithMail.exe /s /x "SwithMailSettings.xml" 43 | IF %errorlevel% ==0 GOTO SUCCESS 44 | IF %errorlevel% ==1 GOTO ERROR 45 | 46 | :SUCCESS 47 | echo Success! 48 | GOTO END 49 | 50 | :ERROR 51 | echo Error! 52 | GOTO END 53 | 54 | :END 55 | 56 | 57 | --------------------- 58 | Parameters: 59 | 60 | /Silent -- [also '/s' and '/q'] send an email without any prompt. 61 | /XML -- [also '/x'] "C:\Path\To\Settings.xml" 62 | /FromAddress -- [also '/from'] email address 63 | /FromName -- [also '/name'] name displayed 64 | /Server -- server address - no port specified 65 | /Port -- [also '/p'] server port - needed if /Server is used 66 | /Username -- [also '/u'] specified different username to use when logging in with SSL / TSL 67 | /Password [also '/pass'] password - in plain text 68 | /SSL -- [also '/TSL'] "true" or "false" depending on if SSL / TLS is enabled 69 | /ToAddress -- [also '/to'] email address(es); multiple separated by ';' or ',' 70 | /CC -- email address(es); multiple separated by ';' or ',' 71 | /BCC -- email address(es); multiple separated by ';' or ',' 72 | /ReplyTo -- [also '/rt'] address to set as the "Reply To" address 73 | /Subject -- [also '/sub'] subject "in quotes" 74 | /Body -- [also '/b'] email body "in quotes" - html tags allowed when /HTML=true 75 | /BodyTxt -- [also '/btxt'] full path of a text file to be used as the message body. 76 | /HTML -- "true" or "false" depending on if HTML tags are allowed in the body 77 | /Attachment -- [also '/a'] "C:\Path\To\File.txt|C:\PathTo\2.txt" - separate with pipe (|) symbol 78 | /Param{1-5} -- [also '/p{1-5}'] use %Param1% in subject or body, && replace it with this value 79 | /Test -- use when testing from CLI. Message will appear with errors or success 80 | /Encoding -- [also '/enc'] Specify different charset to be used (UTF8 by default) 81 | /ReadReceipt -- [also '/rr'] Request Read Receipt (where the client acknowledges and agrees) 82 | /DontReplace -- [also '/drnl'] Don't replace New Line with '
' on HTML email 83 | 84 | --------------------- 85 | Global variables (use in email subject & body): 86 | 87 | %now% - displays current date & time 88 | %computername% - displays computer name 89 | %username% - displays username of account running SwithMail 90 | 91 | 92 | --------------------- 93 | History: 94 | 95 | Revision: v2.1.5.0 96 | ======================== 97 | -Enhancement / Bug Fix - Added fix for Wildcard attachments that doesn't ignore text before the asterisk. 98 | 99 | Revision: v2.1.4.0 100 | ======================== 101 | -Enhancement - Added option to not auto replace new lines with '
' for html email (fixes .html file body text files) 102 | -Enhancement - Added alternate "plain text" view for HTML emails to help reduce SPAM score. 103 | 104 | 105 | Revision: v2.1.3.0 106 | ======================== 107 | -Enhancement - Added Support for wildcards on attachments ("c:\path\to\files\*.csv" will attach all .csv files in the folder -- NOTE: You must specify the file extension -- *.* will not work). 108 | 109 | 110 | Revision: v2.1.2.0 111 | ======================== 112 | -Enhancement - Added /ReadReceipt (or /rr) to request a read receipt (where the client acknowledges and agrees) 113 | 114 | 115 | Revision: v2.1.1.1 116 | ======================== 117 | -Bug Fix - fixed encoding issues when using non-US characters in ANSI text file for /bodytxt 118 | 119 | 120 | Revision: v2.1.1.0 121 | ======================== 122 | -Enhancement - Added /Encoding (or /enc) argument - Specify different charset to be used (UTF8 by default) 123 | -Enhancement - Updated GUI to allow for /BodyTxt file selection and /Encoding field 124 | -Enhancement - Updated XML to hold /BodyTxt and /Encoding arguments 125 | 126 | 127 | Revision: v2.1.0.0 128 | ======================== 129 | -Enhancement - Added /BodyTxt (or /btxt) argument - specify a text file to be used as the message body. (%Param1% - %Param5% CAN be used in the text file and be replaced by arguments. 130 | 131 | 132 | Revision: v2.0.9.0 133 | ======================== 134 | -Enhancement - Added Exit Codes ('0' for success, '1' for error) for batch file use 135 | 136 | 137 | Revision: v2.0.8.0 138 | ======================== 139 | -Bug Fix- Fixed hang when running as scheduled task as different user 140 | 141 | 142 | Revision: v2.0.7.0 143 | ======================== 144 | -Added "Username" field - now you can specify a different "Username" other than the send from email address 145 | 146 | 147 | Revision: v2.0.6.0 148 | ======================== 149 | -Added "Reply To" field - now you can specify a different "Reply To" address 150 | 151 | 152 | Revision: v2.0.5.0 153 | ======================== 154 | -Removed Colon (:) and Equal sign (=) separator for CLI arguments - was causing issue when those characters were in the strings behind them. 155 | 156 | 157 | Revision: v2.0.4.0 158 | ======================== 159 | -Bug Fix - fixed /sub argument string changing to "true" when using the long CLI form. 160 | 161 | 162 | Revision: v2.0.3.0 163 | ======================== 164 | -Added option to Obscure password in XML file from the GUI 165 | 166 | 167 | Revision: v2.0.2.0 168 | ======================== 169 | -Added global variables %now%, %computername%, and %username% 170 | 171 | 172 | Revision: v2.0.1.0 173 | ======================== 174 | -Fixed error where CLI string would clear from clipboard when program closed 175 | 176 | 177 | Revision: v2.0 (Changes from v1.5) 178 | ======================== 179 | - Removed settings from saving "in-app" - now all settings are saved to an XML file, and the XML file is called from the command line 180 | - Added support for multiple file attachments - up to 4 in-app, unlimited** in XML file and in command line 181 | - Added support for generating CLI string for you, taking the guess work out of your arguments 182 | - Changed Usage screen to be slightly easier to read 183 | - Changed Settings screen to be tab-based, allowing for smaller screen, and more settings 184 | - Several other minor tweaks and enhancements 185 | 186 | 187 | ** "Unlimited" means that SwithMail will try to deliver all attachments - email providers may have limits not enforced by SwithMail - If that limit is exceeded, emails may fail to send. 188 | 189 | 190 | --------------------- 191 | Disclaimer: 192 | This software is provided by the copyright holder and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. 193 | 194 | --Basically, I am not responsible for the way this application is used, nor can I ensure that no damage will be caused by using this program. Don't use it to send SPAM. Please... that's not why I wrote it, and nobody likes SPAM! 195 | -------------------------------------------------------------------------------- /resources/stage_7_wrap-up/stage_7_wrap-up.bat: -------------------------------------------------------------------------------- 1 | :: Purpose: Sub-script containing all commands for Tron's Stage 7: Wrap-up stage. Called by tron.bat and returns control when finished 2 | :: Requirements: Administrator access 3 | :: Author: vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2 4 | :: Version: 1.0.5 + Add collection of AdwCleaner raw logs 5 | :: 1.0.4 - Remove post-run restore point creation, since there's really no point in creating it 6 | :: 1.0.3 / Change REMOVE_MALWAREBYTES switch to PRESERVE_MALWAREBYTES (-pmb) as the new default behavior is to remove it at the end of the run 7 | :: 1.0.2 + Add REMOVE_MALWAREBYTES (-rmb) switch to have Tron automatically remove Malwarebytes at the end of the run 8 | :: / Change the display output from disk space reclaimed calculation to assume GB's instead of MB's 9 | :: 1.0.1 ! Apply u/Paul_NZ's disk space calculation fix from prerun_checks_and_tasks.bat 10 | :: 1.0.0 + Initial break-out of code from tron.bat into discrete subscript 11 | @echo off 12 | 13 | 14 | ::::::::::::::::::::: 15 | :: PREP AND CHECKS :: 16 | ::::::::::::::::::::: 17 | set STAGE_7_SCRIPT_VERSION=1.0.5 18 | set STAGE_7_SCRIPT_DATE=2024-03-09 19 | 20 | :: Check for standalone vs. Tron execution and build the environment if running in standalone mode 21 | if /i "%LOGFILE%"=="" ( 22 | pushd "%~dp0" 23 | pushd .. 24 | 25 | :: Load the settings file 26 | call functions\tron_settings.bat 27 | 28 | :: Initialize the runtime environment 29 | call functions\initialize_environment.bat 30 | ) 31 | 32 | 33 | 34 | ::::::::::::::::::::::: 35 | :: STAGE 7: Wrap-up :: // Begin jobs 36 | ::::::::::::::::::::::: 37 | call functions\log_with_date.bat " stage_7_wrap-up begin..." 38 | 39 | 40 | :: JOB: Reset power settings to Windows defaults 41 | title Tron v%TRON_VERSION% [stage_7_wrap-up] [Reset power settings] 42 | if %PRESERVE_POWER_SCHEME%==yes ( 43 | call functions\log_with_date.bat "! PRESERVE_POWER_SCHEME (-p) set to "%PRESERVE_POWER_SCHEME%", skipping power settings reset." 44 | ) else ( 45 | call functions\log_with_date.bat " Resetting Windows power settings to defaults and re-enabling screensaver..." 46 | if %DRY_RUN%==no ( 47 | REM Check for Windows Server 2003 48 | if %WIN_VER_NUM% lss 6.0 %WINDIR%\system32\powercfg.exe /RestoreDefaultPolicies >NUL 2>&1 49 | REM Run commands for all other versions of Windows 50 | %WINDIR%\system32\powercfg.exe -restoredefaultschemes >NUL 2>&1 51 | ) 52 | call functions\log_with_date.bat " Done." 53 | ) 54 | 55 | 56 | :: JOB: Get post-Tron system state (installed programs, complete file list) and generate the summary logs 57 | title Tron v%TRON_VERSION% [stage_7_wrap-up] [Generate Summary Logs] 58 | call functions\log_with_date.bat " Calculating post-run results for summary logs..." 59 | if /i %DRY_RUN%==no ( 60 | :: Get list of installed programs 61 | stage_0_prep\log_tools\siv\siv32x.exe -save=[software]="%RAW_LOGS%\installed-programs-after.txt" 62 | :: Get list of all files 63 | stage_0_prep\log_tools\everything\everything.exe -create-filelist %RAW_LOGS%\filelist-after.txt %SystemDrive% 64 | 65 | REM Parse everything 66 | 67 | REM Step 1: Find FILES that were deleted and dump them to summary logs 68 | stage_0_prep\log_tools\comm\diff.exe --changed-group-format='%%^<' --unchanged-group-format='' %RAW_LOGS%\filelist-before.txt %RAW_LOGS%\filelist-after.txt | %FIND% /i /v "$RECYCLE" | %FIND% /i /v "AppData\" | %FIND% /i /v "ntuser.dat" | %find% /i /v "Filename,Size" | %find% /i /v "'''" > "%TEMP%\tron_diff_temp.txt" 69 | 70 | REM Strip out random one-apostrophe lines 71 | findstr /v /r "^'" "%TEMP%\tron_diff_temp.txt" > %SUMMARY_LOGS%\tron_removed_files.txt 72 | 73 | REM Step 2: Find PROGRAMS that were removed. This is super ugly and complicated, but lets us avoid bundling another external utility 74 | REM Compact the files by removing blank lines, stripping top 4 lines off file, then last two lines, then output to the final text file for comparison 75 | copy /y %RAW_LOGS%\installed-programs-before.txt %RAW_LOGS%\before.txt >NUL 76 | for /f "delims=" %%a in (%RAW_LOGS%\before.txt) do echo %%a>> %RAW_LOGS%\before1.txt 77 | more +3 %RAW_LOGS%\before1.txt >> %RAW_LOGS%\before2.txt 78 | %FINDSTR% /v /i "[==" %RAW_LOGS%\before2.txt > %RAW_LOGS%\installed-programs-before.txt 79 | 80 | REM AFTER: Compact the files by removing blank lines, stripping top 4 lines off file, then last two lines, then output to the final text file for comparison 81 | copy /y %RAW_LOGS%\installed-programs-after.txt %RAW_LOGS%\after.txt >NUL 82 | for /f "delims=" %%a in (%RAW_LOGS%\after.txt) do echo %%a>> %RAW_LOGS%\after1.txt 83 | more +3 %RAW_LOGS%\after1.txt >> %RAW_LOGS%\after2.txt 84 | %FINDSTR% /v /i "[==" %RAW_LOGS%\after2.txt > %RAW_LOGS%\installed-programs-after.txt 85 | 86 | REM Calculate differences, using GnuWin32 coreutil's comm.exe 87 | stage_0_prep\log_tools\comm\comm.exe -23 %RAW_LOGS%\installed-programs-before.txt %RAW_LOGS%\installed-programs-after.txt > %SUMMARY_LOGS%\tron_removed_programs.txt 88 | 89 | REM If the parsed file is the same as the original, we can assume nothing was removed, so just echo that into the file 90 | fc /b %RAW_LOGS%\installed-programs-before.txt %RAW_LOGS%\installed-programs-after.txt >NUL 91 | if %ERRORLEVEL%==0 echo No programs were removed.> %SUMMARY_LOGS%\tron_removed_programs.txt 92 | 93 | REM Cleanup 94 | del /f /q "%TEMP%\tron_diff_temp.txt" 2>NUL 95 | del /f /q %RAW_LOGS%\before*txt 2>NUL 96 | del /f /q %RAW_LOGS%\after*txt 2>NUL 97 | ) 98 | call functions\log_with_date.bat " Done. Summary logs are at "%SUMMARY_LOGS%\"" 99 | 100 | 101 | :: JOB: Collect misc logs and deposit them in the log folder 102 | title Tron v%TRON_VERSION% [stage_7_wrap-up] [Collect logs] 103 | call functions\log_with_date.bat " Saving misc logs to "%RAW_LOGS%\"..." 104 | if /i %DRY_RUN%==no ( 105 | if exist "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\logs" copy /Y "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\logs\*.xml" "%RAW_LOGS%\" >NUL 106 | if exist "%SystemDrive%\AdwCleaner\Logs" copy /Y "%SystemDrive%\AdwCleaner\Logs\*.txt" "%RAW_LOGS%\" >NUL 107 | if exist "%SystemDrive%\AdwCleaner" rmdir /s /q "%SystemDrive%\AdwCleaner" >NUL 108 | if exist "%LOGPATH%\mbam-log*" move /y "%LOGPATH%\mbam-log*" "%RAW_LOGS%\" 109 | if exist "%LOGPATH%\protection-log*" move /y "%LOGPATH%\protection-log*" "%RAW_LOGS%\" 110 | if exist "%LOGPATH%\jre*" move /y "%LOGPATH%\jre*" "%RAW_LOGS%\" 111 | ) 112 | call functions\log_with_date.bat " Done." 113 | 114 | 115 | :: JOB: Skip removal of Malwarebytes if requested 116 | title Tron v%TRON_VERSION% [stage_7_wrap-up] [Remove Malwarebytes] 117 | if %PRESERVE_MALWAREBYTES%==yes ( 118 | call functions\log_with_date.bat "! PRESERVE_MALWAREBYTES (-pmb) set to "%PRESERVE_MALWAREBYTES%", skipping removal." 119 | ) else ( 120 | call functions\log_with_date.bat " Uninstalling Malwarebytes..." 121 | if %DRY_RUN%==no ( 122 | if exist "%ProgramFiles%\Malwarebytes\Anti-Malware\unins000.exe" "%ProgramFiles%\Malwarebytes\Anti-Malware\unins000.exe" /verysilent /suppressmsgboxes /norestart >> "%LOGPATH%\%LOGFILE%" 2>&1 123 | if exist "%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\unins000.exe" "%ProgramFiles(x86)%\Malwarebytes\Anti-Malware\unins000.exe" /verysilent /suppressmsgboxes /norestart >> "%LOGPATH%\%LOGFILE%" 2>&1 124 | if exist "%ProgramFiles%\Malwarebytes Anti-Malware\" rmdir "%ProgramFiles%\Malwarebytes Anti-Malware\" /s /q >> "%LOGPATH%\%LOGFILE%" 2>&1 125 | if exist "%ProgramFiles(x86)%\Malwarebytes Anti-Malware\" rmdir "%ProgramFiles(x86)%\Malwarebytes Anti-Malware\" /s /q >> "%LOGPATH%\%LOGFILE%" 2>&1 126 | ) 127 | call functions\log_with_date.bat " Done." 128 | ) 129 | 130 | 131 | 132 | :: JOB: Calculate saved disk space 133 | title Tron v%TRON_VERSION% [stage_7_wrap-up] [Calculate saved disk space] 134 | for /f "tokens=2 delims=:(" %%a in ('fsutil volume diskfree %SystemDrive%') do set bytes=%%a 135 | set bytes=%bytes: =% 136 | 137 | :: Old method (broken in Win10 build 17763 (1809) and up) 138 | :: for /F "tokens=2 delims=:" %%a in ('fsutil volume diskfree %SystemDrive% ^| %FIND% /i "avail free"') do set bytes=%%a 139 | 140 | :: GB version of the calculation 141 | set /A FREE_SPACE_AFTER=%bytes:~0,-3%/1024*1000/1024/1024 142 | 143 | :: MB version of the calculation 144 | ::set /a FREE_SPACE_AFTER=%bytes:~0,-3%/1024*1000/1024 145 | 146 | :: Set the space for display 147 | set /a FREE_SPACE_SAVED=%FREE_SPACE_AFTER% - %FREE_SPACE_BEFORE% 148 | 149 | 150 | 151 | 152 | :: Stage complete 153 | call functions\log_with_date.bat " stage_7_wrap-up complete." 154 | -------------------------------------------------------------------------------- /resources/stage_8_custom_scripts/Tron will execute any bat file placed in this folder. Read this for instructions.txt: -------------------------------------------------------------------------------- 1 | Tron will execute ANY .bat file placed in this folder, and ignore everything else. If you want to use supporting batch files for your script, use .cmd extension instead of .bat. 2 | 3 | Use the -scs switch (SKIP_CUSTOM_SCRIPTS) to force Tron to skip custom scripts regardless whether or not they're present. 4 | -------------------------------------------------------------------------------- /tron_quotes.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Some of my favorite quotes about Tron. Negative first, positive at the bottom. 4 | 5 | 6 | # Negative 7 | 8 | I don't think you know what you are doing, which is dangerous. -- u/rfehr613 9 | 10 | Guys, this script is trash. -- u/smileymalaise 11 | 12 | Not all that fucked, but definitely a lot slower than it should have been. Now when I boot up it speedily informs me that no bootable partition can be found, so it's a lot faster. u/KennyFulgencio 13 | https://www.reddit.com/r/TronScript/comments/keezqx/how_fcked_up_was_computer_when_you_made_the_big/gg3qit4/ 14 | 15 | I have not seen a single post in the sub that says anything close to "Tron is working out as expected… " 16 | https://www.reddit.com/r/TronScript/comments/b3d4g9/tron_broke_win10_laptop_battery_slider/eiz9kxh/ 17 | 18 | Recently i could not resist and downloaded few things which seems affected my PC those were 1) Yourporn.com videos 2) few PDf adult comics. I don’t exactly know how my PC got infected. -- u/xxxfoodpunk 19 | 20 | The personal files were my 'Funtime' files if you catch my drift. I had created a folder maze in the random empty Intel folder in C:. -- u/Spiraticus 21 | 22 | This script is cargo cult bulls***. -- u/meandertothehorizon 23 | 24 | Tron is dangerous and I won't be silenced by the downvotes. -- u/meandertothehorizon 25 | 26 | Hahahahahaha -- u/meandertothehorizon 27 | 28 | 29 | # Positive 30 | 31 | I never saw a YouTube video about Tron. 32 | 33 | Tbh, I don't recall how I discovered this utility. It saved my skin at least once, even if there was no virus on the computer. :) -- u/KoldPurchase 34 | https://www.reddit.com/r/TronScript/comments/1f6pybz/read_the_damn_documentation/ll29glw/ 35 | 36 | Wow, just ran Tron on my system and I'm impressed! -- u/Thisispqs 37 | https://www.reddit.com/r/TronScript/comments/17y187g/wow_tron_script_sped_up_my_computer/ 38 | 39 | Firstly, holy shit this software works so flawlessly and thank you so much u/vocatus for creating such an awesome utility free of charge and keeping it open source. It is so nice to actually see all of the source code in git as well as all the various PRs and commits to see what this stuff is actually doing and how the community has helped it grow over the years! Especially in a time when so much shit is locked down to an endless degree. -- u/ManyITQuestions 40 | https://www.reddit.com/r/TronScript/comments/123opuf/ran_tron_again_last_night/ 41 | 42 | Tron rules. -- u/Automatic-Tea-9440 43 | https://www.reddit.com/r/TronScript/comments/keezqx/how_fcked_up_was_computer_when_you_made_the_big/gg30rbu/ 44 | 45 | Gotcha. From one nerd to what I presume to be another, thank you for everything you do. You are what's right in the world. Keep up the good work, you're beautiful, and remember we're all in this together ❤ -- u/saysthingsbackwards 46 | https://www.reddit.com/r/TronScript/comments/gqfmwu/tron_v1111_20200525_fix_pmb_switch_behavior/fvv4iin/ 47 | 48 | I’ve used this script A LOT over that last 4 years as part of my job. A customers SBS 2011 server was crypto’d last week. We did a file level restore over the top, removed the old files that were renamed, and ran Tron through it. Sucker works better than it did previously. Fantastic script /u/vocatus. Does the trick each and every time I run it. -- u/DrQuack32 49 | https://www.reddit.com/r/TronScript/comments/gop93w/on_a_positive_note/ 50 | 51 | Just wanted to thank you - everything finished running and my computer is so much faster than before now! Thanks! -- u/Mathematicalsguy 52 | https://www.reddit.com/r/TronScript/comments/7yf1v0/possible_issue_running_tron/duino3e/ 53 | 54 | My computer used to take a solid 10 mins to load after bootup, ran Tron for the first time and down to about 2-4 now. -- u/Mbusc1 55 | https://www.reddit.com/r/TronScript/comments/7sbkmd/my_computer_used_to_take_a_solid_10_mins_to_load/ 56 | 57 | As a user of Tronscript i'm damn happy with it. -- u/FuckingHateMath 58 | 59 | Oh my god this program has changed my life, my computer is finally bloat free and quick as a missile. -- u/Eledyssil 60 | 61 | Thanks to the developers as well, it picked my crawling laptop with SSD back to its glory. Even though there were no viruses. -- https://www.reddit.com/r/TronScript/comments/d613an/im_really_impressed/f0rodof/ 62 | 63 | This really fixed my computer up. It loads really fast and malwarebytes removed 4000 threats.I didn't know there were so many on the computer in the first place. RAM usage was brought way down which was why I used Tron in the first place The whole thing took like 10 ish hours to complete. The longest thing was defragmenting which was expected Thank you awesome developers! -- https://www.reddit.com/r/TronScript/comments/d613an/im_really_impressed/ 64 | 65 | I don't know where else to post this but I just want to thank everyone that is involved in helping around here. I just used tron script for the first time yesterday after I discovered a bunch of viruses on my computer. It saved all my family pictures, tons of work related stuff and not to mention hours and hours of work it would take to set everything back up if the only solution was to completely wipe out everything and start over. Lesson learned, I'm keeping everything backed up from now on. So... thank you guys! -- u/l0renerd 66 | 67 | Tron has worked for us. I've run it 4 or 5 times over the past 18 months or so across three different computers, no issues whatsoever. 68 | https://www.reddit.com/r/TronScript/comments/b3d4g9/tron_broke_win10_laptop_battery_slider/ej0ewck/ 69 | 70 | I use it as part of my field kit for the MSP I work for. Works each and every time over 200 uses 71 | https://www.reddit.com/r/TronScript/comments/b3d4g9/tron_broke_win10_laptop_battery_slider/eizo8d9/ 72 | 73 | It has for me. I had a recent hiccup with it, but it was the first in the few dozen or so times I have had to call upon it (not counting the time it completely obliterated a friend's laptop, but it was practically ruined anyway with one foot in the garbage, so I don't count hers). I will always rely upon TronScript as that "scorched earth" type of solution where I am trying to recover a severely gone system or setting up a new one that I have just freshly purchased. The next time I get a new computer and run it or need to build a system back from the ground up, I will post my utter satisfaction with this amazing utility. 74 | https://www.reddit.com/r/TronScript/comments/b3q2ex/tronscript_worked_great_for_me/ej3ai9x/ 75 | 76 | This sub is basically for troubleshooting, problem reporting etc, so that's why you only see posts about something not working. Like bad reviews on a restaurant, people who have an issue are the loudest. Tron works great in ~90% of situations in my experience. 77 | Cheers! 78 | https://www.reddit.com/r/TronScript/comments/b3q2ex/tronscript_worked_great_for_me/ejag7wk/ 79 | 80 | Thanks for the reply! It worked great in the end and I have noticed an improvement in my computers boot-up time and performance overall. Thanks so much for putting the work into creating the script for all of us. -- u/Hoarl 81 | https://www.reddit.com/r/TronScript/comments/8ridph/how_long_should_creating_restore_point_take/e0xxh3c/ 82 | 83 | hi u/vocatus thanks too for TRON. My girlfriends laptop was unusable and now it's been given a new lease of life. She is over the moon. Thanks for all your hard work -- u/bazpaul 84 | https://www.reddit.com/r/TronScript/comments/88r0po/thanks_easy_install_amazing_results/dwuhegj/?context=3 85 | 86 | Tron is easy to install, instructions easy to follow and my laptop start time to my desktop is done in seconds. Thanks for the help! -- u/Jmcalla 87 | https://www.reddit.com/r/TronScript/comments/88r0po/thanks_easy_install_amazing_results/ 88 | 89 | Creator, contributors, community members. Thanks a ton. Tron rocks. Running verbose with unicorn magic xD. 90 | This project is an inspiration. Great work from the script to the documentation to the engagement. All around 10 out of 10. -- u/Letstalkaboudit 91 | https://www.reddit.com/r/TronScript/comments/88ojd8/just_another_thankful_user/ 92 | 93 | Holy living sh** I did not realize this was the Tron Script guy. You are a professional above all other professionals. Thank you for your work. -- u/fetchingTurtle 94 | 95 | Vocatus, I just need to say that I've been using Tron since the beginning and I appreciate you keeping this up to date and not letting the project die out. It's saved me so much time. Being able to set and forget this to run overnight and come back to a functioning PC magically in the morning is the best feeling ever. I'm not into Bitcoin but if you have a PayPal account, you should post it. I'd definitely buy you a few beers. -- u/rm_11 96 | 97 | I was so close to reinstalling my operating system but I was lucky enough to come across a post that mentioned Tron and that it doesn't get enough love. I hadn't heard about Tron and at this point after trying in my mind EVERYTHING possible to rid my computer of whatever it was that was slowing it down, I figured nothing to lose. 98 | 99 | I wasn't sure at any point when running Tron that it was working or doing what it's supposed to do, but nonetheless it did work. I'm extremely grateful to those that have put time and effort into this program, it is phenomenal. Cheers to you. -- u/DocDraper 100 | https://www.reddit.com/r/TronScript/comments/45b4zs/tron_is_the_real_deal_thank_you/ 101 | 102 | This was my first time using the script and was amazed by all the functions it processes. Best part was my wifes comment, "Are you making her computer worse?! Whats all that random text!" -- u/xr1chardx 103 | https://www.reddit.com/r/TronScript/comments/453a3o/thank_you_for_your_hard_work/czuztrr 104 | 105 | I use Tron pretty frequently. I'm very grateful for all the effort you and everyone else have put into it. -- u/Ischemia24 106 | https://www.reddit.com/r/TronScript/comments/453a3o/thank_you_for_your_hard_work/czvxm13 107 | 108 | My elderly friend got hit by scammers and ended up installing a Trojan and over 300 other viruses. She was devastated and was considering buying a new Computer. I asked if I could keep the computer overnight to see if I could do anything and sure enough TronScript caught everything and then some. She is very pleased with her computer and couldn't be happier. -- u/xr1chardx 109 | https://www.reddit.com/r/TronScript/comments/453a3o/thank_you_for_your_hard_work/ 110 | 111 | No point in sugar coating it. I work at a tech department for a University. Last night, I just wasn't feeling it. I ran the Tron script on a computer, but wrote all the technician notes as if I had manually done each step. Completely fixed the computer's problems and gave me time to work on other projects. I won't do it for every machine, but I cannot thank the developers enough for putting this together. -- u/RoboTicks 112 | https://www.reddit.com/r/TronScript/comments/453a3o/thank_you_for_your_hard_work/czvauwn 113 | 114 | If I sucked dicks, you would be first in line. -- u/markevens 115 | 116 | I'm a sysadmin at a school and often get infected/broken computers in for rep. I tried this tool on a computer that didn't want to boot and it worked flawlessly! -- u/Freezingcow 117 | 118 | [The system] runs better after running Tron (back to booting in ~7 seconds like when originally built, compared to almost 20 sec it had slowed down to). Thanks again for everything! -- u/BroPaterno 119 | -------------------------------------------------------------------------------- /vocatus-public-key.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP PUBLIC KEY BLOCK----- 2 | Version: GnuPG v1.4.12 (MingW32) 3 | 4 | mQENBFJOxEoBCADCywsNyQm0GVfNARF2oprBq6ODakslfn99TrGAlvZe6tUj0bud 5 | iz1BBnQpcJEnzEHNF7F+rgER0vPvRlAknZ+8/dv73vYmahfbZTxnbv9LgCsUUN3u 6 | kvd0Q9IQ4RldvXyuUC3/XUbvHH0pmb0n1FlmCgPVM84mI+PZgbfiL+71SS0Kc3k1 7 | 6qofeV22LgrS7nlNCMHOUA0RkZ00z8eN7YANsjakFefdNTyPzfnzPvACkTPJPDAW 8 | 4hhtb1JMSHxskERwQh7EQuutisIxyFxREZwyAqYGvRVDalrJzgCcVMUEPzH3QpKo 9 | Lk6zylGWFUc2RSOVcLYaKNdPggOJ4iM3++/NABEBAAG0JVZvY2F0dXMgR2F0ZSA8 10 | dm9jYXR1cy5nYXRlQGdtYWlsLmNvbT6JATgEEwECACIFAlJOxEoCGyMGCwkIBwMC 11 | BhUIAgkKCwQWAgMBAh4BAheAAAoJEAfRSQ+CohGivR8IAKemXnpvANUN9byN93OL 12 | d/TvdMZeUSlpm/IZoamcPxFgrxx0PDOLAufi/bp1Y1v9K5oUhKxaJVgmeEnMUk9W 13 | svEJUbYjUca9BvL2QmswzLLx0kyiCd4I/5VrtK1VUN1z/LyRQR9g+FxN1VoKOQI2 14 | 5RnzL2IwJpndUSfdHdtzUMxw9Gy24eH2ZlcTY1CHSDkkaFI9EebLuN1N4hFjunO2 15 | 1wECsy3MF0NnQ2i7ng6plcJUNig1CqRUERYkj7HfsGNWhuNYImO1WQ68jcfMpozG 16 | eBj3ppglL2OxXU/wR8Jwcp8m3pAASbKZLzcNo6mYJ8fet3S+b/Z4kN3gk4sOou09 17 | FGiJARwEEgECAAYFAlJO4ZwACgkQrGoOVatt3boSIwf/RnB0+ITetJvl8nWUusw0 18 | BP8uarFawlwrCxEDO3MmYhDDxSOooDOlD7EJnEgXpQKALcfTZjdw4VV87z0a8QDQ 19 | ytJqaItAAjtip+aGfUGVN34WTtXHRDUWKP7ryGStLRNk71X0bXp4q2xqtPWP5dE1 20 | z1v+zA9GEW0w5m4VRldHfFzub7u+YmK2Cv3sU+gaLkfHQiLJJhcwkNr90mew4uVv 21 | VoKlVXQvQkaFuldMslgze2CVtGqnlsICBi0COGdd+bM0JcJh/DmzE+o93h9rUL7z 22 | KLLTzwJvsP9auSBG2fNumnYH9N9U0y636aNLbRsGcPaENIgOpbfVBNCy0yYXh7k1 23 | c7kBDQRSTsRKAQgApgDd40zu46yRDMySce2QJzc+CFiILAJqh/MtMadLB5klJL9V 24 | fWXLbmEuOMt7lIq1BLDU/j8/aOsM6Yjs5hYjVDM2iBERXfvU09az6zqartbvDVtG 25 | C60ibpD/bhHhTONEevjR3AEMqsXPaMVy117twSBic0HzvNKu5AAFhYpoM4/3X55I 26 | FxMxEneoOy9j+ifqpUulykeB3Jju91wA+Z5pXQElnbRzm0RH7TToyLD0ui4poCn+ 27 | u8koMrZ/mn+DhrN3NyhORx2DIY7XI0CNc06J6TSIWerzblYP8zcKUoboMkVgcKsN 28 | O7AQVjHrebCOc33G+oXwysvxI8FvDbbEkxPerwARAQABiQEfBBgBAgAJBQJSTsRK 29 | AhsMAAoJEAfRSQ+CohGiwDEH/34eAD8FuuzZ3/nH2Ri5ZavLr7ddbjaHJYa9+sn+ 30 | tPFt9izDEjRsbIVn3zM7blFaKfAToZo3cEPBiXgbrQkX42atzK0vFCDsHfbWVxuR 31 | v7zwUcHxuoTukTqXTij2Jn9bmBaue/L6SfkJ+MKwB0a67dsmd0nt0PgXRuJyJzJf 32 | R+vu53mFM47GbRC8kKCqoEvvSDyxJVst+3qKw79DFaMs00uPloDZkZcC4GlO0bxf 33 | p0XJl9C4yvxXXOm2n86+JBIJDgzxBpiH/qp7h9zzaVIce5EB9pXHOmXLxy65HlVr 34 | X0r4ZHiEShaL9yhifqpRqnXQxNANRFXYGAwQc0UFtqvW5GM= 35 | =+M+6 36 | -----END PGP PUBLIC KEY BLOCK----- 37 | --------------------------------------------------------------------------------