anchor.diff:  :: Requirements:  1. Administrator access
   ::                2. Safe mode is recommended but not required
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.2.2 * script: Update script to support standalone execution
  +:: Version:       1.2.3 * Update date/time logging functions to use new log_with_date.bat. Thanks to /u/DudeManFoo for suggestion
  +::                1.2.2 * script: Update script to support standalone execution
   ::                1.2.1 + Add job 'Disable NVIDIA telemetry.' Thanks /u/TootZoot
   ::                1.2.0 - Remove job "Reset Filesystem permissions" and associated files
   ::                      - Remove job "Reset Registry permissions" and associated files
  
positive.code: :: JOB: Disable Windows 10 Upgrade (Win7/8/8.1 only)
  :: Just re-use the temp variable from the above job since it will tell us whether we're on 7 or 8
  if /i "%RUN_7_OR_8_TELEM%"=="yes" (
  	call functions\log.bat "%CUR_DATE% %TIME%    Launch job 'Disable Windows 10 Upgrade nagger (Win7/8/8.1)'..."
  	if /i %DRY_RUN%==no ( 
  		REM Only disable telemetry, don't completely purge it
  		REM "DisableOSUpgrade" disables/hides the taskbar app to prevent users from making a reservation and upgrading manually
  
negative.code: 		%SystemRoot%\System32\findstr.exe /c:"[SR]" %SystemRoot%\logs\cbs\cbs.log>> "%LOGPATH%\%LOGFILE%" 2>NUL
  	)
  )
  call functions\log.bat "    Done."
  
  
  :: JOB: chkdsk the system drive
  title Tron v%TRON_VERSION% [stage_4_repair] [chkdsk]
  call functions\log.bat "    Launch job 'chkdsk'..."
  call functions\log.bat "    Checking %SystemDrive% for errors..."
  :: Run a read-only scan and look for errors. Schedule a scan at next reboot if errors found
  if /i %DRY_RUN%==no %SystemRoot%\System32\chkdsk.exe %SystemDrive%
  if /i not %ERRORLEVEL%==0 (
  	call functions\log.bat " !  Errors found on %SystemDrive%. Scheduling full chkdsk at next reboot."
  	if /i %DRY_RUN%==no fsutil dirty set %SystemDrive%
  ) else (
  	call functions\log.bat "    No errors found on %SystemDrive%. Skipping full chkdsk at next reboot."
  )
  call functions\log.bat "    Done."
  
  
  :: JOB: Remove Microsoft telemetry (user tracking)
  title Tron v%TRON_VERSION% [stage_4_repair] [disable MS telemetry]
  if /i %SKIP_TELEMETRY_REMOVAL%==yes (
  	call functions\log.bat " !  SKIP_TELEMETRY_REMOVAL (-str) set. Disabling instead of removing."
  	REM Only disable telemetry, don't completely purge it
  	if %VERBOSE%==yes (
  		REM GPO options to disable telemetry
  