anchor.diff:  :: Purpose:       Purges Windows 7/8/8.1 telemetry
   :: Requirements:  Called from Tron script ( reddit.com/r/TronScript ) in Stage 4: Repair. Can also be run directly
   :: Author:        reddit.com/user/vocatus ( vocatus.gate@gmail.com ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.0.7-TRON ! Fix incorrectly named directory in pushd statement. Resolves error where Tron couldn't find the Windows Update blocker script. Thanks to /u/DrQuack32
  +:: Version:       1.0.8-TRON + Add log messages explaining each step in the process
  +::                1.0.7-TRON ! Fix incorrectly named directory in pushd statement. Resolves error where Tron couldn't find the Windows Update blocker script. Thanks to /u/DrQuack32
   ::                           * Simplify and clean up OS version detection
   ::                           ! Fix bug where script could mistakenly run on a Windows 10 system if manually executed
   ::                1.0.6-TRON + Add KB's 3112343, 3083324, 3083325, and 3065988. Thanks to /u/toomasmolder
  
positive.code: 	sc stop RemoteRegistry >> "%LOGPATH%\%LOGFILE%" 2>&1
  )
  
  
  ::::::::::::::::::::::::::::::::::::::::::::::::
  :: MISC
  :: Kill pending tracking reports
  if not exist %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\ mkdir %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\
  echo. > %ProgramData%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl 2>NUL
  echo y|cacls.exe "%programdata%\Microsoft\Diagnosis\ETLLogs\AutoLogger\AutoLogger-Diagtrack-Listener.etl" /d SYSTEM 2>NUL
  
  :: Disable telemetry via master registry key
  reg import disable_telemetry_registry_entries.reg >nul 2>&1
  regedit /S disable_telemetry_registry_entries.reg >nul 2>&1
  
negative.code: start "" /b /wait cscript.exe "block_windows_updates.vbs" 3058168 3046480 3044374 3035583 3022345 3021917 3015249 3014460 3012973 2990214 3139929 2977759 2976987 2976978 2952664 2922324 2902907 3112343 3083324 3083325
  popd
  
  call functions\log.bat "%CUR_DATE% %TIME%    Done."
  
  
  
  ::::::::::::::::::::::::::::::::::::::::::::::::
  :: SCHEDULED TASKS
  call functions\log.bat "%CUR_DATE% %TIME%    Removing telemetry-related scheduled tasks..."
  
  if "%VERBOSE%"=="yes" (
  	schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser"
  	schtasks /delete /F /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater"
  