anchor.diff:  
   
   :uninstall_lsa
  -    echo %_PREFIX% Checking if cyglsa is hooked into OS
  +    rem Return 1 if problems encountered when uninstalling cyglsa, 0 otherwise.
  +    echo %_PREFIX% Checking if cyglsa is hooked into OS...
       reg query HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v "Authentication Packages" | findstr cyglsa > NUL:
       if %ERRORLEVEL% NEQ 0 exit /b 0
   
  -    echo %_PREFIX% Checking for sane Authentication Packages value
  +    echo %_PREFIX% Checking for sane Authentication Packages value...
       for /f "usebackq tokens=4-9" %%f in (`reg query HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v "Authentication Packages"`) do set _AP_VALUE=%%f
       set _AP_VALUEQ=%_AP_VALUE:\0=?%
       for /f "usebackq delims=? tokens=1,2,3" %%f in ('%_AP_VALUEQ%') do (
  
positive.code: rem Uninstall Cygwin.
  rem See http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all
  rem
  rem Copyright (c) 2012 Tom Schutter
  rem All rights reserved.
  rem
  rem Redistribution and use in source and binary forms, with or without
  
negative.code: 
  
  :check_admin
      rem Check for ADMIN privileges.  Return 1 if script is not being
      rem run as Administrator, 0 if it is.
      rem https://sites.google.com/site/eneerge/home/BatchGotAdmin
  
      echo %_PREFIX% Checking for Administrator privileges...
      >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
      if "%ERRORLEVEL%" EQU "0" goto :endif_check_admin
          echo %_PREFIX% ERROR: You do not have Administrator privileges
  