远程访问OPC自动配置脚本(7)

发布时间:2021-06-07

远程访问OPC自动配置脚本,当OPC服务器与客户机不在同一台计算机时使用此设定。

echo 00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,\ >>opc.reg echo 05,20,00,00,00,20,02,00,00 >>opc.reg

echo "EnableDCOM"="Y" >>opc.reg

echo "DefaultAccessPermission"=hex:01,00,04,80,58,00,00,00,68,00,00,00,00,00,00,00,\ >>opc.reg echo 14,00,00,00,02,00,44,00,03,00,00,00,00,00,14,00,07,00,00,00,01,01,00,00,00,\ >>opc.reg echo 00,00,01,00,00,00,00,00,00,14,00,07,00,00,00,01,01,00,00,00,00,00,05,0a,00,\ >>opc.reg echo 00,00,00,00,14,00,07,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00,01,02,00,\ >>opc.reg echo 00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,\ >>opc.reg echo 20,02,00,00 >>opc.reg

echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\AppCompat] >>opc.reg

echo

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\AppCompat\ActivationSecurityCheckExemptionList] >>opc.reg

echo "{A50398B8-9075-4FBF-A7A1-456BF21937AD}"="1" >>opc.reg

echo "{AD65A69D-3831-40D7-9629-9B0B50A93843}"="1" >>opc.reg

echo "{0040D221-54A1-11D1-9DE0-006097042D69}"="1" >>opc.reg

echo "{2A6D72F1-6E7E-4702-B99C-E40D3DED33C3}"="1" >>opc.reg

echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Ole\NONREDIST] >>opc.reg

echo "System.EnterpriseServices.Thunk.dll"="" >>opc.reg

@regedit /s opc.reg

echo 2)配置本地计算机的安全策略及启用guest用户

@net user guest /ACTIVE:YES

echo [Unicode] >>opc.inf

echo Unicode=yes >>opc.inf

echo [Registry Values] >>opc.inf

echo MACHINE\System\CurrentControlSet\Control\Lsa\ForceGuest=4,1 >>opc.inf

echo [Privilege Rights] >>opc.inf

echo SeDenyNetworkLogonRight = >>opc.inf

echo [Version] >>opc.inf

echo signature="$CHICAGO$" >>opc.inf

echo Revision=1 >>opc.inf

@secedit /configure /db opc.sdb /cfg opc.inf /log opc.log /quiet

@gpupdate /force

@ping 127.0.0.1 -n 1 >nul

@secedit /configure /db opc.sdb /cfg opc.inf /log opc.log /quiet

@gpupdate /force

远程访问OPC自动配置脚本(7).doc 将本文的Word文档下载到电脑

精彩图片

热门精选

大家正在看

× 游客快捷下载通道(下载后可以自由复制和排版)

限时特价:7 元/份 原价:20元

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219