anchor.diff:  ::                2. Safe mode is strongly recommended (though not required)
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
   :: Version:       8.7.1 * smartctl_check: Improve non-standard disk (SSD, error, Virtual Machine) detection code. Thanks to /u/ixnyne
  +::                      * smart_check:    Improve SMART disk check code. Thanks to /u/ixnyne
   ::
   :: Usage:         Run this script in Safe Mode as an Administrator, follow the prompts, and reboot when finished. That's it.
   ::
  
positive.code: 	color 0e
  	set WARNINGS_DETECTED=yes
  )
  :smart_check_complete
  
  
  :: PREP: If we're in Safe Mode, set the system to permanently boot into Safe Mode in case we get interrupted by a reboot
  
negative.code: 	bcdedit /deletevalue {current} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  	bcdedit /deletevalue {default} safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  	bcdedit /deletevalue safeboot >> "%LOGPATH%\%LOGFILE%" 2>nul
  	del /f /q %TEMP%\tron_smart_results.txt 2>NUL
  call functions\log.bat "%CUR_DATE% %TIME%    Done."
  
  
  