Home › Technical Library › OPC DCOM
Communications
OPC DCOM errors on new Windows — step-by-step configuration
OPC Classic (OPC DA/HDA/A&E) runs on Windows COM/DCOM. After a Windows upgrade, a new PC, or a security patch, the OPC client often throws permission errors like 0x80070005 (Access Denied) or 0x800706BA (RPC server unavailable). This is almost always a DCOM + account + firewall issue, not a PLC fault.
Why it happens: Microsoft hardened DCOM security (especially the 2021–2022 patches raising the “authentication level”). Older OPC server and client do not match the new level → blocked.
Common causes
- Account mismatch — client and server run under different user/password, or different domain/workgroup.
- DCOM permissions — Launch/Activation and Access permission not granted to the user (or to ANONYMOUS LOGON when needed).
- Authentication level — the DCOM hardening patch forces “Packet Integrity”; older servers can't meet it.
- Firewall — blocks DCOM (port 135 + dynamic port range) between the two machines.
- Hostname / DNS — client points to the server by a name that can't be resolved.
OPC just dropped after a Windows upgrade?
Send: OPC server name (Kepware, RSLinx, Matrikon…), error code, which client. Get a fast fix direction.
Step-by-step fix
- Sync accounts Create the same user + password on both machines (or use a shared domain account). Run the OPC service under that account.
- Configure DCOM for the app Open
dcomcnfg→ Component Services → select the OPC server → Properties → grant Launch/Activation & Access permission to the user. - Match the authentication level In the Security/General tab, set an appropriate level; account for the DCOM hardening patch — adjust on both ends.
- Open the firewall Allow port
135(RPC) + the DCOM dynamic port range, or restrict the DCOM port range then open exactly that range. - OPCEnum Make sure the
OPCEnumservice runs on both machines (allows browsing servers over the network). - Consider a tunnel/UA Long term: use an OPC tunneller or move to OPC UA to escape DCOM entirely.
⚠️ Don't disable all DCOM security just to “make it work”. Grant least-privilege; for OT networks, segment by VLAN and control access.
When to call an expert
DCOM is a time-sink: one wrong permission blocks everything. If you keep adjusting without success, or don't want to dig into the Windows security of a running system, DeepDebug can handle it remotely — and advise a path off DCOM (tunnel or OPC UA) so it doesn't recur.
Send a fault — get a diagnosis
Fast remote, multi-vendor. Tough case unsolved → no fee.