anchor.diff:  call :log Launch job 'Clear Windows Update cache'...
   if /i %DRY_RUN%==no (
   	:: Allow us to start the service in Safe Mode. Thanks to /u/GrizzlyWinter
  -	reg add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\WUAUSERV" /ve /t reg_sz /d Service /f 2>NUL
  -	net stop WUAUSERV >> "%LOGPATH%\%LOGFILE%"
  -	if exist %windir%\softwaredistribution\download rmdir /s /q %windir%\softwaredistribution\download >> "%LOGPATH%\%LOGFILE%"
  -	net start WUAUSERV >> "%LOGPATH%\%LOGFILE%"
  +	reg add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\WUAUSERV" /ve /t reg_sz /d Service /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  +	net stop WUAUSERV >> "%LOGPATH%\%LOGFILE%" 2>&1
  +	if exist %windir%\softwaredistribution\download rmdir /s /q %windir%\softwaredistribution\download >> "%LOGPATH%\%LOGFILE%" 2>&1
  +	net start WUAUSERV >> "%LOGPATH%\%LOGFILE%" 2>&1
   	)
   call :log Done.
   
  
positive.code: 	if /i not "%WIN_VER:~0,14%"=="Windows Server" (
  		call :log Attempting to create pre-run Restore Point ^(Vista and up only^)...
  		if /i %DRY_RUN%==no (
  			powershell "Checkpoint-Computer -Description 'TRON v%SCRIPT_VERSION%: Pre-run checkpoint' >nul 2>&1 | Out-Null"
  		)
  	)
  )
  call :log Done.
  
  
  :: JOB: Get pre-Tron system state (installed programs, complete file list). Thanks to /u/Reverent for building this section
  
negative.code: call :log Saving misc logs to "%LOGPATH%\tron_raw_logs\"
  if exist "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs" copy /Y "%ProgramData%\Sophos\Sophos Virus Removal Tool\Logs\*.l*" "%LOGPATH%\tron_raw_logs" >NUL
  if exist "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\Logs" copy /Y "%ProgramData%\Malwarebytes\Malwarebytes Anti-Malware\Logs\*.xml" "%LOGPATH%\tron_raw_logs" >NUL
  if exist "%LOGPATH%\mbam-log*" move /y "%LOGPATH%\mbam-log*" "%LOGPATH%\tron_raw_logs\"
  if exist "%LOGPATH%\Sophos*" move /y "%LOGPATH%\Sophos*" "%LOGPATH%\tron_raw_logs\"
  if exist "%LOGPATH%\protection-log*" move /y "%LOGPATH%\protection-log*" "%LOGPATH%\tron_raw_logs\"
  if exist "%LOGPATH%\jre*" move /y "%LOGPATH%\jre*" "%LOGPATH%\tron_raw_logs\"
  call :log Done.
  
  
  