anchor.diff:  :: Requirements:  1. Administrator access
   ::                2. Safe mode is strongly recommended (though not required)
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       7.2.0 + stage_2_de-bloat:metro:    Add modern_apps_to_target_by_name.ps1, called during Windows 10 metro de-bloat. Thanks to /u/danodemano
  +:: Version:       7.2.0 + stage_2_de-bloat:metro:    Add OEM_modern_apps_to_target_by_name.ps1, called during Windows 10 Metro de-bloat. Targets OEM-loaded Modern Apps. Thanks to /u/danodemano
   ::                      ! stage_4_telemetry:bugfix:  Fix incorrect ASCII hyphens on Modern App removal commands due to HTML copy-paste. Thanks to /u/cuddlychops06, /u/staticextasy, and /u/Chimaera12
   ::                      * stage_4_telemetry:updates: Add blocking ("hiding") of bad Windows Updates to prevent automatic re-installation. Thanks to /u/sofakingdead for suggestion
   ::                      + stage_4_telemetry:logging: Add missing logging support to Windows 10 telemetry cleanup, with support for -v (VERBOSE) flag
  
positive.code: if /i %RESUME_DETECTED%==yes (
  	:: Notify and jump
  	call :log "%CUR_DATE% %TIME% ! Incomplete run detected. Resuming at %RESUME_STAGE% using flags %RESUME_FLAGS%..."
  	:: Reset the RunOnce flag in case we get interrupted again. Disabled for now, just to resume-looping where we keep trying to resume
  	:: even if a reboot didn't happen
  	::reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >NUL
  	goto %RESUME_STAGE%
  
negative.code: :: EXECUTE JOBS ::
  ::::::::::::::::::
  :execute_jobs
  :: Add a RunOnce entry to relaunch Tron if it gets interrupted by a reboot. This is deleted at the end of the script if nothing went wrong
  if /i %DRY_RUN%==no reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" /t REG_SZ /d "%~dp0tron.bat %-resume" >nul 2>&1
  
  
  :: Last check to see if we're in autorun (-a) mode and NOT in Safe Mode. If true, reboot.
  if /i %AUTORUN%==yes (
  	if /i not "%SAFE_MODE%"=="yes" (
  		call :log "%CUR_DATE% %TIME% ! Autorun flag was used, but we're not in Safe Mode. Rebooting in 10 seconds."
  		if /i %DRY_RUN%==no ( 
  			bcdedit /set {default} safeboot network
  			shutdown -r -f -t 10
  			pause
  			exit
  		)
  	)
  )
  
  
  :: Make log file and directories if they don't already exist
  for %%D in ("%LOGPATH%","%QUARANTINE_PATH%","%BACKUPS%","%RAW_LOGS%","%SUMMARY_LOGS%") do (
      if not exist %%D mkdir %%D
  )
  
  