anchor.diff:  				reg add "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t reg_dword /d 0 /f >> "%LOGPATH%\%LOGFILE%" 2>&1
   				reg add "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v System.IsPinnedToNameSpaceTree /t reg_dword /d 0 /f >> "%LOGPATH%\%LOGFILE%" 2>&1
   			)
  -		call functions\log.bat "%CUR_DATE% %TIME%   Done."
  +		call functions\log.bat "%CUR_DATE% %TIME%    Done."
   	)
   )
   :skip_onedrive_removal
  
positive.code: ::                2. Safe mode is strongly recommended (though not required)
  ::                3. Called from tron.bat. If you try to run this script directly it will error out
  :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  :: Version:       1.1.3 ! Safe Mode: Fix MSIServer service not starting in Safe Mode, which prevented removal of most "classic" programs. Thanks to https://github.com/Verteiron
  ::                1.1.2 * Metro: Add missing log message about use of -m switch
  ::                      ! OneDrive: Add missing check to skip actions if DRY_RUN (-d) switch is used
  ::                1.1.1 / OneDrive: Move code out of Metro debloat section into its own job
  
negative.code: 		)
  
  	call functions\log.bat "%CUR_DATE% %TIME%    Checking if OneDrive is in use, please wait..."
  	for /F %%i in ('dir /b "%USERPROFILE%\OneDrive\*.*" 2^>nul') do (
  		call functions\log.bat "%CUR_DATE% %TIME% !  OneDrive appears to be in use. Skipping removal."
  		goto skip_onedrive_removal
  	)
  