|
|
Windows 7 Configuration for OPC Section
How to configure Windows 7 Professional for use with OPC
(server side)1 - On the server host, create a user
accout with name and password of user which
starts OPC server, and make logon in Windows as
this user
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.1 Click on Access Permissions
Edit Default button
a. Add "Anonymous", "Everyone",
"Interactive", "Network", "System" with Local and Remote
access permissions set.
3-7.2 Click on Access Permissions
Edit Limits button
a. Add "Anonymous", "Everyone",
"Interactive", "Network", "System" with Local and Remote
access permissions set.
3-8.1 Click on Launch and
Activation Permissions Edit Default button
a. Add
"Anonymous", "Everyone", "Interactive", "Network", "System"
with Local and Remote access permissions set.
3-8.2 Click on Launch and Activation Permissions Edit Limitis button
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System"
with Local and Remote access permissions set.
3-9.
Click on OK
3-10.Browse down the tree to Console Root
-> Component Services -> Computers -> My
Computer->DCOM Config
3-10.1 - OpcEnum.exe
configuration
Right click on OpcEnum Name and
select Properties
In Generale tab:
select for
"Authentication level" None
In Security tab,
set radio button Customize and press Edit, for
"Launch and Activation Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Security tab, set radio button
Customize and press Edit, for "Access Permissions":
add Anonymous, Everyone, Interactive,
Network, System with full rights options set
In
Security tab, set radio button Customize and press
Edit, for "Configuration Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Identity tab, set radio button
This user:
set the user account who makes the
Windows logon
In Location tab:
set the
check for "Run application on this computer"
3-10.2 - Your OPCServerDA.exe
configuration
Right click on Your OPCServerDA Name
and select Properties
In General tab:
select
for "Authentication Level" None
In Security
tab, set radio button Customize and press Edit, for
"Launch and Activation Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Security tab, set radio button
Customize and press Edit, for "Access permissions":
add Anonymous, Everyone, Interactive,
Network, System with full rights options set
In
Security tab, set radio button Customize and press
Edit, for "Configuration Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Identity Tab, set radio button
This user:
set the user account who makes the
Windows logon
In Location tab:
set the
check for "Run application on this computer"
3-10.3 - YourOPCServerAE.exe
configuration
Right click on YourOPCServerAE Name
and select Properties
In General tab:
select
for "Authentication Level" None
In Security
tab, set radio button Customize and press Edit, for
"Launch and Activation Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Security tab, set radio button
Customize and press Edit, for "Access Permissions":
add Anonymous, Everyone, Interactive,
Network, System with full rights options set
In
Security tab, set radio button Customize and press
Edit, for "Configuration Permissions":
add
Anonymous, Everyone, Interactive, Network, System with full
rights options set
In Identity Tab, set radio button
This user:
set the user account who makes the
Windows logon
In Location tab:
set the
check for "Run application on this computer"
3-11. 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.
|
|
|