anchor.diff:  ::route -f
   
   :: Run this command to clear persistent routes only, takes effect at reboot. This will undo all the below changes
  -::reg delete HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes /va /f
  +::%REG% delete HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes /va /f
   
   :: The reason we can't do this via firewall ACL entries or host file entries is because Windows maliciously ignores any rules blocking access to telemetry servers.
   :: Currently the only known solution is installing null-routes in the route table.
  
positive.code: ::                  - win10-unfu**k: https://github.com/dfkt/win10-unfuck
  ::                  - WindowsLies:   https://github.com/WindowsLies/BlockWindows
  ::                  - ... and many other places around the web
  :: Version:       1.2.2-TRON + Add additional XBox Live services to disable list
  ::                1.2.1-TRON + Add disabling of "show fun tips, tricks and hints" on the lock screen. Thanks to u/mikargibbros
  ::                1.2.0-TRON + Add disabling of registry keys AllowCortanaAboveLock and AllowSearchToUseLocation. Thanks to u/tylerwatt12
  ::                           ! Fix syntax error in DiagTrack service disabling. Thanks to u/KiranOtter
  
negative.code: :: PREP AND CHECKS ::
  :::::::::::::::::::::
  @echo off
  set SCRIPT_VERSION=1.2.3-TRON
  set SCRIPT_UPDATED=2018-07-03
  
  :: Populate dependent variables if we didn't inherit them from Tron (standalone execution)
  if /i "%LOGPATH%"=="" (
  	set LOGPATH=%SystemDrive%\Logs
  	set LOGFILE=windows_10_telemetry_removal.log
  	set VERBOSE=no
  	for /f "tokens=3*" %%i IN ('%REG% query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName ^| find "ProductName"') DO set WIN_VER=%%i %%j
  	for /f "tokens=3*" %%i IN ('%REG% query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion ^| find "CurrentVersion"') DO set WIN_VER_NUM=%%i
  )
  
  :: Make sure we're on Win10
  