anchor.diff:  :: Populate what stage we were on as well as what CLI flags were used. This could probably be a single IF block but I got lazy
   :: trying to figure out all the annoying variable expansion parsing stuff. Oh well
   if /i %RESUME_DETECTED%==yes (
  +
   	:: Quick check for a faulty resume detection
   	if not exist tron_stage.txt (
   		reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /f /v "tron_resume" >nul 2>&1
  
positive.code: 	goto %RESUME_STAGE%
  )
  
  	
  :: PREP: Re-enable the standard "F8" key functionality for choosing bootup options (Microsoft disables it by default starting in Windows 8 and up)
  :: Read WIN_VER and run the scan if we're on some derivative of 8. We don't need to check for Server 2012 because it's set to "legacy" by default.
  :detect_win_ver
  
negative.code: )
  
  
  :: JOB: Reset power settings to Windows defaults
  if %DRY_RUN%==no (
  title TRON v%SCRIPT_VERSION% [stage_7_wrap-up] [Reset power settings]
  	if "%PRESERVE_POWER_SCHEME%"=="yes" (
  		call :log "%CUR_DATE% %TIME%    PRESERVE_POWER_SCHEME ^(-p^) set to "%PRESERVE_POWER_SCHEME%", not resetting Windows power settings to default."
  	) else (
  		call :log "%CUR_DATE% %TIME%    Resetting Windows power settings to defaults and re-enabling screensaver..."
  		REM Check for Windows XP/2k3
  		if /i "%WIN_VER:~0,9%"=="Microsoft" %WINDIR%\system32\powercfg.exe /RestoreDefaultPolicies >NUL 2>&1
  		REM Run commands for all other versions of Windows
  		%WINDIR%\system32\powercfg.exe -restoredefaultschemes >NUL 2>&1
  		REM Shut down Caffeine which has kept the system awake during the Tron run
  		stage_0_prep\caffeine\caffeine.exe -appexit
  	)
  	call :log "%CUR_DATE% %TIME%    Done."
  )
  
  
  :: JOB: If selected, get post-Tron system state (installed programs, complete file list) and generate the summary logs
  