anchor.diff:  goto exit
   
   :warnthenexit
  -echo Machine undetermined.
  -call :copylogs
  -call :vp_setupapicopy
  +echo  Windows version undetermined.
  +call :copylogs
  +call :vp_setupapicopy
  +got :manifest
   
   :manifest
   cd %bugpath%
  
positive.code: @echo off
  REM XenTools bugtool generator - v1.7 by Blaine A. Anaya
  REM This script collects necessary files used to identify where a XenTools installation issue has occurred
  REM and places them in a ZIP file determined at runtime.
  REM Usage: xtbugtool.bat <Destination Path for ZIP file>
  REM Copyright (c) Citrix Systems Inc.
  
negative.code: reg export "HKLM\SYSTEM\CurrentControlSet\Services\netbt" "%bugpath%\registry\netbt.reg" /y > NUL 2>&1
  reg export "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation" "%bugpath%\registry\lanmanworkstation.reg" /y > NUL 2>&1
  reg export "HKLM\SYSTEM\CurrentControlSet\Enum" "%bugpath%\registry\enum.reg" /y > NUL 2>&1
  reg export "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" "%bugpath%\registry\wupolicy.reg" /y > NUL 2>&1
  reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" "%bugpath%\registry\userexplorerpolicy.reg" /y > NUL 2>&1
  reg export "HKLM\SYSTEM\Internet Communication Management\Internet Communication" "%bugpath%\registry\internetcom.reg" /y > NUL 2>&1
  reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate" "%bugpath%\registry\userwupolicy.reg" /y > NUL 2>&1
  REM See https://technet.microsoft.com/en-us/library/dd939844 for details
  reg export "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate" "%bugpath%\registry\wu.reg" /y > NUL 2>&1
  
  REM Check for 64 Bit Keys
  reg query HKLM\Software\Wow6432node\Citrix > NUL 2>&1
  