Click or drag to resize

Preparing for test - computers configuration

Home
Prepraing for test - computers configuration

Create the same account: opc on both the computers with the same password: 123@opc

Configuration of DCOM and privileges

Pass to DCOM settings; do the following actions on both computers: Start Menu -> Run -> dcomcnfg. The following window should appear:

Component Services
Figure 1: Component Services

Click on “Component Services/Computers/My Computer”. On “My Computer”, press the right mouse button and select “Properties” (Figure 2).

Default Properties

Computer Default Properties
Figure 2: Computer Default Properties

Select “Enable Distributed COM on this computer”. Select Connect for “Default Authentication Level”, and Identify for “Default Impersonation Level”.

COM Security

Figure 3 “COM Security” is another important tab.

Computer Properties COM Security
Figure 3: Computer Properties COM Security

Select “Edit Limits” and “Edit Default” for Access Permissions (Figure 4):

Access Permission
Figure 4: Access Permission
  • add: Administrators, opc, System, or the user Everyone to “Groups or user names”

  • select Allow for each of the a/m users for “Local Access” and “Remote Access”

Select “Edit Limits” and “Edit Default” in Launch and Activation Permissions (Figure 5):

Launch Permission
Figure 5: Launch Permission
  • add: Administrators, opc, System, or the user Everyone to “Groups or user names”

  • select Allow for each of the a/m users for “Local Launch”, “Remote Launch”, “Local Activation”, “Remote Activation”

Other tabs

To be left unchanged. Finish the edition of properties with OK.

DCOM Config

Now return to the application main window. Click DCOM Config in “My Computer” subgroup. A list of components will appear in the right window. Select CAS CommServer OPC DA Server, click the right mouse button and select “Properties” (Figure 6 shows the selected object).

General
Figure 6: General

General

Select Default in the “Authentication Level” field.

Location

Select “Run Application on this Computer”.

Security

Select Use Default for “Launch and Activation Permissions”, “Access Permissions” and “Configuration Permissions”.

Endpoints

To be left unchanged.

Identity

Select “This user”, write down opc in the “user” field and 123@opc in the “Password” field.

Personification settings in the system

In Windows XP and Windows Vista make sure that „Use Simple File Sharing” is disabled – if it is enabled it makes that everyone is authenticated as a Guest. You can do it with the any of the following ways:

  1. Using folder options:

    • Doble click on „My Computer”

    • Select folder options from tools menu

    • Select view tab, find „Use Simple File Sharing (Recommended)” and make it unchecked

    Folder options
    Figure 7: Folder options
  2. Using local security options:

    • Launch Local Security Settings (Control Panel -> Administrative Tools -> Local Security Settings)

    • Select Local Policies -> Security Options

    • Double click on “Network Access: Sharing and security model on local accounts”

    • Select “Classical – local users authenticate as themselves” and click OK