anchor.diff:  call functions\log_with_date.bat "  stage_2_de-bloat complete."
   
   :: pause if we're doing standalone execution
  -if %STANDALONE%==yes pause+if %STANDALONE%==yes pause
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_2_SCRIPT_VERSION=1.4.5
  set STAGE_2_SCRIPT_DATE=2019-03-09
  :: Check for standalone vs. Tron execution and build the environment if running in standalone mode
  set STANDALONE=no
  if /i "%LOGFILE%"=="" (
  
negative.code: 	rmdir /s /q "%LocalAppData%\Microsoft\OneDrive" >> "%LOGPATH%\%LOGFILE%" 2>&1
  	rmdir /s /q "%ProgramData%\Microsoft OneDrive" >> "%LOGPATH%\%LOGFILE%" 2>&1
  	rmdir /s /q "%SystemDrive%\OneDriveTemp" >> "%LOGPATH%\%LOGFILE%" 2>&1
  	
  	REM SkyDrive (former OneDrive name)
  	%REG% add "HKLM\software\policies\microsoft\windows\skydrive" /v "disablefilesync" /t REG_DWORD /d "1" /f
  	
  	REM Kill OneDrive from hooking into Explorer even when disabled
  	%REG% add "HKCR\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f
  	%REG% add "HKCR\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f
  	
  	:: Use Microsoft/Sysinternals movefile if access was denied in the previous 3 commands
  	if /i not %ERRORLEVEL%==0 (
  		stage_2_de-bloat\movefile\movefile.exe "%LocalAppData%\Microsoft\OneDrive" "" /accepteula >> "%LOGPATH%\%LOGFILE%" 2>&1
  