Check version of Lotus remotely on 1000 PC

Hello, please help check version of Lotus remotely on 1000+ PCs and define multi user or single user version installed on PC. PC placed on local network, what methods exist?

Subject: email the users a button agent?

This may not be considered to be pretty by some, but there are times that I’ve just simply mailed out a quick and dirty Button agent to users for them to click & send a report back to me.

I realize that for 1000 PCS this may not be practical, but here’s some sample code anyway.

Build & NotesVersion will tell you the Release, and the Data Directory & Notes Install Directory are coming from the users’ Notes.ini.

Sample button agent code:

Sub Click(Source As Button)

Dim s As New NotesSession
Dim MailLog As NotesLog
Dim MailTo As String
Dim CompNm As String
Dim Build As String
Dim NotesVer As String
Dim dataDir As String
Dim pgmDir As String
Dim uName As New NotesName(s.UserName)

On Error Resume Next

MailTo = “”

'Get User’s Environment:
CompNm = Environ(“ComputerName”)
Build = s.NotesBuildVersion
NotesVer = s.NotesVersion
dataDir = s.GetEnvironmentString(“Directory” , True)
pgmDir = s.GetEnvironmentString(“NotesProgram” , True)

Set MailLog = New NotesLog( "‘Report Client Type’ agent for " & uName.Abbreviated )
Call MailLog.OpenMailLog ( MailTo , "‘Report Client Type’ agent for " & uName.Abbreviated )
Call MailLog.LogAction( " " )
Call MailLog.LogAction( “‘Report Client Type’ agent started…” )
Call MailLog.LogAction( " " )
Call MailLog.LogAction( "Computer: " + CompNm )
Call MailLog.LogAction( "Notes version: " + NotesVer + ", " + Build )
Call MailLog.LogAction( " " )
Call MailLog.LogAction( "Directory: " + dataDir )
Call MailLog.LogAction( "Notes Pgm Dir: " + pgmDir )
Call MailLog.LogAction( " " )

Call MailLog.Close
End Sub

Results:

09/01/2016 10:51:24 starting
09/01/2016 10:51:24
09/01/2016 10:51:24 ‘Report Client Type’ agent started…
09/01/2016 10:51:24
09/01/2016 10:51:24 Computer: LAGPC655
09/01/2016 10:51:24 Notes version: Release 9.0.1FP6|April 21, 2016, 405
09/01/2016 10:51:24
09/01/2016 10:51:24 Directory: c:\Program Files (x86)\IBM\Notes\Data
09/01/2016 10:51:24 Notes Pgm Dir: C:\Program Files (x86)\IBM\Notes
09/01/2016 10:51:24

I usually set my Admin User ID as the recipient for these types of agents, so as not to clutter up my own inbox, and set a rule to move them to a different folder.

Subject: Checking the version of the Notes client

In the user’s Notes.INI, there should be something like this: FaultRecovery_Build=Release 9.0.1FP6. This would mean that FP6 for 9.0.1 has been installed.

If these PCs are all Windows, then there will be a Windows Registry key indicating whether the local Notes client installation is a multi-use install. The key on Windows 7 is found under HKEY_CURRENT_USER\Software\IBM\Notes\Installer. The key is MUIPackEnabled. PCs with a multi-user install will have the value of Yes for MUIPackEnabled. Single user installs will have the value of No for MUIPackEnabled. There may also be a Notes.INI variable such as MultiUser=1 if multi user is enabled.

Were you asking about determining whether Notes is run from the network vs. local? If so, then query the Notes.INI for the value shown for Directory=. You could also get this from the Registry of Windows PCs by checking the DATADIR key under HKEY_CURRENT_USER\Software\IBM\Notes\Installer (again, my example is from Windows 7, and I have not checked what this would be under Windows 10).

The People > by Client Version view in the Domino Directory will show you up to 10 of the Notes client/machine name/OS release combinations. The problem with querying this is that there may be no information for some users, and you would have to parse the values in the ClntBld field to find the latest Notes client version mentioned. This, of course, may not be the version that the user is currently running (for example, the entry with the highest fix pack may represent a Citrix session or a loaner laptop rather than the PC they use on a daily basis).