anchor.diff:  REM 1. Restart WinMgmts and all dependendency services
   REM 2. Verify / Salvage / Reset Repository and restart services
   REM 3. Rebuild WMI Repository and restart services
  -REM
  +
   
   set LERR=0
   set ATTEMPT=0
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set SCRIPT_VERSION=1.0.0
  set SCRIPT_UPDATED=2015-09-28
  
  @echo OFF
  REM Test and attempt repair of WMI
  
negative.code: set ATTEMPT=1
  set LERR=1001
  echo 1. RESTARTING WMI... ATTEMPT:%ATTEMPT%...&
  for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 1. RESTARTING WMI... Stopping "%%a"...& net stop "%%a" /y> nul
  echo 1. RESTARTING WMI... Stopping WinMgmt& net stop winmgmt /y> nul& sc stop winmgmt> nul
  ping 127.0.0.1 -n 5
  echo 1. RESTARTING WMI... Starting WinMgmt& sc start winmgmt> nul
  for /f "tokens=2 delims= " %%a in ('sc enumdepend winmgmt^| findstr -i "SERVICE_NAME"') do echo 1. RESTARTING WMI... Starting "%%a"...& sc start "%%a"> nul
  GOTO BEGINCHK
  
  
  