anchor.diff:  call :log "%CUR_DATE% %TIME%    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 ( 
  +if /i not %ERRORLEVEL%==0 (
   	call :log "%CUR_DATE% %TIME% !  Errors found on %SystemDrive%. Scheduling full chkdsk at next reboot."
   	if /i %DRY_RUN%==no fsutil dirty set %SystemDrive%
   ) else (
   	call :log "%CUR_DATE% %TIME%    No errors found on %SystemDrive%. Skipping full chkdsk at next reboot."
   	)
   call :log "%CUR_DATE% %TIME%    Done."
  +
  +
  +:: JOB: Remove telemetry-related (user tracking) Windows Updates
  +title TRON v%SCRIPT_VERSION% [stage_4_repair] [telemetry]
  +call :log "%CUR_DATE% %TIME%    Launch job 'Purge telemetry updates'..."
  +call :log "%CUR_DATE% %TIME%    Removing telemetry-related Windows Updates"
  +:: Run a read-only scan and look for errors. Schedule a scan at next reboot if errors found
  +if /i %DRY_RUN%==no (
  +	:: Compatibility update for Windows 7
  +	wusa /uninstall /kb:2952664 /quiet /norestart
  +
  +	:: Compatibility update for Windows 8.1 and Windows 8
  +	wusa /uninstall /kb:2976978 /quiet /norestart
  +
  +	:: Update that enables you to upgrade from Windows 7 to a later version of Windows
  +	wusa /uninstall /kb:2990214 /quiet /norestart
  +
  +	:: Customer Experience and Diagnostic Telemetry-related updates
  +	wusa /uninstall /kb:3022345 /quiet /norestart
  +	wusa /uninstall /kb:3068708 /quiet /norestart
  +	wusa /uninstall /kb:3080149 /quiet /norestart
  +	wusa /uninstall /kb:3021917 /quiet /norestart
  +
  +	:: Adds telemetry points to consent.exe in Windows 8.1 and Windows 7
  +	wusa /uninstall /kb:3075249 /quiet /norestart
  +
  +	:: "Get Windows 10" nagger in Windows 8.1 and Windows 7 SP1
  +	wusa /uninstall /kb:3035583 /quiet /norestart
  +
  +	:: Enable upgrade from Windows 8.1 to Windows 10
  +	wusa /uninstall /kb:3044374 /quiet /norestart
  +	
  +	:: Description of the update for Windows Activation Technologies
  +	wusa /uninstall /kb:971033 /quiet /norestart
  +	
  +	:: Kill the Diagnostic Tracking service
  +	sc stop Diagtrack >nul 2>&1
  +	sc delete Diagtrack >nul 2>&1
  +	
  +)
  +call :log "%CUR_DATE% %TIME%    Done."
  +
   
   
   call :log "%CUR_DATE% %TIME%   stage_4_repair jobs complete."
  
positive.code: ::                      -d   Dry run (run through script without executing any jobs)
  ::                      -e   Accept EULA (suppress disclaimer warning screen)
  ::                      -er  Email a report when finished. Requires you to configure SwithMailSettings.xml
  ::                      -gsl Generate summary logs. These list exactly what files and programs were removed
  ::                      -h   Display help text
  ::                      -m   Preserve OEM Metro apps (don't remove them)
  ::                      -np  Skip the pause at the end of script
  
negative.code: 	call :log "%CUR_DATE% %TIME%    Running DISM cleanup against unused App binaries..."
  	:: Thanks to reddit.com/user/nommaddave
  	if /i %DRY_RUN%==no Dism /Online /Cleanup-Image /StartComponentCleanup /Logpath:"%LOGPATH%\tron_dism.log"
  	call :log "%CUR_DATE% %TIME%    Done."
  )
  
  
  