Location of 'serverkey' on Windows client?


I may wish to change our ServerKey from time to time. Ideally I’d like to be able to run a script on the Windows clients that updates it (as opposed to connecting to each system and doing it through the UI).

  1. Is this possible? Or does the UI encrypt it somehow?
  2. If it is possible, where is it stored? (I swear I looked all over for it before asking…!)


The server key of a CMS to which Windows client is currently connected to is in…Xibo client config.xml

You can find it in the following path:

there you will find (among other settings) the <ServerKey> </ServerKey> line

1 Like

I have used a VBScript to modify this file in the past. Here is what I have used.

Set WshShell = CreateObject(“WScript.Shell”)
Name = Mid(wshShell.ExpandEnvironmentStrings( “%COMPUTERNAME%” ),3,5)

Set fso = CreateObject(“Scripting.FileSystemObject”)
set logFile = fso.OpenTextFile(“C:\Documents and Settings\USERNAME\Application Data\XiboClient.config.xml”,1,False)
set logFile2 = fso.OpenTextFile(“C:\Documents and Settings\USERNAME\Application Data\XiboClient.config.xml.bak”,2,True)

Do While logFile.AtEndOfStream <> True
theText = logFile.ReadLine
if(instr(theText," INSERT CURRENT VALUE HERE") > 0) then
logFile2.WriteLine theText
logFile2.WriteLine theText
end if


fso.CopyFile “C:\Documents and Settings\USERNAME\Application Data\XiboClient.config.xml.bak”,"C:\Documents and Settings\USERNAME\Application Data\XiboClient.config.xml"
fso.DeleteFile “C:\Documents and Settings\USERNAME\Application Data\XiboClient.config.xml.bak”

Just past that in a txt file and save as a .vbs file and then you can send it via sftp and execute it from a ssh script. I left the COMPUTERNAME part at the top, because I have used this to change the display name values, and its a nice way to set unique values per device. I understand your application of this script would all be the same value though, so you can remove that line if you don’t need it.

Hope this helps.


1 Like