On a machine equipped with an OPC server. DCOM is configured as follows
1. Run the DCOMCNFG program on the server for DCOM configuration.
2. Go to the overall default properties page of DCOM and tick "enable distributed COM on this computer" to change the default identity level to "none".
3. Go to DCOM's overall default security page to confirm that default access and default boot permissions do not have everyone in the default values.
If you do not remove everyone, the application server does not start properly.
4. On the regular page, double-click your application server to open your Application Server DCOM property settings.
5. Change the authentication level in the General page to none.
6. On the Location page, select "Run application on this computer".
7. In the Security page settings, select Use custom Access, edit each permission, and add everyone to the user list.
8. In the Identity page, select Interactive User.
Note that the NT guest user cannot be disabled.
Second, the DCOM configuration on the client machine is as follows:
1 point "Start"-> "Run", enter "DCOMCNFG", then return, start DCOM configuration.
2. On the General page, double-click your application server to open your Application Server DCOM property settings.
3. Change the authentication level in the General page to none.
4. Identification page, select Interactive User.
5. Location page, select Run application on this computer.
Go to the overall default properties page of DCOM and tick "enable distributed COM on this computer" to change the default identity level to "none".
With both ends configured, the client machine can access the remote machine's opcserver.