|
|
Windows 7 Configuration for OPC Section
How to configure Windows 7 Professional for use with OPC (client side)
1 - On the client host, create a user accout with the same name and password of user account which starts OPC server on server host
2 - Run cmd from start menu with Ctrl+Shift+Enter
2.1 - In the Administrator console window run intall.bat included in the file - distrib_opc.zip
3 - DCOM Configuration
3-1. Click Start -> Run
3-2. Enter DCOMCNFG and press OK. This will open the DCOMCNFG window.
3-3. Browse down the tree to Console Root -> Component Services -> Computers -> My Computer
3-4. Right click on "My Computer" and select properties
3-5. Select the "Default Properties" tab
a. Enable Distributed COM on this computer - Option is checked
b. Default Authentication Level - Set to Connect
c. Default Impersonation Level - Set to Identify
3-6. Select the "COM Security" tab
3-7. Click on Access Permissions Edit Default button
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
3-8. Click on Access Permissions Edit Limits button
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
3-9. Click on Launch and Activation Permissions Edit Default button
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
3-10. Click on Launch and Activation Permissions Edit Limits button
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
3-11. Click on Apply and OK button
3-12. Close the DCOMCNFG window
4 - Adjust Local Security Policy settings:
Start ->Control Panel\System and Security\Administrative Tools->Local Security Policy
Navigate to Security Settings\Local Policies\Security Options
"Network Access: Sharing and security model for local accounts" The Security Setting should be set
to "Classic - local users authenticate as themselves," not "Guest Only - local users authenticate as guest."
Network Access: Let everyone permissions apply to anonymous users - Set to Enabled
DCOM: Machine Access Restrictions - Add Anonymous, Everyone, Interactive, Network, System with full rights options set.
DCOM: Machine Lauch Restrictions - Add Anonymous, Everyone, Interactive, Network, System with full rights options set.
5 - Last but not least, do not forget to set the Windows Firewall accordindly, to let the DCOM to work.
|
|
|