anchor.diff:  
       :lsa_bad
       echo %_PREFIX% ERROR: Don't know how to handle Authentication Packages value of %_AP_VALUE%
  -    exit /b 1
  -goto :eof
  +exit /b 1
  +
   
   :stop_services
       echo %_PREFIX% Stopping Cygwin services
       for /f "usebackq" %%s in (`%_ROOTDIR%\bin\cygrunsrv.exe --list`) do %_ROOTDIR%\bin\cygrunsrv --stop %%s
   goto :eof
   
  +
  +:check_for_cygwin_proc
  +    rem Check for any Cygwin processes.
  +    echo %_PREFIX% Checking for running Cygwin processes
  +    if not exist "%_ROOTDIR%\bin\ps.exe" exit /b 0
  +    set _TEMPFILE=%TEMP%\cygwin_setup.txt
  +    :retry
  +        "%_ROOTDIR%\bin\ps.exe" -l | findstr /v /c:"/usr/bin/ps" > %_TEMPFILE%
  +        findstr /v /r /c:"PID.*COMMAND" %_TEMPFILE% | findstr /r /c:"^..*" > NUL:
  +        if ERRORLEVEL 1 goto :ignore
  +        echo %_PREFIX% Found running Cygwin processes
  +        type %_TEMPFILE%
  +        del %_TEMPFILE%
  +        :ask_abort_retry_ignore
  +            set /p _ANSWER=Abort, Retry, or Ignore?
  +            set _ANSWER=%_ANSWER:~0,1%
  +            if "%_ANSWER%" == "a" exit /b 1
  +            if "%_ANSWER%" == "A" exit /b 1
  +            if "%_ANSWER%" == "r" goto :retry
  +            if "%_ANSWER%" == "R" goto :retry
  +            if "%_ANSWER%" == "i" goto :ignore
  +            if "%_ANSWER%" == "I" goto :ignore
  +        goto :ask_abort_retry_ignore
  +    :ignore
  +exit /b 0
  +
  +
   :remove_services
       echo %_PREFIX% Removing Cygwin services
       for /f "usebackq" %%s in (`%_ROOTDIR%\bin\cygrunsrv.exe --list`) do %_ROOTDIR%\bin\cygrunsrv --remove %%s
   goto :eof
  +
   
   :clean_registry
       echo %_PREFIX% Removing Software\Cygwin from registry
  
positive.code:     reg delete HKCU\Software\Cygwin /va /f > NUL: 2>&1
  goto :eof
  
  :remove_cygwin_dir
      echo %_PREFIX% Removing %_ROOTDIR%
      rd /s /q %_ROOTDIR%
  goto :eof
  
  :remove_shortcuts
      echo %_PREFIX% Remove Cygwin shell shortcuts from Desktop and Start menu!
  goto :eof
  
  :remove_local_users
      echo %_PREFIX% Remove sshd and cyg_server local users!
  goto :eof
  
  :main
      call :check_rootdir ||exit /b 1
      call :check_admin ||exit /b 1
      call :uninstall_lsa ||exit /b 1
      call :stop_services ||exit /b 1
      call :remove_services ||exit /b 1
      call :clean_registry ||exit /b 1
      call :remove_cygwin_dir ||exit /b 1
      call :remove_shortcuts ||exit /b 1
      call :remove_local_users ||exit /b 1
  
negative.code:         echo %_PREFIX% ERROR: ROOTDIR "%_ROOTDIR%" does not appear to be a Cygwin directory.
          exit /b 1
      :endif_cygwin_ico
  exit /b 0
  
  
  :check_admin
      rem Check for ADMIN privileges
  