anchor.diff:  	REM Win7 and up only: Remove the cooldown timer (via reg command) and enable System Restore
   	if %WIN_VER_NUM% geq 6.1 (
   		if /i %DRY_RUN%==no (
  -			reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore" /t reg_dword /v SystemRestorePointCreationFrequency /d 0 /f >nul 2>&1
  +			%REG% add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore" /t reg_dword /v SystemRestorePointCreationFrequency /d 0 /f >nul 2>&1
   			powershell "Enable-ComputerRestore -Drive "%SystemDrive%" | Out-Null" >> "%LOGPATH%\%LOGFILE%" 2>&1
   		)
   	)
  
positive.code: call functions\log_with_date.bat "   Launch Job 'Set system clock via NTP'..."
  if /i %DRY_RUN%==no (
  	:: Make sure time service is started, also force us to allow starting it in Safe Mode
  	if %SAFE_MODE%==yes reg add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\w32time" /ve /t reg_sz /d Service /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  	sc config w32time start= auto >> "%LOGPATH%\%LOGFILE%" 2>&1
  	net stop w32time >> "%LOGPATH%\%LOGFILE%" 2>&1
  	w32tm /config /syncfromflags:manual /manualpeerlist:"2.pool.ntp.org,0x8 time.windows.com,0x8 time.nist.gov,0x8" >> "%LOGPATH%\%LOGFILE%" 2>&1
  
negative.code: 	call functions\log_with_date.bat "   Launch job 'Purge oldest Shadow Copy set (Win7 and up)'..."
  	if /i %DRY_RUN%==no (
  		:: Force allow us to start VSS service in Safe Mode
  		%REG% add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\VSS" /ve /t reg_sz /d Service /f >nul 2>&1
  		net start VSS >nul 2>&1
  		vssadmin delete shadows /for=%SystemDrive% /oldest /quiet >nul 2>&1
  	)
  