Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×


  • Content Count

  • Joined

  • Last visited

  • Donations


Community Reputation

0 Neutral

About Vespian

Profile Information

  • OS
    Windows 7 x64
  1. Thank you both for your replies they have been very helpful. @Yzowl We only have 1 version which is why wanting to just check for that one. The situation we are in is that we currently use Kaspersky AV but are moving to McAfee. All the PC's should have the McAfee agent on but they will be pointing to the wrong server so this needs to be reinstalled so pointing to the correct one. I'm wanting this batch to check if the correct version of McAfee is installed and if not install but if it is check which server it points to and if the wrong one reinstall itself so will be pointing to the correct
  2. Hi, I am hoping someone can help. I am currently writing a batch file that checks for a version of software in the registry then if the right version checks the server entry in the registry. I've managed to get the version of software part working thanks to this topic http://www.msfn.org/board/topic/113643-batch-file-that-check-version-in-registry/ and Wise Owl's advice in it but have become stuck. This is my script so far Set "key=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1FDB8EC6-BAF1-42F9-8E09-4D9AB369F1B5}"Reg query %key% /v DisplayVersion|Find ""
  • Create New...