anchor.diff:  )
   
   :: AV scans finished
  -call :log "%CUR_DATE% %TIME%    Done."
   :skip_antivirus_scans
  -
   call :log "%CUR_DATE% %TIME%   stage_3_disinfect jobs complete."
   
   :: Since this whole section takes a long time to run, set the date again in case we crossed over midnight during the scans
  
positive.code: 	if /i %DRY_RUN%==no %WMIC% computersystem where name="%computername%" set AutomaticManagedPagefile=True >> "%LOGPATH%\%LOGFILE%" 2>&1
  	call :log "%CUR_DATE% %TIME%    Done."
  ) else (
  	call :log "%CUR_DATE% %TIME% !  SKIP_PAGEFILE_RESET ^(-spr^) set. Skipping page file reset"
  )
  
  
  :: Check if we are supposed to run a defrag before doing the section below
  if "%SKIP_DEFRAG%"=="yes" (
  	call :log "%CUR_DATE% %TIME%    SKIP_DEFRAG ^(-sd^) set. Skipping defrag."
  	call :log "%CUR_DATE% %TIME%   stage_6_optimize jobs complete."
  	goto stage_7_wrap-up
  	)
  
negative.code: if /i %SKIP_REGPERMS_RESET%==no (
  	call :log "%CUR_DATE% %TIME%    Resetting registry permissions..."
  	call :log "%CUR_DATE% %TIME%    THIS WILL TAKE A WHILE - BE PATIENT"
  	call :log "%CUR_DATE% %TIME%    You can ignore errors here. Raw logs saved to "%RAW_LOGS%\""
  	if /i %DRY_RUN%==no call "stage_4_repair\reset_registry_and_file_permissions\reset_registry_permissions.bat"
  	call :log "%CUR_DATE% %TIME%    Done."
  ) else (
  	call :log "%CUR_DATE% %TIME% !  SKIP_REGPERMS_RESET (-srr) set. Skipping registry and file permissions reset"
  )
  
  
  