anchor.diff:  )
   
   
  -:: JOB: If selected, import original power settings, re-activate them, and delete the backup
  -:: Otherwise, just reset power settings back to their defaults
  -if "%PRESERVE_POWER_SCHEME%"=="yes" (
  -	title TRON v%SCRIPT_VERSION% [stage_7_wrap-up] [Restore power scheme]
  -	call :log "%CUR_DATE% %TIME%    Restoring power settings to previous values..."
  -	REM Check for Windows XP/2k3
  -	if /i "%WIN_VER:~0,9%"=="Microsoft" (
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe /import "%POWER_SCHEME%" /file "%BACKUPS%\tron_power_config_backup.pow"
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe /setactive "%POWER_SCHEME%"
  +:: 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 (
  -	REM Run commands for all other versions of Windows
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe /import "%BACKUPS%\tron_power_config_backup.pow" %POWER_SCHEME% 2>NUL
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe /setactive %POWER_SCHEME%
  -	)
  -	del /f /q %BACKUPS%\tron_power_config_backup.pow 2>NUL
  -) else (
  -	call :log "%CUR_DATE% %TIME%    Resetting Windows power settings to defaults..."
  -	REM Check for Windows XP/2k3
  -	if /i "%WIN_VER:~0,9%"=="Microsoft" (
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe /RestoreDefaultPolicies >NUL 2>&1
  -	) else (
  -	REM Run commands for all other versions of Windows
  -		if /i %DRY_RUN%==no %WINDIR%\system32\powercfg.exe -restoredefaultschemes
  +		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: Re-enable the screen saver
  -call :log "%CUR_DATE% %TIME%    Re-enabling screensaver..."
  -reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 1 /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  -call :log "%CUR_DATE% %TIME%    Done."
   
   
   :: JOB: If selected, get post-Tron system state (installed programs, complete file list) and generate the summary logs
  
positive.code: :: 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:       6.5.0 ! stage_0_prep:rkill:            Fix missing quotes to escape directory path in rkill whitelist argument. Thanks to /u/Rumble_Humble
  ::                      ! stage_3_disinfect:roguekiller: Fix for RogueKiller, removed unecessary trailing "remove" word on the command. BIG thanks to /u/khaosnmt
  ::                      + stage_7_wrap-up:loki:          Add LOKI post-run scanner. Does not disinfect, but gives indication of how clean the system is. Use -sl flag or associated SKIP_LOKI_SCAN variable to skip this
  ::                      
  :: Usage:         Run this script in Safe Mode as an Administrator and reboot when finished. That's it.
  ::
  
negative.code: )
  
  
  :: JOB: Disable mode and disable screen saver
  if /i %DRY_RUN%==no (
  		call :log "%CUR_DATE% %TIME%    Disabling sleep and screensaver temporarily..."
  		title TRON v%SCRIPT_VERSION% [stage_0_prep] [DisableSleepandScreensaver]
  		stage_0_prep\caffeine\caffeine.exe -noicon
  		call :log "%CUR_DATE% %TIME%    Done."
  )
  
  
  :: JOB: ProcessKiller
  