anchor.diff:  echo %CUR_DATE% %TIME%   Launching stage_4_patch jobs...>> "%LOGPATH%\%LOGFILE%"
   echo %CUR_DATE% %TIME%   Launching stage_4_patch jobs...
   
  +
   :: Prep task: enable MSI installer in Safe Mode
   if "%DRY_RUN%"=="no" (
   	reg add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\MSIServer" /ve /t reg_sz /d Service /f
  
positive.code: echo %CUR_DATE% %TIME%    Launching job 'Install Windows updates'...
  pushd windows_updates
  if "%DRY_RUN%"=="no" wuauclt /detectnow /updatenow
  popd
  echo %CUR_DATE% %TIME%    Done.>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    Done.
  
negative.code: 	)
  )
  
  :::::::::::::::::::::::
  :: DISK HEALTH CHECK ::
  :::::::::::::::::::::::
  :: Detect if the system drive is likely to be failing (via SMART check) and warn user if so.
  :: Thanks to reddit.com/user/cuddlychops06
  pushd resources\stage_5_optimize\defrag
  setlocal enabledelayedexpansion
  for /f "tokens=1" %%i in ('smartctl --scan') do (
  	smartctl -H %%i
  	cls
  	if not "!ERRORLEVEL!"=="0" (
  		color 0c
  		set CHOICE=n
  		echo.
  		echo  WARNING:
  		echo.
  		echo  SMART disk health check failed for %%i (likely failing).
  		echo  Tron is disk-intensive and running it could cause an 
  		echo  unstable disk to fail.
  		echo.
  		set /P CHOICE= Do you want to continue? [y/N]: 
  		if not !CHOICE!==y exit /B 1
  		if !CHOICE!==y set DISK_HEALTH_CHECK_FAILED=yes&& goto disk_health_check_end
  		echo.
  		)
  		
  	)
  :disk_health_check_end
  endlocal disabledelayedexpansion
  popd
  
  ::::::::::::::::::
  :: EXECUTE JOBS ::
  ::::::::::::::::::
  