Home FAQPricesIOServer Users
🔎

Running IOServer as a service in NT 4.0, 2000 or XP

User Privilege

When installing, registering, and using IOServer, the user must be at least a power user. It must be able to read and write to the HKEY_LOCAL_MACHINE\­SOFTWARE\­IOServer OPC Server in the registry. In 64 bits OS, the registry of 32 bits programs is mapped to "Wow6432Node" by Microsoft to HKEY_LOCAL_MACHINE\SOFTWARE\­Wow6432Node\­IOServer OPC Server. IOServer does not have and should not have control over Windows security measures.

Registering IOServer

Enter the licensing information in the dialog box at Help.About IOServer.Register

To Run IOServer as an Application

Register IOServer as an application by issuing the following command with administrator privileges
IOServer /RegServer

IOServer stores the last sixteen configurations used in the registry. The most recently used configuration is loaded when IOServer starts up.

Run IOServer by issuing the following command
IOServer [configuration file]

IOServer will use the "configuration file" instead if it is specified.

IOServer will run in all versions of Microsoft Windows from NT 4.0 to the latest version.

System Tray

Configuring IOServer to run minimized in a shortcut will minimize IOServer to the system tray on startup. The close button will minimize IOServer to the system tray. Clicking on the IOServer icon in the system tray will restore the IOServer user interface.

To Run IOServer as an NT Service

Before attempting to run IOServer as an NT Service, IOServer must be run as an application first with the desired configuration. Only the registered version of IOServer can be run as an NT service.

Register IOServer as an NT service by issuing the following command with administrator privileges
IOServer /service

After IOServer is registered as an NT Service, it can only be started and stopped with Start->Settings->Control Panel->Services->IOServer. Do not start IOServer by running IOServer.exe

Enable "Services.Log on.Log on as Local System Account.Allow service to interact with desktop" to show IOServer on the desktop. The user interface is not accessible when running IOServer as a service in Vista, Windows 7, 2008 / 8 or 2012.

To enable interactive services in Windows Server 2012. Set the following registry value from 1 to 0 and reboot.
HKEY_LOCAL_MACHINE\­SYSTEM\­CurrentControlSet\­Control\­Windows\­NoInteractiveServices

Before installing a new version of IOServer when IOServer is already running as a service, stop the IOServer service and set it to run as an application.

IOServer Start up and shutdown

If IOServer is started by an external OPC client, IOServer will automatically shutdown when the last external OPC client releases it.

If IOServer is started manually by a user, IOServer can only be shutdown manually by a user.

To Uninstall IOServer

Run
ioserver /UnRegServer
unwise.exe

Accessing IOServer from another machine

OpcEnum.exe needs to be running on the machine that is running IOServer. This program allows the remote OPC clients to access OPC Server that is running on the machine. You can obtain OPCEnum.exe from the OPC Foundation.

DCOM Properties of IOServer.exe

The "Interactive user" is the user that has control of the mouse and keyboard.
The "Launching user" is the user that launched the application.

It is best to use "interactive user" so that you don't have to use a password.

To remove all securities in DCOM Properties.COM Security create the user 'Everyone' on both machines
with local and remote access permissions in Edit Limits and Edit Default
with local and remote launch and activation permission in Edit Limits and Edit Default.

Please run the 32 version of dcomcnfg on 64 bit operating systems.
mmc comexp.msc /32

IOServer will register itself every time it is run.

We recommend OPC Expert for diagnosing DCOM problems.

Multiple instances of IOServer running on the same machine

At start up, when IOServer detects that another instance of IOServer is running, it will shut itself down.

This feature will not work if the second instance of IOServer is started by a user whose identity is different from that which starts the first instance of IOServer.

Make sure that all IOServer OPC clients are started by users with the same identity.

From Microsoft VISTA onward, the registry is virtualized. This means each user has their own registry. Each user that starts IOServer will use their registry (using different last configuration file or licensing information). Make sure IOServer are all started by the same user (e.g OPC clients, SCADA)

You can try stopping the OS from virtualizing the registry by setting the DWORD at HKEY_LOCAL_MACHINE\­SOFTWARE\­Microsoft\­Windows\­CurrentVersion\­Policies\­System\­EnableVirtualization to 0


© Copyright IOServer Pty Ltd. All rights reserved.
+61 2 9805 0356 (Australia)

Last updated: Thu, 16 Jun 2022 08:02:01 GMT