anchor.diff:  ::                  - win10-unfu**k: https://github.com/dfkt/win10-unfuck
   ::                  - WindowsLies:   https://github.com/WindowsLies/BlockWindows
   ::                  - ... and many other places around the web
  -:: Version:       1.1.9-TRON * Update Spybot Anti-Beacon to v1.6.0.42
  +:: Version:       1.2.0-TRON + Add disabling of registry keys AllowCortanaAboveLock and AllowSearchToUseLocation. Thanks to /u/tylerwatt12
  +::                             thread: https://www.reddit.com/r/sysadmin/comments/777vt2/the_windows_fall_creators_update_has_been/
  +::                1.1.9-TRON * Update Spybot Anti-Beacon to v1.6.0.42
   ::                1.1.8-TRON + Add registry keys to disable Cortana and Web Search from Start Menu globally. Thanks to /u/TootZoot and /u/Falkerz
   ::                1.1.7-TRON + Add job "OandOShutUp10." Tron now automatically applies all immunizations from OandOShutUp10
   ::                1.1.6-TRON ! Fix broken path on setacl.exe call. Thanks to /u/Seascan
  
positive.code: :: PREP AND CHECKS ::
  :::::::::::::::::::::
  @echo off
  set SCRIPT_VERSION=1.1.9-TRON
  set SCRIPT_UPDATED=2017-05-14
  
  :: Populate dependent variables if we didn't inherit them from Tron (standalone execution)
  if /i "%LOGPATH%"=="" (
  
negative.code: 	
  	REM Disable Cortana globally
  	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortanaAboveLock" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  	%windir%\system32\reg.exe add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowSearchToUseLocation" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  
  	REM Disable "Search online and include web results"
  	%windir%\system32\reg.exe add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v "BingSearchEnabled" /t REG_DWORD /d "0" /f >> "%LOGPATH%\%LOGFILE%" 2>&1
  