DCOM Configuration Guide
DCOM Configuration Guide
Notices
The reproduction, transmission or use of this document or its contents is not permitted without express
written authority.
Information and specifications in this document are subject to change without notice.
While information in this document is well edited and checked, mistake or omission may exist. Please
don’t hesitate to contact SUPCON if you have any question about this document.
Please contact SUPCON via email "SMS@supcon.com" if you have any question.
Trademarks
Trademarks or marks SUPCON, SPlant, Webfield, ESP-iSYS, MultiF, InScan, SupField are all registered,
registering or using by Zhejiang SUPCON Technology Co., Ltd., which owns the properties of all trademarks or
marks above. Without the written authority from Zhejiang SUPCON Technology Co., Ltd, no individual or
company shall use any trademarks or marks above. We reserve the right to take legal action for any individual or
company using trademarks or marks above illegally.
Symbol Definition
WARNING: Indicates information that a potentially hazardous situation which, if not avoided, could
result in serious injury or death.
RISK OF ELECTRICAL SHOCK: Indicates information that Potential shock hazard where
HAZARDOUS LIVE voltages greater than 30V RMS, 42.4V peak, or 60V DC may be accessible.
Table of Contents
Section 1 Overview.......................................................................................................................1
Section 6 Revision......................................................................................................................26
DCOM Configuration Manual
DCOM Configuration
Section 1 Overview
OPC, as a universal industrial standard used wildly, is usually used for the inter-connection
between DCS and the process of the other system software. If OPC server and OPC client are not
running in the same computer, it needs to perform OPC remote connection and DCOM
configuration for both computers.
DCOM Configuration Manual
User should use “administrator” to login Windows on the computer which is as sever and
client. Only the administrator-level user could set user account and configure DCOM.
Communication between DCOM sever and DCOM client is well.(User can use the
command “ping”)
The account and password of current user on the server should accord with that on the
client. For example, if the account and password of computer running client software are
DcomUser and abc, the account and password of server software have to be DcomUser
and abc, too.
Attention:
Both the account and the password should be the same. And empty password is not
allowed.
DCOM Configuration Manual
For 32-bit operation system, input “DCOMCNFG” in “Run” dialog to configure DCOM.
For 64-bit operation system, input “mmc -32” in “Run” dialog, and add “Component
Services” in the window popped up to configure DCOM.
Operations in 64-bit windows 7 are same to operations in windows server 2008. For
detail, please refer to “1” in “4.4 Windows Server 2008 Standard 64-bit”.
Restart the computer after DCOM configuration completed. Server and client should login by the
same user name and password, and the password should not be null.
Press the keys “Win+R” on computer with OPC server to pop up the “Run” dialog. Input
“dcomcnfg” to enter into the “Component Services” interface, as shown in Figure 3-1.
DCOM Configuration Manual
Select [Component Services/ Computers/ My Computer] in Figure 3-1, right-click “My Computer”
and select “Properties”, and select “Default Properties” tab in the interface popped up. Settings for
items are shown in Figure 3-2.
DCOM Configuration Manual
Click buttons “Edit Limits” and “Edit Default” for both “Access Permissions” and “Launch and
Activation Permissions” panes, and add following users:
DCOM Configuration Manual
Everyone
Interactive
ANONYMOUSLOGIN
Administrator
Administrators
SYSTEM
Take settings for “Edit Default” of “Everyone” as an example, steps to add user are shown below:
Click “Edit Default” for “Access Permissions”, to pop up the interface in Figure 3-5.
Click “Add” and click “Advanced” in the interface popped up, and then click “Find Now”, select
“Everyone”, as shown in Figure 3-6.
DCOM Configuration Manual
Select “Everyone” and select “Allow” for both local and remote access, as shown in Figure 3-8.
The interface adding “Everyone” user permissions in “Launch and Activation Permission” is shown
DCOM Configuration Manual
in Figure 3-9.
Please make sure that the 6 user permissions added are selected as “Allow”.
Select [Component Services/ Computers/ My Computer/ DCOM Config/ OpcEnum], right-click and
select “Properties”, and select “General” tab. Change “Authentication Level” as “None”, as shown
in Figure 3-10.
DCOM Configuration Manual
Select “Security’ tab. Select “Customize” for 3 permissions, as shown in Figure 3-12. Click “Edit”
buttons one by one to add users “Everyone”, “Interactive”, “ANONYMOUS LOGIN”,
“Administrator”, “Administrators”, “SYSTEM”. All permissions are set as “Allow”. Operations steps
are shown from Figure 3-5 to Figure 3-9.
DCOM Configuration Manual
Select “Identity” and select “The interactive user”, as shown in Figure 3-14.
DCOM Configuration Manual
If the option “The interactive user” is disabled, execute cmd command in “Run” dialog. Open the
cmd interface and execute commands “opcenum /unregserver”, then execute commands
“opcenum /regserver” to enable “The interactive user”.
Double-click “Computer” icon on desktop to open its interface. Select [Organize/ Folder and
search options] to open the “Folder Options” interface. Select “View” tab, unselect “Use Sharing
Wizard (Recommended)”, as shown in Figure 3-16.
DCOM Configuration Manual
Select [Start/ Control Panel/ System and Security/ Administrative Tools/ Services] to open the
“Services” interface, as shown in Figure 3-17.
DCOM Configuration Manual
Double-click the item to pop up the dialog shown in Figure 3-19, click “Start” to start it.
DCOM Configuration Manual
Press the keys “Win+R” to pop up the “Run” dialog, input “secpol.msc” to enter into “Local Security
Policy” interface, as shown in Figure 3-20.
DCOM Configuration Manual
Set the “Security Setting” status of following items as shown in Figure 3-21.
Configure “Computer” properties: configuration method and contents are same with
server, please refer to 3.1.1.
Configure “OpcEnum” properties: configuration method and contents are same with
server, please refer to 3.1.1.
Configure folder options: configuration method and contents are same with server,
please refer to 3.1.2.
Configure system service: configuration method and contents are same with server,
DCOM Configuration Manual
Configure system security strategy: configuration method and contents are same with
server, please refer to 3.1.4.
DCOM Configuration Manual
4.1 Windows XP
Select [Start/ Run] and input “DCOMCNFG” to open the “Components Services”
interface.
Open “Computer” interface, select [Tools/ Folder Options]. Select “View” tab, unselect
“Use Simple File Sharing (Recommended)”.
Select [Start/ Settings/ Control Panel (Classical View)/ Administrative Tools/ Services].
Press the keys “Win+R” to pop up the “Run” dialog, input “secpol.msc” to enter into
“Local Security Policy” interface.
4.2 Windows 7
“Section 3 DCOM Configuration” describes how to configure DCOM taking the Window 7 OS as
example (including 32-bit OS and 64-bit OS).
Tip:
Only the start of “Component Services” is different between 64-bit window 7 and 32-bit
window 7, other operations are same.
Select [Start/ Run] and input “DCOMCNFG” to open the “Components Services”
interface.
Open “Computer” interface, select [Tools/ Folder Options]. Select “View” tab, unselect
“Use Simple File Sharing (Recommended)”.
Select [Start/ Settings/ Control Panel (Classical View)/ Administrative Tools/ Services].
Press the keys “Win+R” to pop up the “Run” dialog, input “secpol.msc” to enter into
“Local Security Policy” interface.
Select [Start/ Run] and input “mmc -32” to open the “Console Root” interface, as shown
in Figure 4-1.
Click [File/ Add/Remove Snap-in…] to open the following window, as shown in Figure
4-2.
DCOM Configuration Manual
Select “Component Services” in “Available snap-ins” pane, then click “Add” and “OK” to
add component services to console root, as shown in Figure 4-3. Configure DCOM as
below for the component service added.
Open “Computer” interface, select [Start/ Computer/ Organize/ Folder and search
options]. Select “View” tab, unselect “Use Sharing Wizard (Recommended)”.
DCOM Configuration Manual
Select [Start/ Control Panel/ System and Security/ Administrative Tools/ Services].
Press the keys “Win+R” to pop up the “Run” dialog, input “secpol.msc” to enter into
“Local Security Policy” interface.
4.5 Windows 10
For 32-bit operation system, input “DCOMCNFG” in “Run” dialog to configure DCOM.
For 64-bit operation system, input “mmc -32” in “Run” dialog, and add “Component
Services” in the window popped up to configure DCOM.
Operations in 64-bit windows 7 are same to operations in windows server 2008. For
detail, please refer to “1” in “4.4 Windows Server 2008 Standard 64-bit”.
Open “This PC” interface, select [View/ Options]. Select “View” tab, unselect “Use
Simple File Sharing (Recommended)”.
Right click “This PC” and select “Manage” in the right-click menu, pop up the “Computer
Management” interface, then select “Services” below “Services and Applications”, as
shown below.
DCOM Configuration Manual
Press the keys “Win+R” to pop up the “Run” dialog, input “secpol.msc” to enter into
“Local Security Policy” interface.
DCOM Configuration Manual
Section 6 Revision
Table 6-1 Retrofit list of the version
V2.1 (20161011) For OPC interconnection. Add setting steps of Windows 10 operation system.