anchor.diff:  
   :skip_dism_image_check
   call functions\log.bat "%CUR_DATE% %TIME%    Done."
  -
  -
  -:: JOB: Reset registry permissions
  -title Tron v%SCRIPT_VERSION% [stage_4_repair] [Reset registry permissions]
  -if /i %SKIP_REGPERMS_RESET%==no (
  -	call functions\log.bat "%CUR_DATE% %TIME%    Resetting registry permissions..."
  -	call functions\log.bat "%CUR_DATE% %TIME%    THIS CAN TAKE A LONG TIME - BE PATIENT"
  -	if /i %DRY_RUN%==no call "stage_4_repair\reset_registry_and_file_permissions\reset_registry_permissions.bat"
  -	call functions\log.bat "%CUR_DATE% %TIME%    Done."
  -) else (
  -	call functions\log.bat "%CUR_DATE% %TIME% !  SKIP_REGPERMS_RESET (-srr) set. Skipping registry and file permissions reset"
  -)
  -
  -
  -:: JOB: Reset filesystem permissions
  -title Tron v%SCRIPT_VERSION% [stage_4_repair] [Reset filesystem permissions]
  -if /i %SKIP_FILEPERMS_RESET%==no (
  -	call functions\log.bat "%CUR_DATE% %TIME%    Resetting filesystem permissions in the Windows system directory..."
  -	call functions\log.bat "%CUR_DATE% %TIME%    THIS CAN TAKE A LONG TIME - BE PATIENT"
  -	if /i %DRY_RUN%==no call "stage_4_repair\reset_registry_and_file_permissions\reset_filesystem_permissions.bat"
  -	call functions\log.bat "%CUR_DATE% %TIME%    Done."
  -) else (
  -	call functions\log.bat "%CUR_DATE% %TIME% !  SKIP_FILEPERMS_RESET (-sfr) set. Skipping registry and file permissions reset"
  -)
   
   
   :: JOB: System File Checker (SFC) scan
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_4_SCRIPT_VERSION=1.1.1
  set STAGE_4_SCRIPT_DATE=2016-10-03
  
  :: Quick check to see if we inherited the appropriate variables from Tron.bat
  if /i "%LOGFILE%"=="" (
  
negative.code: 
  
  :: JOB: Remove Microsoft telemetry (user tracking)
  title Tron v%SCRIPT_VERSION% [stage_4_repair] [disable MS telemetry]
  if /i %SKIP_TELEMETRY_REMOVAL%==yes (
  	call functions\log.bat "%CUR_DATE% %TIME% !  SKIP_TELEMETRY_REMOVAL (-str) set. Disabling instead of removing."
  	REM Only disable telemetry, don't completely purge it
  