I have created a VBS script that will read from the system registry a products version number.
The 1st part detects what operating system you are using 64bit or 32bit, then assigns the strings as needed.
the 2nd part reads the keys, then depending on the output, will output the different results.
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = “.”
Set objRegistry = GetObject(“winmgmts:” & strComputer & “rootdefault:StdRegProv”)Dim strComputer, objWMIService, colSettings, objProcessor
strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate,authenticationLevel=Pkt}!” _
& strComputer & “rootcimv2”)Set colSettings = objWMIService.ExecQuery _
(“SELECT * FROM Win32_Processor”)For Each objProcessor In colSettings
‘Wscript.Echo “System Type: ” & objProcessor.Architecture
‘Wscript.Echo “Processor: ” & objProcessor.Description‘ 9 is x64 Opperating system
if (objProcessor.Architecture) = “9” then
strKeyPath = “SOFTWAREWow6432NodeCortex I.TBackupAssistv5”Else
strKeyPath = “SOFTWARECortex I.TBackupAssistv5”
end if
next
strValueName = “Version”
objRegistry.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValueIf IsNull(dwValue) Then
Wscript.Echo “Cant find BackupAssist”
WScript.Quit(1)elseIf (dwValue) >= “5.4.3” Then
Wscript.Echo “Upgrade not required (” & dwValue & “)”
WScript.Quit(0)elseIf (dwValue) <= “5.4.2” Then
Wscript.Echo “Upgrade Requied (” & dwValue & “) Version 5.4.3 required”
WScript.Quit(1)Else
Wscript.Echo “BackupAssist not found (” & dwValue & “) Version 5.4.2 required”
WScript.Quit(1)
End if
You can edit the paths, and the versions to suit any product you want, simply change the areas in red to suit your products. I use the exit codes to create errors in GFIMax
« Hyper-V Child VM loses network connection Trend WFBS version check »
Is this necessary for the latest GFI Max dashboard and latest version of backup assist v6?
For some reason GFI dashboard is not monitoring backup assist properly on 2003 servers but it is on 2008 systems
thanks
Jason
Is this necessary for the latest GFI Max dashboard and latest version of backup assist v6?
For some reason GFI dashboard is not monitoring backup assist properly on 2003 servers but it is on 2008 systems
Please notify me of future comments
thanks
Jason
Jason,
This is ONLY to see what version of BackupAssist you have installed. The latest changes in GFI do allow for BackupAssist as a backup vendor.
We found that most of our backups reporting as failed was due to them still running after 6am. The DSC does its upload, and it cant find the jobs, so it fails.