After users rename a computer, “OPC UA Local Discovery Server” (also known as “LDS”) stops working correctly. To repair this situation, follow procedure below:

  • Stop all OPC UA servers
  • Stop Service “UALDS”, which is also called “OPC UA Local Discovery Server”, with process name of “OpcUaLds.exe”
  • Delete folder “C:\ProgramData\OPC Foundation\UA\pki” and its contents
  • Start Service “UALDS”, which is also called “OPC UA Local Discovery Server”, with process name of “OpcUaLds.exe”
  • Start all OPC UA servers

LDS will begin working again. If LDS does not show OPC UA servers in the list, users may need to do any the following:

  • Instruct specific OPC UA servers to register themselves with LDS
  • Let above servers know about the new certificate from LDS, which is in file “C:\ProgramData\OPC Foundation\UA\pki\own\certs\ualdscert.der”
  • Manually move OPC servers certificates from folder “C:\ProgramData\OPC Foundation\UA\pki\rejected” to folder “C:\ProgramData\OPC Foundation\UA\pki\trusted”
  • Restart OPC UA server

Users can use OPC Expert to find and test “OPC UA Local Discovery Server”.